Skip to content

Commit 1b71d32

Browse files
fix: remove style wrapper components
1 parent a213ffe commit 1b71d32

26 files changed

+93
-115
lines changed

components/AppCard.vue

Lines changed: 0 additions & 7 deletions
This file was deleted.

components/AppContainer.vue

Lines changed: 0 additions & 5 deletions
This file was deleted.

components/AppFooter.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const year = new Date().getFullYear()
1111

1212
<template>
1313
<footer class="py-8 bg-muted-100 dark:bg-muted-800">
14-
<AppContainer>
14+
<div class="app-container">
1515
<div
1616
class="w-full flex flex-col md:flex-row items-center justify-between gap-x-12 gap-y-4 px-4 lg:px-6"
1717
>
@@ -82,6 +82,6 @@ const year = new Date().getFullYear()
8282
</NuxtLink>
8383
</span>
8484
</div>
85-
</AppContainer>
85+
</div>
8686
</footer>
8787
</template>

components/AppFooterAction.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ const appConfig = useAppConfig()
33
</script>
44

55
<template>
6-
<AppSection class="bg-white dark:bg-muted-1000">
7-
<AppContainer>
6+
<div class="app-section bg-white dark:bg-muted-1000">
7+
<div class="app-container">
88
<div class="relative">
99
<div class="text-center mb-8">
1010
<h2
@@ -54,6 +54,6 @@ const appConfig = useAppConfig()
5454
</button>
5555
</form> -->
5656
</div>
57-
</AppContainer>
58-
</AppSection>
57+
</div>
58+
</div>
5959
</template>

components/AppNavbar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const { data: navigation } = await useAsyncData('navigation', () =>
2121
]"
2222
>
2323
<div class="w-full px-4 lg:px-6">
24-
<AppContainer>
24+
<div class="app-container">
2525
<div
2626
class="relative flex items-center ltablet:justify-start justify-between h-16"
2727
>
@@ -107,7 +107,7 @@ const { data: navigation } = await useAsyncData('navigation', () =>
107107
<AppNavbarTheme />
108108
</div>
109109
</div>
110-
</AppContainer>
110+
</div>
111111
</div>
112112

113113
<!-- Mobile menu, show/hide based on menu state. -->

components/AppSection.vue

Lines changed: 0 additions & 5 deletions
This file was deleted.

components/ArticleCard.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const { data: author } = await useAsyncAuthorMeta(() => props.article.author)
1212

1313
<template>
1414
<div class="relative">
15-
<AppCard class="p-4 ltablet:p-5 md:p-5 lg:p-6 rounded-2xl">
15+
<div class="app-card p-4 ltablet:p-5 md:p-5 lg:p-6 rounded-2xl">
1616
<div class="relative">
1717
<NuxtLink v-if="props.article.cover" :to="props.article._path">
1818
<img
@@ -95,6 +95,6 @@ const { data: author } = await useAsyncAuthorMeta(() => props.article.author)
9595
</NuxtLink>
9696
</div>
9797
</div>
98-
</AppCard>
98+
</div>
9999
</div>
100100
</template>

components/ArticleGrid.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const { data: author } = await useAsyncAuthorMeta(() => props.article.author)
1111
</script>
1212

1313
<template>
14-
<AppCard class="p-3 rounded-xl">
14+
<div class="app-card p-3 rounded-xl">
1515
<div class="relative rounded-lg overflow-hidden">
1616
<div class="relative">
1717
<img
@@ -90,7 +90,7 @@ const { data: author } = await useAsyncAuthorMeta(() => props.article.author)
9090
</div>
9191
</div>
9292
</div>
93-
</AppCard>
93+
</div>
9494
</template>
9595

9696
<style scoped>

components/ArticleHero.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ const { data: author } = await useAsyncAuthorMeta(() => props.article.author)
1111
</script>
1212

1313
<template>
14-
<AppSection class="bg-muted-100 dark:bg-muted-1000 overflow-hidden">
15-
<AppContainer>
14+
<div class="app-section bg-muted-100 dark:bg-muted-1000 overflow-hidden">
15+
<div class="app-container">
1616
<header class="grid grid-cols-12 md:gap-x-10 gap-y-10 pt-6 sm:pt-10">
1717
<!-- Cover image -->
1818
<div
@@ -94,6 +94,6 @@ const { data: author } = await useAsyncAuthorMeta(() => props.article.author)
9494
</div>
9595
</div>
9696
</header>
97-
</AppContainer>
98-
</AppSection>
97+
</div>
98+
</div>
9999
</template>

components/ArticleSummaryLarge.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const { data: author } = await useAsyncAuthorMeta(() => props.article.author)
1111
</script>
1212

1313
<template>
14-
<AppCard class="p-6 rounded-xl">
14+
<div class="app-card p-6 rounded-xl">
1515
<div class="relative">
1616
<NuxtLink
1717
v-if="props.article.cover"
@@ -102,5 +102,5 @@ const { data: author } = await useAsyncAuthorMeta(() => props.article.author)
102102
</NuxtLink>
103103
</div>
104104
</div>
105-
</AppCard>
105+
</div>
106106
</template>

0 commit comments

Comments
 (0)