Skip to content

Commit af47f39

Browse files
committed
chore: wip
1 parent 1560380 commit af47f39

File tree

1 file changed

+33
-29
lines changed

1 file changed

+33
-29
lines changed

resources/views/projects/index.vue

Lines changed: 33 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ useHead({
130130
# Projects
131131
</h1>
132132

133+
<p class="mb-14">
134+
Here are some of the projects I've worked on.
135+
</p>
136+
133137
<!-- Overview -->
134138
<div class="space-y-12 mb-16">
135139
<div>
@@ -142,8 +146,8 @@ useHead({
142146
</p>
143147

144148
<div class="mb-8 space-y-2 pl-4">
145-
<div v-for="(feature, index) in featureList" :key="index" class="flex items-baseline py-2">
146-
<span :class="isDarkMode ? 'text-gray-400' : 'text-gray-600'" class="mr-2"></span>
149+
<div v-for="(feature, index) in featureList" :key="index" class="flex items-baseline py-1">
150+
<span :class="isDarkMode ? 'text-gray-400' : 'text-gray-600'" class="mr-2"></span>
147151
<span>{{ feature }}</span>
148152
</div>
149153
</div>
@@ -183,38 +187,38 @@ useHead({
183187
</div>
184188
</div>
185189

186-
<!-- Tag Cloud -->
187-
<div class="mb-10">
188-
<h2 class="text-lg font-bold mb-4 font-mono">Filter by Tag:</h2>
189-
<div class="flex flex-wrap gap-2 mb-4">
190-
<button @click="selectedTag = ''"
191-
class="px-3 py-1 rounded-full text-sm font-medium transition-colors duration-200"
192-
:class="!selectedTag ?
193-
(isDarkMode ? 'bg-gray-600 text-white' : 'bg-gray-700 text-white') :
194-
(isDarkMode ? 'bg-gray-800 text-gray-300 hover:bg-gray-700' : 'bg-gray-200 text-gray-700 hover:bg-gray-300')">
195-
All
196-
</button>
197-
<button v-for="tag in allTags" :key="tag" @click="selectedTag = tag"
198-
class="px-3 py-1 rounded-full text-sm font-medium transition-colors duration-200"
199-
:class="selectedTag === tag ?
200-
(isDarkMode ? 'bg-gray-600 text-white' : 'bg-gray-700 text-white') :
201-
(isDarkMode ? 'bg-gray-800 text-gray-300 hover:bg-gray-700' : 'bg-gray-200 text-gray-700 hover:bg-gray-300')">
202-
{{ tag }}
203-
</button>
204-
</div>
205-
<div v-if="selectedTag" class="mb-6">
206-
<button @click="selectedTag = ''" class="text-sm flex items-center"
207-
:class="isDarkMode ? 'text-gray-400 hover:text-gray-300' : 'text-gray-600 hover:text-gray-800'">
208-
<span class="mr-1">×</span> Clear filter "{{ selectedTag }}"
209-
</button>
210-
</div>
211-
</div>
212-
213190
<!-- All Projects -->
214191
<div class="space-y-12">
215192
<!-- Projects List -->
216193
<h2 class="text-2xl font-bold mb-6 font-mono">## All Projects</h2>
217194

195+
<!-- Tag Cloud -->
196+
<div class="mb-10">
197+
<h2 class="text-lg font-bold mb-4 font-mono">Filter by Tag:</h2>
198+
<div class="flex flex-wrap gap-2 mb-4">
199+
<button @click="selectedTag = ''"
200+
class="px-3 py-1 rounded-full text-sm font-medium transition-colors duration-200"
201+
:class="!selectedTag ?
202+
(isDarkMode ? 'bg-gray-600 text-white' : 'bg-gray-700 text-white') :
203+
(isDarkMode ? 'bg-gray-800 text-gray-300 hover:bg-gray-700' : 'bg-gray-200 text-gray-700 hover:bg-gray-300')">
204+
All
205+
</button>
206+
<button v-for="tag in allTags" :key="tag" @click="selectedTag = selectedTag === tag ? '' : tag"
207+
class="px-3 py-1 rounded-full text-sm font-medium transition-colors duration-200"
208+
:class="selectedTag === tag ?
209+
(isDarkMode ? 'bg-gray-600 text-white' : 'bg-gray-700 text-white') :
210+
(isDarkMode ? 'bg-gray-800 text-gray-300 hover:bg-gray-700' : 'bg-gray-200 text-gray-700 hover:bg-gray-300')">
211+
{{ tag }}
212+
</button>
213+
</div>
214+
<div v-if="selectedTag" class="mb-6">
215+
<button @click="selectedTag = ''" class="text-sm flex items-center"
216+
:class="isDarkMode ? 'text-gray-400 hover:text-gray-300' : 'text-gray-600 hover:text-gray-800'">
217+
<span class="mr-1">×</span> Clear filter "{{ selectedTag }}"
218+
</button>
219+
</div>
220+
</div>
221+
218222
<div v-if="filteredProjects.length === 0" class="py-8 text-center">
219223
<p>No projects match the selected tag.</p>
220224
</div>

0 commit comments

Comments
 (0)