Skip to content

Commit ec2ffe9

Browse files
refactor: rename ProjectsList to FeaturedProjects and move homepage content out of app.vue
1 parent c2ca6bf commit ec2ffe9

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

app.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
<div class="min-h-screen bg-white flex flex-col">
33
<SiteHeader />
44
<main class="flex-grow">
5-
<HomeHero />
6-
<ProjectsList />
7-
<GetInvolved />
5+
<NuxtPage />
86
</main>
97
<SiteFooter />
108
</div>
@@ -13,7 +11,5 @@
1311
<script setup>
1412
// Import components
1513
import SiteHeader from '~/components/SiteHeader.vue'
16-
import HomeHero from '~/components/HomeHero.vue'
17-
import GetInvolved from '~/components/GetInvolved.vue'
1814
import SiteFooter from '~/components/SiteFooter.vue'
1915
</script>

pages/index.vue

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<template>
2+
<div>
3+
<HomeHero />
4+
<FeaturedProjects />
5+
<GetInvolved />
6+
</div>
7+
</template>
8+
9+
<script setup>
10+
// Import components
11+
import HomeHero from '~/components/HomeHero.vue'
12+
import FeaturedProjects from '~/components/FeaturedProjects.vue'
13+
import GetInvolved from '~/components/GetInvolved.vue'
14+
</script>

0 commit comments

Comments
 (0)