File tree 3 files changed +26
-17
lines changed
3 files changed +26
-17
lines changed Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div >
3
+ <NavBar />
4
+
5
+ <div
6
+ class =" mx-auto mt-4 max-w-7xl space-y-4 px-4 xs:px-8 sm:px-8 lg:px-16 pb-16 w-2/3"
7
+ >
8
+ <slot />
9
+ </div >
10
+ </div >
11
+ </template >
Original file line number Diff line number Diff line change 2
2
const route = useRoute ();
3
3
4
4
useHead ({ title: toTitleCase (route .params .name ) });
5
+
6
+ definePageMeta ({
7
+ layout: " container" ,
8
+ });
5
9
</script >
6
10
7
11
<template >
8
12
<div >
9
- <div
10
- class =" mx-auto mt-4 max-w-7xl space-y-4 px-4 xs:px-8 sm:px-8 lg:px-16 pb-16 w-2/3"
11
- >
12
- <CarDetailHero />
13
- <CarDetailAttributes />
14
- <CarDetailDescription />
15
- <CarDetailContact />
16
- </div >
13
+ <CarDetailHero />
14
+ <CarDetailAttributes />
15
+ <CarDetailDescription />
16
+ <CarDetailContact />
17
17
</div >
18
18
</template >
Original file line number Diff line number Diff line change @@ -5,17 +5,15 @@ const cityTitle = toTitleCase(route.params.city);
5
5
useHead ({
6
6
title: ` ${ make ? toTitleCase (make) : " Cars" } in ${ cityTitle} ` ,
7
7
});
8
+
9
+ definePageMeta ({
10
+ layout: " container" ,
11
+ });
8
12
</script >
9
13
10
14
<template >
11
- <div >
12
- <div
13
- class =" mx-auto mt-4 max-w-7xl space-y-4 px-4 xs:px-8 sm:px-8 lg:px-16 pb-16 w-2/3"
14
- >
15
- <div class =" mt-32 flex" >
16
- <CarSideBar />
17
- <NuxtPage />
18
- </div >
19
- </div >
15
+ <div class =" mt-32 flex" >
16
+ <CarSideBar />
17
+ <NuxtPage />
20
18
</div >
21
19
</template >
You can’t perform that action at this time.
0 commit comments