sdama commited on
Commit
d8ea51e
·
verified ·
1 Parent(s): 2679945

let's strip this back a lot. all i need is the featured projects section - no landing blurb, no links, no newsletter signup, not even a title.

Browse files
Files changed (1) hide show
  1. index.html +4 -86
index.html CHANGED
@@ -44,29 +44,11 @@
44
  </div>
45
  </div>
46
  </nav>
47
-
48
- <!-- Hero Section -->
49
- <section class="min-h-screen flex items-center justify-center relative overflow-hidden">
50
- <div id="vanta-bg" class="absolute inset-0 z-0"></div>
51
- <div class="container mx-auto px-6 text-center z-10">
52
- <h1 class="text-5xl md:text-7xl font-bold mb-6 bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">Crafting Digital Dreams</h1>
53
- <p class="text-xl md:text-2xl text-gray-300 mb-8 max-w-3xl mx-auto">Transforming ideas into interactive experiences through code, creativity, and cutting-edge technology.</p>
54
- <div class="flex flex-col sm:flex-row gap-4 justify-center">
55
- <a href="projects.html" class="bg-primary hover:bg-primary/90 text-white px-8 py-3 rounded-lg font-semibold transition-all transform hover:scale-105">Explore Projects</a>
56
- <a href="contact.html" class="border border-secondary text-secondary hover:bg-secondary/10 px-8 py-3 rounded-lg font-semibold transition-all">Get In Touch</a>
57
- </div>
58
- </div>
59
- <div class="absolute bottom-10 left-1/2 transform -translate-x-1/2 animate-bounce">
60
- <i data-feather="chevron-down" class="text-gray-400"></i>
61
- </div>
62
- </section>
63
-
64
- <!-- Featured Projects Preview -->
65
- <section class="py-20 bg-gray-800/50">
66
  <div class="container mx-auto px-6">
67
- <h2 class="text-3xl md:text-4xl font-bold text-center mb-12">Featured Projects</h2>
68
  <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
69
- <!-- Project Card 1 -->
70
  <div class="bg-gray-800 rounded-xl p-6 hover:transform hover:scale-105 transition-all duration-300 border border-gray-700 hover:border-primary/50">
71
  <div class="w-full h-48 bg-gradient-to-br from-primary/20 to-secondary/20 rounded-lg mb-4 flex items-center justify-center">
72
  <i data-feather="code" class="text-6xl text-primary"></i>
@@ -117,75 +99,11 @@
117
  </a>
118
  </div>
119
  </div>
120
- <div class="text-center mt-12">
121
- <a href="projects.html" class="inline-flex items-center gap-2 bg-secondary hover:bg-secondary/90 text-gray-900 px-6 py-3 rounded-lg font-semibold transition-all">
122
- View All Projects <i data-feather="arrow-right" class="w-4 h-4"></i>
123
- </a>
124
- </div>
125
  </div>
126
  </section>
127
-
128
- <!-- Footer -->
129
- <footer class="bg-gray-800 border-t border-gray-700 py-12">
130
- <div class="container mx-auto px-6">
131
- <div class="grid md:grid-cols-4 gap-8">
132
- <div>
133
- <h3 class="text-xl font-bold mb-4 bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">CodeCraft.dev</h3>
134
- <p class="text-gray-400">Building the future one line of code at a time.</p>
135
- </div>
136
- <div>
137
- <h4 class="font-semibold mb-4">Quick Links</h4>
138
- <ul class="space-y-2 text-gray-400">
139
- <li><a href="index.html" class="hover:text-primary transition-colors">Home</a></li>
140
- <li><a href="about.html" class="hover:text-primary transition-colors">About</a></li>
141
- <li><a href="projects.html" class="hover:text-primary transition-colors">Projects</a></li>
142
- <li><a href="contact.html" class="hover:text-primary transition-colors">Contact</a></li>
143
- </ul>
144
- </div>
145
- <div>
146
- <h4 class="font-semibold mb-4">Connect</h4>
147
- <div class="flex space-x-4">
148
- <a href="#" class="text-gray-400 hover:text-primary transition-colors"><i data-feather="github"></i></a>
149
- <a href="#" class="text-gray-400 hover:text-primary transition-colors"><i data-feather="linkedin"></i></a>
150
- <a href="#" class="text-gray-400 hover:text-primary transition-colors"><i data-feather="twitter"></i></a>
151
- <a href="#" class="text-gray-400 hover:text-primary transition-colors"><i data-feather="mail"></i></a>
152
- </div>
153
- </div>
154
- <div>
155
- <h4 class="font-semibold mb-4">Newsletter</h4>
156
- <div class="flex">
157
- <input type="email" placeholder="Your email" class="bg-gray-700 text-white px-4 py-2 rounded-l-lg focus:outline-none focus:ring-2 focus:ring-primary flex-1">
158
- <button class="bg-primary hover:bg-primary/90 px-4 py-2 rounded-r-lg transition-colors">
159
- <i data-feather="send" class="w-4 h-4"></i>
160
- </button>
161
- </div>
162
- </div>
163
- </div>
164
- <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
165
- <p>&copy; 2024 CodeCraft Portfolio. All rights reserved.</p>
166
- </div>
167
- </div>
168
- </footer>
169
-
170
  <script>
171
- // Vanta.js Background
172
- VANTA.NET({
173
- el: "#vanta-bg",
174
- mouseControls: true,
175
- touchControls: true,
176
- gyroControls: false,
177
- minHeight: 200.00,
178
- minWidth: 200.00,
179
- scale: 1.00,
180
- scaleMobile: 1.00,
181
- color: 0x8b5cf6,
182
- backgroundColor: 0x111827,
183
- points: 12.00,
184
- maxDistance: 25.00
185
- });
186
-
187
  // Theme Toggle
188
- const themeToggle = document.getElementById('themeToggle');
189
  const moonIcon = themeToggle.querySelector('feather[moon]');
190
  const sunIcon = themeToggle.querySelector('feather[sun]');
191
 
 
44
  </div>
45
  </div>
46
  </nav>
47
+ <!-- Featured Projects -->
48
+ <section class="min-h-screen py-20 bg-gray-900">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  <div class="container mx-auto px-6">
 
50
  <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
51
+ <!-- Project Card 1 -->
52
  <div class="bg-gray-800 rounded-xl p-6 hover:transform hover:scale-105 transition-all duration-300 border border-gray-700 hover:border-primary/50">
53
  <div class="w-full h-48 bg-gradient-to-br from-primary/20 to-secondary/20 rounded-lg mb-4 flex items-center justify-center">
54
  <i data-feather="code" class="text-6xl text-primary"></i>
 
99
  </a>
100
  </div>
101
  </div>
 
 
 
 
 
102
  </div>
103
  </section>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  <script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  // Theme Toggle
106
+ const themeToggle = document.getElementById('themeToggle');
107
  const moonIcon = themeToggle.querySelector('feather[moon]');
108
  const sunIcon = themeToggle.querySelector('feather[sun]');
109