Team Ai
Apppublic

ctrlplus-zai/codecraft-macos-dark-suite

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
intro.php94 linesDownload Raw Back to root
1<!DOCTYPE html>2<html lang="en">3<head>4    <meta charset="UTF-8">5    <meta name="viewport" content="width=device-width, initial-scale=1.0">6    <title>Introduce Yourself</title>7    <script src="https://cdn.tailwindcss.com"></script>8    <link href="https://fonts.googleapis.com/css2?family=Cairo+Play:wght@400;700&family=Share+Tech+Mono&display=swap" rel="stylesheet">9    <style>10        body {11            font-family: 'Share Tech Mono', monospace;12            background-color: #121212;13            color: #e0e0e0;14        }15        .window {16            background-color: #1e1e1e;17            border-radius: 12px;18            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);19            border: 1px solid #333;20            max-width: 600px;21            margin: 2rem auto;22        }23        .window-header {24            background: linear-gradient(to bottom, #2d2d2d, #252525);25            border-top-left-radius: 12px;26            border-top-right-radius: 12px;27            padding: 8px 12px;28            border-bottom: 1px solid #333;29        }30    </style>31</head>32<body>33    <div class="window">34        <div class="window-header flex items-center justify-between">35            <div class="flex items-center space-x-2">36                <div class="w-3 h-3 rounded-full bg-red-500"></div>37                <div class="w-3 h-3 rounded-full bg-yellow-500"></div>38                <div class="w-3 h-3 rounded-full bg-green-500"></div>39            </div>40            <div class="text-xs" style="font-family: 'Cairo Play', sans-serif;">Introduce Yourself</div>41            <div class="w-12"></div>42        </div>43        44        <div class="p-6">45            <h1 class="text-xl font-bold mb-4" style="font-family: 'Cairo Play', sans-serif;">Personal Introduction</h1>46            47            <div class="bg-gray-800 rounded-lg p-4 mb-6">48                <div class="flex items-center mb-3">49                    <div class="w-10 h-10 rounded-full bg-gray-700 flex items-center justify-center mr-3">50                        <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">51                            <path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path>52                            <circle cx="12" cy="7" r="4"></circle>53                        </svg>54                    </div>55                    <div>56                        <h3 class="font-medium">User Profile</h3>57                        <p class="text-xs text-gray-400">PHP Variables Demo</p>58                    </div>59                </div>60                61                <div class="pl-13">62                    <p class="text-gray-300 mb-2"><?php echo "Hi, I'm $name, I am $age years old, and my favorite color is $color."; ?></p>63                    64                    <div class="grid grid-cols-2 gap-2 mt-4 text-xs">65                        <div class="bg-gray-700 p-2 rounded">66                            <div class="text-gray-400">Name</div>67                            <div><?php echo $name; ?></div>68                        </div>69                        <div class="bg-gray-700 p-2 rounded">70                            <div class="text-gray-400">Age</div>71                            <div><?php echo $age; ?></div>72                        </div>73                        <div class="bg-gray-700 p-2 rounded col-span-2">74                            <div class="text-gray-400">Favorite Color</div>75                            <div><?php echo $color; ?></div>76                        </div>77                    </div>78                </div>79            </div>80            81            <div class="flex justify-between items-center border-t border-gray-700 pt-4">82                <a href="index.php" class="text-blue-400 hover:text-blue-300 text-sm flex items-center">83                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="mr-1">84                        <polyline points="15 18 9 12 15 6"></polyline>85                    </svg>86                    Back to Tasks87                </a>88                <div class="text-xs text-gray-500">Task 1 of 12</div>89            </div>90        </div>91    </div>92</body>93</html>94