Emily89 commited on
Commit
93de247
·
verified ·
1 Parent(s): 82c4860

ok it's still a bit too soft and symmetrical. and can the different pictures lead the user to albums with photos?

Browse files
Files changed (4) hide show
  1. components/sidebar.js +7 -4
  2. index.html +13 -18
  3. nature.html +42 -0
  4. urban.html +42 -0
components/sidebar.js CHANGED
@@ -44,12 +44,15 @@ class CustomSidebar extends HTMLElement {
44
  <nav>
45
  <ul>
46
  <li><a href="/">Home</a></li>
47
- <li><a href="#">Portfolio</a></li>
48
- <li><a href="#">About</a></li>
49
- <li><a href="#">Contact</a></li>
 
 
 
50
  </ul>
51
  </nav>
52
- `;
53
  }
54
  }
55
  customElements.define('custom-sidebar', CustomSidebar);
 
44
  <nav>
45
  <ul>
46
  <li><a href="/">Home</a></li>
47
+ <li><a href="/nature.html">Nature</a></li>
48
+ <li><a href="/urban.html">Urban</a></li>
49
+ <li><a href="/travel.html">Travel</a></li>
50
+ <li><a href="/portraits.html">Portraits</a></li>
51
+ <li><a href="/aerial.html">Aerial</a></li>
52
+ <li><a href="/minimal.html">Minimal</a></li>
53
  </ul>
54
  </nav>
55
+ `;
56
  }
57
  }
58
  customElements.define('custom-sidebar', CustomSidebar);
index.html CHANGED
@@ -55,7 +55,7 @@
55
  </div>
56
  <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
57
  <!-- Photo Gallery Items -->
58
- <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
59
  <img src="http://static.photos/nature/640x360/1" alt="Nature Photography" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
60
  <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-500 flex items-end p-6">
61
  <div>
@@ -63,9 +63,8 @@
63
  <p class="text-gray-300">Nature • 2023</p>
64
  </div>
65
  </div>
66
- </div>
67
-
68
- <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
69
  <img src="http://static.photos/cityscape/640x360/2" alt="Urban Photography" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
70
  <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-500 flex items-end p-6">
71
  <div>
@@ -73,9 +72,8 @@
73
  <p class="text-gray-300">City • 2023</p>
74
  </div>
75
  </div>
76
- </div>
77
-
78
- <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
79
  <img src="http://static.photos/travel/640x360/3" alt="Travel Photography" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
80
  <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-500 flex items-end p-6">
81
  <div>
@@ -83,9 +81,8 @@
83
  <p class="text-gray-300">Travel • 2023</p>
84
  </div>
85
  </div>
86
- </div>
87
-
88
- <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
89
  <img src="http://static.photos/people/640x360/4" alt="Portrait Photography" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
90
  <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-500 flex items-end p-6">
91
  <div>
@@ -93,9 +90,8 @@
93
  <p class="text-gray-300">Portrait • 2023</p>
94
  </div>
95
  </div>
96
- </div>
97
-
98
- <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
99
  <img src="http://static.photos/aerial/640x360/5" alt="Aerial Photography" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
100
  <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-500 flex items-end p-6">
101
  <div>
@@ -103,9 +99,8 @@
103
  <p class="text-gray-300">Aerial • 2023</p>
104
  </div>
105
  </div>
106
- </div>
107
-
108
- <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
109
  <img src="http://static.photos/minimal/640x360/6" alt="Minimal Photography" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
110
  <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-500 flex items-end p-6">
111
  <div>
@@ -113,8 +108,8 @@
113
  <p class="text-gray-300">Minimal • 2023</p>
114
  </div>
115
  </div>
116
- </div>
117
- </div>
118
  </section>
119
 
120
  <section class="py-12 border-t border-gray-800">
 
55
  </div>
56
  <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
57
  <!-- Photo Gallery Items -->
58
+ <a href="/nature.html" class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
59
  <img src="http://static.photos/nature/640x360/1" alt="Nature Photography" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
60
  <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-500 flex items-end p-6">
61
  <div>
 
63
  <p class="text-gray-300">Nature • 2023</p>
64
  </div>
65
  </div>
66
+ </a>
67
+ <a href="/urban.html" class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
 
68
  <img src="http://static.photos/cityscape/640x360/2" alt="Urban Photography" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
69
  <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-500 flex items-end p-6">
70
  <div>
 
72
  <p class="text-gray-300">City • 2023</p>
