File size: 4,146 Bytes
083161b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Googly Moogly - Search Engine</title>
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="components/navbar.js"></script>
    <script src="components/footer.js"></script>
</head>
<body class="bg-gray-50 min-h-screen flex flex-col">
    <custom-navbar></custom-navbar>

    <main class="flex-grow flex flex-col items-center justify-center px-4 sm:px-6 lg:px-8">
        <div class="w-full max-w-md space-y-8">
            <div class="text-center">
                <div class="flex justify-center mb-6">
                    <span class="text-5xl font-bold text-blue-500">G</span>
                    <span class="text-5xl font-bold text-red-500">o</span>
                    <span class="text-5xl font-bold text-yellow-500">o</span>
                    <span class="text-5xl font-bold text-blue-500">g</span>
                    <span class="text-5xl font-bold text-green-500">l</span>
                    <span class="text-5xl font-bold text-red-500">y</span>
                </div>
                <h2 class="mt-6 text-3xl font-extrabold text-gray-900">
                    Moogly Search
                </h2>
            </div>
            
            <form class="mt-8 space-y-6" id="searchForm">
                <div class="rounded-md shadow-sm -space-y-px">
                    <div class="relative">
                        <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
                            <i data-feather="search" class="text-gray-400"></i>
                        </div>
                        <input 
                            id="searchInput" 
                            name="search" 
                            type="text" 
                            required 
                            class="appearance-none rounded-full relative block w-full px-12 py-4 border border-gray-300 placeholder-gray-500 text-gray-900 focus:outline-none focus:ring-blue-500 focus:border-blue-500 focus:z-10 sm:text-sm"
                            placeholder="Search the moogly way...">
                    </div>
                </div>

                <div class="flex justify-center space-x-4 mt-6">
                    <button type="submit" class="group relative w-1/4 flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-blue-500 hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
                        Search
                    </button>
                    <button type="button" id="luckyBtn" class="group relative w-1/4 flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md text-gray-700 bg-gray-200 hover:bg-gray-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500">
                        I'm Feeling Moogly
                    </button>
                </div>
            </form>
        </div>

        <div id="searchResults" class="mt-12 w-full max-w-4xl hidden">
            <div class="bg-white shadow rounded-lg overflow-hidden">
                <div class="px-6 py-4">
                    <div class="flex items-center mb-4">
                        <i data-feather="search" class="text-gray-400 mr-2"></i>
                        <h3 class="text-lg font-medium text-gray-900">Search Results</h3>
                    </div>
                    <div id="resultsList" class="space-y-4">
                        <!-- Results will be populated here -->
                    </div>
                </div>
            </div>
        </div>
    </main>

    <custom-footer></custom-footer>

    <script src="script.js"></script>
    <script>
        feather.replace();
    </script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>