Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit b5170d6

Browse files
refactor: use h2 tags for work preview headings
1 parent 6535229 commit b5170d6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/work/WorkPreview.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,12 @@
2828
</a>
2929
<div class="my-6 xl:px-6 xl:w-1/2">
3030
<a
31-
v-t="`work.projects.${slug}.title`"
3231
v-bind="bindUrl"
3332
target="_blank"
3433
rel="noopener"
35-
class="block text-rains no-underline text-center mx-6 mt-4 font-bold text-2xl hover:text-shadow-sm transition-all"
34+
class="block text-rains no-underline text-center mx-6 mt-4 hover:text-shadow-sm transition-all"
3635
@click="logClick('heading')"
37-
/>
36+
><h2 class="text-2xl font-bold" v-t="`work.projects.${slug}.title`" /></a>
3837
<!-- eslint-disable-next-line vue/no-v-html -->
3938
<p class="mt-2 p-6 py-8 md:py-6 text-justify my-16 md:my-0 md:px-16" v-html="$t(`work.projects.${slug}.shortDescription`)" />
4039
</div>

0 commit comments

Comments
 (0)