73
  </div>
74
  </div>
75
+ </a>
76
+ <a href="/travel.html" class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
 
77
  <img src="http://static.photos/travel/640x360/3" alt="Travel Photography" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
78
  <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-500 flex items-end p-6">
79
  <div>
 
81
  <p class="text-gray-300">Travel • 2023</p>
82
  </div>
83
  </div>
84
+ </a>
85
+ <a href="/portraits.html" class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
 
86
  <img src="http://static.photos/people/640x360/4" alt="Portrait Photography" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
87
  <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-500 flex items-end p-6">
88
  <div>
 
90
  <p class="text-gray-300">Portrait • 2023</p>
91
  </div>
92
  </div>
93
+ </a>
94
+ <a href="/aerial.html" class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
 
95
  <img src="http://static.photos/aerial/640x360/5" alt="Aerial Photography" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
96
  <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-500 flex items-end p-6">
97
  <div>
 
99
  <p class="text-gray-300">Aerial • 2023</p>
100
  </div>
101
  </div>
102
+ </a>
103
+ <a href="/minimal.html" class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
 
104
  <img src="http://static.photos/minimal/640x360/6" alt="Minimal Photography" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
105
  <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-500 flex items-end p-6">
106
  <div>
 
108
  <p class="text-gray-300">Minimal • 2023</p>
109
  </div>
110
  </div>
111
+ </a>
112
+ </div>
113
  </section>
114
 
115
  <section class="py-12 border-t border-gray-800">
nature.html ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="dark">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Nature | Pixel Pause</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ </head>
11
+ <body class="text-gray-100 min-h-screen">
12
+ <custom-sidebar></custom-sidebar>
13
+ <main class="ml-[220px] p-8">
14
+ <div class="max-w-6xl">
15
+ <h1 class="text-4xl mb-8">Nature Collection</h1>
16
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
17
+ <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
18
+ <img src="http://static.photos/nature/640x360/11" alt="Nature 1" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
19
+ </div>
20
+ <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
21
+ <img src="http://static.photos/nature/640x360/12" alt="Nature 2" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
22
+ </div>
23
+ <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
24
+ <img src="http://static.photos/nature/640x360/13" alt="Nature 3" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
25
+ </div>
26
+ <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
27
+ <img src="http://static.photos/nature/640x360/14" alt="Nature 4" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
28
+ </div>
29
+ <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
30
+ <img src="http://static.photos/nature/640x360/15" alt="Nature 5" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
31
+ </div>
32
+ <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
33
+ <img src="http://static.photos/nature/640x360/16" alt="Nature 6" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
34
+ </div>
35
+ </div>
36
+ </div>
37
+ </main>
38
+ <script src="components/sidebar.js"></script>
39
+ <script src="script.js"></script>
40
+ <script>feather.replace();</script>
41
+ </body>
42
+ </html>
urban.html ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="dark">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Urban | Pixel Pause</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ </head>
11
+ <body class="text-gray-100 min-h-screen">
12
+ <custom-sidebar></custom-sidebar>
13
+ <main class="ml-[220px] p-8">
14
+ <div class="max-w-6xl">
15
+ <h1 class="text-4xl mb-8">Urban Collection</h1>
16
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
17
+ <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
18
+ <img src="http://static.photos/cityscape/640x360/21" alt="Urban 1" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
19
+ </div>
20
+ <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
21
+ <img src="http://static.photos/cityscape/640x360/22" alt="Urban 2" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
22
+ </div>
23
+ <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
24
+ <img src="http://static.photos/cityscape/640x360/23" alt="Urban 3" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
25
+ </div>
26
+ <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
27
+ <img src="http://static.photos/cityscape/640x360/24" alt="Urban 4" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
28
+ </div>
29
+ <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
30
+ <img src="http://static.photos/cityscape/640x360/25" alt="Urban 5" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
31
+ </div>
32
+ <div class="group relative overflow-hidden rounded-lg shadow-xl transition-all duration-500 hover:shadow-2xl">
33
+ <img src="http://static.photos/cityscape/640x360/26" alt="Urban 6" class="w-full h-64 object-cover transform group-hover:scale-105 transition duration-500">
34
+ </div>
35
+ </div>
36
+ </div>
37
+ </main>
38
+ <script src="components/sidebar.js"></script>
39
+ <script src="script.js"></script>
40
+ <script>feather.replace();</script>
41
+ </body>
42
+ </html>