https://www.instagram.com/ - Initial Deployment
Browse files- README.md +7 -5
- index.html +214 -18
- prompts.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: instagram
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: green
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,215 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 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>Instagram</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<style>
|
| 11 |
+
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
|
| 12 |
+
body {
|
| 13 |
+
font-family: 'Roboto', sans-serif;
|
| 14 |
+
background-color: #fafafa;
|
| 15 |
+
}
|
| 16 |
+
.instagram-gradient {
|
| 17 |
+
background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
|
| 18 |
+
}
|
| 19 |
+
.story-ring {
|
| 20 |
+
background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
|
| 21 |
+
padding: 2px;
|
| 22 |
+
border-radius: 50%;
|
| 23 |
+
}
|
| 24 |
+
.post-shadow {
|
| 25 |
+
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
| 26 |
+
}
|
| 27 |
+
</style>
|
| 28 |
+
</head>
|
| 29 |
+
<body class="min-h-screen">
|
| 30 |
+
<!-- Header -->
|
| 31 |
+
<header class="sticky top-0 z-50 bg-white border-b border-gray-200">
|
| 32 |
+
<div class="max-w-5xl mx-auto px-4">
|
| 33 |
+
<div class="flex justify-between items-center h-14">
|
| 34 |
+
<!-- Logo -->
|
| 35 |
+
<div class="flex items-center">
|
| 36 |
+
<h1 class="text-xl font-semibold italic">Instagram</h1>
|
| 37 |
+
</div>
|
| 38 |
+
|
| 39 |
+
<!-- Search -->
|
| 40 |
+
<div class="hidden md:block relative mx-4 flex-1 max-w-xs">
|
| 41 |
+
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
|
| 42 |
+
<i data-feather="search" class="text-gray-400"></i>
|
| 43 |
+
</div>
|
| 44 |
+
<input type="text" class="block w-full pl-10 pr-3 py-1.5 bg-gray-50 rounded-md text-sm focus:outline-none focus:ring-1 focus:ring-gray-300" placeholder="Search">
|
| 45 |
+
</div>
|
| 46 |
+
|
| 47 |
+
<!-- Navigation -->
|
| 48 |
+
<nav class="flex items-center space-x-4">
|
| 49 |
+
<a href="#" class="p-2">
|
| 50 |
+
<i data-feather="home" class="w-6 h-6"></i>
|
| 51 |
+
</a>
|
| 52 |
+
<a href="#" class="p-2">
|
| 53 |
+
<i data-feather="message-square" class="w-6 h-6"></i>
|
| 54 |
+
</a>
|
| 55 |
+
<a href="#" class="p-2">
|
| 56 |
+
<i data-feather="plus-square" class="w-6 h-6"></i>
|
| 57 |
+
</a>
|
| 58 |
+
<a href="#" class="p-2">
|
| 59 |
+
<i data-feather="compass" class="w-6 h-6"></i>
|
| 60 |
+
</a>
|
| 61 |
+
<a href="#" class="p-2">
|
| 62 |
+
<i data-feather="heart" class="w-6 h-6"></i>
|
| 63 |
+
</a>
|
| 64 |
+
<a href="#" class="p-2">
|
| 65 |
+
<div class="w-6 h-6 rounded-full bg-gray-200 overflow-hidden">
|
| 66 |
+
<img src="http://static.photos/people/200x200/1" alt="Profile" class="w-full h-full object-cover">
|
| 67 |
+
</div>
|
| 68 |
+
</a>
|
| 69 |
+
</nav>
|
| 70 |
+
</div>
|
| 71 |
+
</div>
|
| 72 |
+
</header>
|
| 73 |
+
|
| 74 |
+
<main class="max-w-5xl mx-auto pb-16">
|
| 75 |
+
<!-- Stories -->
|
| 76 |
+
<div class="bg-white border-b border-gray-200 px-4 py-4 overflow-x-auto">
|
| 77 |
+
<div class="flex space-x-4">
|
| 78 |
+
<!-- Your Story -->
|
| 79 |
+
<div class="flex flex-col items-center space-y-1 flex-shrink-0">
|
| 80 |
+
<div class="story-ring">
|
| 81 |
+
<div class="bg-white p-0.5 rounded-full">
|
| 82 |
+
<div class="w-16 h-16 rounded-full overflow-hidden">
|
| 83 |
+
<img src="http://static.photos/people/200x200/1" alt="Your Story" class="w-full h-full object-cover">
|
| 84 |
+
</div>
|
| 85 |
+
</div>
|
| 86 |
+
</div>
|
| 87 |
+
<span class="text-xs truncate w-16 text-center">Your Story</span>
|
| 88 |
+
</div>
|
| 89 |
+
|
| 90 |
+
<!-- Other Stories -->
|
| 91 |
+
<template x-for="i in 10" :key="i">
|
| 92 |
+
<div class="flex flex-col items-center space-y-1 flex-shrink-0">
|
| 93 |
+
<div class="story-ring">
|
| 94 |
+
<div class="bg-white p-0.5 rounded-full">
|
| 95 |
+
<div class="w-16 h-16 rounded-full overflow-hidden">
|
| 96 |
+
<img :src="`http://static.photos/people/200x200/${i+1}`" :alt="`Story ${i}`" class="w-full h-full object-cover">
|
| 97 |
+
</div>
|
| 98 |
+
</div>
|
| 99 |
+
</div>
|
| 100 |
+
<span class="text-xs truncate w-16 text-center" x-text="`user_${i}`"></span>
|
| 101 |
+
</div>
|
| 102 |
+
</template>
|
| 103 |
+
</div>
|
| 104 |
+
</div>
|
| 105 |
+
|
| 106 |
+
<!-- Posts -->
|
| 107 |
+
<div class="space-y-6 mt-4">
|
| 108 |
+
<template x-for="i in 5" :key="i">
|
| 109 |
+
<div class="bg-white post-shadow rounded">
|
| 110 |
+
<!-- Post Header -->
|
| 111 |
+
<div class="flex items-center justify-between p-3">
|
| 112 |
+
<div class="flex items-center space-x-3">
|
| 113 |
+
<div class="w-8 h-8 rounded-full overflow-hidden">
|
| 114 |
+
<img :src="`http://static.photos/people/200x200/${i+2}`" :alt="`User ${i}`" class="w-full h-full object-cover">
|
| 115 |
+
</div>
|
| 116 |
+
<span class="font-semibold text-sm" x-text="`user_${i}`"></span>
|
| 117 |
+
</div>
|
| 118 |
+
<button>
|
| 119 |
+
<i data-feather="more-vertical" class="w-5 h-5"></i>
|
| 120 |
+
</button>
|
| 121 |
+
</div>
|
| 122 |
+
|
| 123 |
+
<!-- Post Image -->
|
| 124 |
+
<div class="w-full aspect-square bg-gray-100">
|
| 125 |
+
<img :src="`http://static.photos/travel/1200x630/${i}`" :alt="`Post ${i}`" class="w-full h-full object-cover">
|
| 126 |
+
</div>
|
| 127 |
+
|
| 128 |
+
<!-- Post Actions -->
|
| 129 |
+
<div class="p-3">
|
| 130 |
+
<div class="flex justify-between mb-2">
|
| 131 |
+
<div class="flex space-x-4">
|
| 132 |
+
<button>
|
| 133 |
+
<i data-feather="heart" class="w-6 h-6"></i>
|
| 134 |
+
</button>
|
| 135 |
+
<button>
|
| 136 |
+
<i data-feather="message-square" class="w-6 h-6"></i>
|
| 137 |
+
</button>
|
| 138 |
+
<button>
|
| 139 |
+
<i data-feather="send" class="w-6 h-6"></i>
|
| 140 |
+
</button>
|
| 141 |
+
</div>
|
| 142 |
+
<button>
|
| 143 |
+
<i data-feather="bookmark" class="w-6 h-6"></i>
|
| 144 |
+
</button>
|
| 145 |
+
</div>
|
| 146 |
+
|
| 147 |
+
<!-- Likes -->
|
| 148 |
+
<div class="mb-1">
|
| 149 |
+
<span class="font-semibold text-sm">1,234 likes</span>
|
| 150 |
+
</div>
|
| 151 |
+
|
| 152 |
+
<!-- Caption -->
|
| 153 |
+
<div class="mb-1">
|
| 154 |
+
<span class="font-semibold text-sm" x-text="`user_${i}`"></span>
|
| 155 |
+
<span class="text-sm"> This is a sample caption for post number <span x-text="i"></span>.</span>
|
| 156 |
+
</div>
|
| 157 |
+
|
| 158 |
+
<!-- Comments -->
|
| 159 |
+
<div class="text-gray-500 text-sm mb-1">
|
| 160 |
+
<span>View all 42 comments</span>
|
| 161 |
+
</div>
|
| 162 |
+
|
| 163 |
+
<!-- Time -->
|
| 164 |
+
<div class="text-gray-400 text-xs">
|
| 165 |
+
<span>2 HOURS AGO</span>
|
| 166 |
+
</div>
|
| 167 |
+
</div>
|
| 168 |
+
</div>
|
| 169 |
+
</template>
|
| 170 |
+
</div>
|
| 171 |
+
</main>
|
| 172 |
+
|
| 173 |
+
<!-- Bottom Navigation (Mobile) -->
|
| 174 |
+
<nav class="md:hidden fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200">
|
| 175 |
+
<div class="flex justify-around items-center h-14">
|
| 176 |
+
<a href="#" class="p-2">
|
| 177 |
+
<i data-feather="home" class="w-6 h-6"></i>
|
| 178 |
+
</a>
|
| 179 |
+
<a href="#" class="p-2">
|
| 180 |
+
<i data-feather="search" class="w-6 h-6"></i>
|
| 181 |
+
</a>
|
| 182 |
+
<a href="#" class="p-2">
|
| 183 |
+
<i data-feather="plus-square" class="w-6 h-6"></i>
|
| 184 |
+
</a>
|
| 185 |
+
<a href="#" class="p-2">
|
| 186 |
+
<i data-feather="heart" class="w-6 h-6"></i>
|
| 187 |
+
</a>
|
| 188 |
+
<a href="#" class="p-2">
|
| 189 |
+
<div class="w-6 h-6 rounded-full bg-gray-200 overflow-hidden">
|
| 190 |
+
<img src="http://static.photos/people/200x200/1" alt="Profile" class="w-full h-full object-cover">
|
| 191 |
+
</div>
|
| 192 |
+
</a>
|
| 193 |
+
</div>
|
| 194 |
+
</nav>
|
| 195 |
+
|
| 196 |
+
<script>
|
| 197 |
+
feather.replace();
|
| 198 |
+
document.addEventListener('alpine:init', () => {
|
| 199 |
+
Alpine.data('instagram', () => ({
|
| 200 |
+
posts: Array(5).fill().map((_, i) => ({
|
| 201 |
+
id: i,
|
| 202 |
+
username: `user_${i}`,
|
| 203 |
+
image: `http://static.photos/travel/1200x630/${i}`,
|
| 204 |
+
avatar: `http://static.photos/people/200x200/${i+2}`,
|
| 205 |
+
likes: Math.floor(Math.random() * 10000),
|
| 206 |
+
comments: Math.floor(Math.random() * 100),
|
| 207 |
+
caption: `This is a sample caption for post number ${i}.`,
|
| 208 |
+
time: `${Math.floor(Math.random() * 24)} HOURS AGO`
|
| 209 |
+
}))
|
| 210 |
+
}));
|
| 211 |
+
});
|
| 212 |
+
</script>
|
| 213 |
+
<script src="//unpkg.com/alpinejs" defer></script>
|
| 214 |
+
</body>
|
| 215 |
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
https://www.instagram.com/
|