File tree Expand file tree Collapse file tree 4 files changed +37
-36
lines changed Expand file tree Collapse file tree 4 files changed +37
-36
lines changed Original file line number Diff line number Diff line change 1
1
<!doctype html>
2
2
< html lang ="en ">
3
- < head >
4
- < meta charset ="utf-8 " />
5
- < link rel ="icon " href ="%sveltekit.assets%/favicon.png " />
6
- < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
7
- %sveltekit.head%
8
- </ head >
9
3
10
- < body data-sveltekit-preload-data ="hover " data-bs-theme ="dark ">
11
- < div style ="display: contents ">
12
- < main > %sveltekit.body%</ main >
13
- </ div >
14
- </ body >
15
- </ html >
4
+ < head >
5
+ < meta charset ="utf-8 " />
6
+ < link rel ="icon " href ="%sveltekit.assets%/favicon.png " />
7
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
8
+ %sveltekit.head%
9
+ </ head >
10
+
11
+ < body data-sveltekit-preload-data ="hover " data-bs-theme ="dark ">
12
+ < div style ="display: contents " class ="mainContainer "> %sveltekit.body%</ div >
13
+ </ body >
14
+
15
+ </ html >
Original file line number Diff line number Diff line change 55
55
{/ snippet}
56
56
57
57
< header>
58
- < nav class = " navbar navbar-expand-sm bg-body-tertiary shadow-sm fixed-top" >
58
+ < nav
59
+ class = " navbar navbar-expand-sm shadow-sm fixed-top"
60
+ style= " background-color: rgba(var(--bs-tertiary-bg-rgb), 0.95)"
61
+ >
59
62
< div class = " container px-3 py-2" >
60
63
< a
61
64
onclick= {collapseBootstrapMenu}
77
80
< span class = " navbar-toggler-icon" >< / span>
78
81
< / button>
79
82
< div class = " collapse navbar-collapse" id= " navbarNavDropdown" >
80
- < ul class = " navbar-nav gap-3 pt-lg-0 pt-3 " >
83
+ < ul class = " navbar-nav gap-3" >
81
84
{@render navigationLinks (navLinks)}
82
- <!-- < li class = " nav-item dropdown" >
83
- < a
84
- class = " nav-link dropdown-toggle"
85
- href= " #top"
86
- role= " button"
87
- data- bs- toggle= " dropdown"
88
- aria- expanded= " false"
89
- >
90
- Dropdown link
91
- < / a>
92
- < ul class = " dropdown-menu" >
93
- < li>< a class = " dropdown-item" href= " #top" > Action< / a>< / li>
94
- < li>< a class = " dropdown-item" href= " #top" > Another action< / a>< / li>
95
- < li>< a class = " dropdown-item" href= " #top" > Something else here< / a>< / li>
96
- < / ul>
97
- < / li> -->
98
85
< / ul>
99
86
< / div>
100
87
< / div>
Original file line number Diff line number Diff line change 1
- .svh-100 {
2
- align-items : center ;
1
+ body {
2
+ min-height : 100 svh ;
3
3
display : flex ;
4
- min-height : calc (100 svh - 80px - 56px );
4
+ flex-direction : column ;
5
+ header {
6
+ width : 100% ;
7
+ }
8
+ main {
9
+ width : 100% ;
10
+ }
11
+ footer {
12
+ width : 100% ;
13
+ margin-top : auto ;
14
+ }
5
15
}
16
+
17
+ // .svh-100 {
18
+ // min-height: 100svh;
19
+ // }
Original file line number Diff line number Diff line change 9
9
</script >
10
10
11
11
<LoadingAnimation />
12
- <Navigation />
13
12
14
- <div class =" svh-100" >
13
+ <Navigation />
14
+ <main >
15
15
{@render children ()}
16
- </div >
16
+ </main >
17
17
<Footer />
You can’t perform that action at this time.
0 commit comments