feat(list): add Main component
This commit is contained in:
parent
c75b2385f2
commit
fda8415efb
3 changed files with 53 additions and 44 deletions
5
apps/list/components/Main.vue
Normal file
5
apps/list/components/Main.vue
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<template>
|
||||||
|
<main class="mx-auto max-w-screen-mobile px-2">
|
||||||
|
<slot />
|
||||||
|
</main>
|
||||||
|
</template>
|
|
@ -45,6 +45,7 @@ const t = useVueTable({
|
||||||
<template>
|
<template>
|
||||||
<Header highlight="Content creators" />
|
<Header highlight="Content creators" />
|
||||||
|
|
||||||
|
<Main>
|
||||||
<h1 class="text-4xl font-black">
|
<h1 class="text-4xl font-black">
|
||||||
pomp's biased and opinionated list of Content creators
|
pomp's biased and opinionated list of Content creators
|
||||||
</h1>
|
</h1>
|
||||||
|
@ -88,4 +89,5 @@ const t = useVueTable({
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</Main>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<Header highlight="anything" />
|
<Header highlight="anything" />
|
||||||
|
|
||||||
|
<Main>
|
||||||
<NuxtLink href="/content-creators" class="underline">
|
<NuxtLink href="/content-creators" class="underline">
|
||||||
Content Creators
|
Content Creators
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
|
</Main>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue