Skip to content

Commit d29c5c8

Browse files
committed
feat: Performance improvements for ProjectList
1 parent c47b5a6 commit d29c5c8

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

app/components/ProjectList.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ $row-padding-h: 1rem;
296296
padding: 0;
297297
background: none;
298298
border: none;
299+
outline-offset: 0.25rem;
299300
300301
@media (min-width: $responsive-standard-tablet) { width: 11.125rem; height: 6.25rem; }
301302

app/pages/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<section id="projects" class="container projects">
5252
<h2 class="projects__heading">Projects</h2>
5353
<p class="projects__description container">A collection of personal experiments, projects, AI-assisted prototypes, and more.</p>
54-
<ProjectList class="projects__list" :limit="6" />
54+
<ProjectList class="projects__list" :limit="6" :heading-level="'h3'" />
5555
<nuxt-link to="/projects" class="projects__more link">
5656
Explore more projects
5757
<Icon v-once class="projects__more-icon" name="custom:arrow-right" mode="svg" />
@@ -61,7 +61,7 @@
6161
</template>
6262

6363
<script lang="ts" setup>
64-
import ProjectList from '@/components/ProjectList.server.vue'
64+
import ProjectList from '@/components/ProjectList.vue'
6565
import variables from '@/utilities/variables';
6666
6767
const config = useRuntimeConfig()

app/pages/projects.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</template>
1414

1515
<script lang="ts" setup>
16-
import ProjectList from '@/components/ProjectList.server.vue';
16+
import ProjectList from '@/components/ProjectList.vue';
1717
import variables from '@/utilities/variables';
1818
1919
const config = useRuntimeConfig()

0 commit comments

Comments
 (0)