-
Notifications
You must be signed in to change notification settings - Fork 384
/
Copy path+layout.svelte
115 lines (110 loc) · 4.03 KB
/
+layout.svelte
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<script lang="ts">
import { WebsiteName } from "./../../config"
import "../../app.css"
interface Props {
children?: import("svelte").Snippet
}
let { children }: Props = $props()
</script>
<div class="navbar bg-base-100 container mx-auto">
<div class="flex-1">
<a class="btn btn-ghost normal-case text-xl" href="/">{WebsiteName}</a>
</div>
<div class="flex-none">
<ul class="menu menu-horizontal px-1 hidden sm:flex font-bold text-lg">
<li class="md:mx-4">
<a
href="https://github.com/CriticalMoments/CMSaasStarter"
class="border border-primary">★ us on Github</a
>
</li>
<li class="md:mx-2"><a href="/blog">Blog</a></li>
<li class="md:mx-2"><a href="/pricing">Pricing</a></li>
<li class="md:mx-2"><a href="/account">Account</a></li>
<li class="md:mx-0">
<a href="/search" aria-label="Search">
<svg
fill="#000000"
class="w-6 h-6"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
><path
d="M17.545 15.467l-3.779-3.779a6.15 6.15 0 0 0 .898-3.21c0-3.417-2.961-6.377-6.378-6.377A6.185 6.185 0 0 0 2.1 8.287c0 3.416 2.961 6.377 6.377 6.377a6.15 6.15 0 0 0 3.115-.844l3.799 3.801a.953.953 0 0 0 1.346 0l.943-.943c.371-.371.236-.84-.135-1.211zM4.004 8.287a4.282 4.282 0 0 1 4.282-4.283c2.366 0 4.474 2.107 4.474 4.474a4.284 4.284 0 0 1-4.283 4.283c-2.366-.001-4.473-2.109-4.473-4.474z"
fill="currentColor"
/></svg
>
</a>
</li>
</ul>
<div class="dropdown dropdown-end sm:hidden">
<!-- svelte-ignore a11y_label_has_associated_control -->
<!-- svelte-ignore a11y_no_noninteractive_tabindex -->
<label tabindex="0" class="btn btn-ghost btn-circle">
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-5 w-5"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
><path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M4 6h16M4 12h16M4 18h7"
/></svg
>
</label>
<!-- svelte-ignore a11y_no_noninteractive_tabindex -->
<ul
tabindex="0"
class="menu menu-lg dropdown-content mt-3 z-1 p-2 shadow-sm bg-base-100 rounded-box w-52 font-bold"
>
<li><a href="/blog">Blog</a></li>
<li><a href="/pricing">Pricing</a></li>
<li><a href="/account">Account</a></li>
<li><a href="/search">Search</a></li>
<li>
<a
href="https://github.com/CriticalMoments/CMSaasStarter"
class="border border-primary">★ us on Github</a
>
</li>
</ul>
</div>
</div>
</div>
<div class="">
{@render children?.()}
</div>
<!-- Spacer grows so the footer can be at bottom on short pages -->
<div class="grow"></div>
<div class="">
<div class="border-t max-w-[1000px] mx-auto"></div>
<footer
class="footer md:footer-horizontal p-10 gap-x-48 lg:gap-x-64 xl:gap-x-96 place-content-center text-base"
>
<nav>
<span class="footer-title opacity-80">Explore</span>
<a class="link link-hover mb-1" href="/">Overview</a>
<a class="link link-hover my-1" href="/pricing">Pricing</a>
<a class="link link-hover my-1" href="/blog">Blog</a>
<a class="link link-hover my-1" href="/contact_us">Contact Us</a>
<a
class="link link-hover my-1"
href="https://github.com/CriticalMoments/CMSaasStarter">Github</a
>
</nav>
<aside>
<span class="footer-title opacity-80">Sponsor</span>
<a class="max-w-[260px]" href="https://getkiln.ai">
<div class="font-bold text-3xl mb-1">Kiln AI</div>
<div class="font-medium mb-3">Build High Quality AI Products</div>
<div class="font-light">
Use advanced AI tactics, and collaborate with your team. Free apps for
Mac and Windows.
</div>
<div class="link text-sm font-bold mt-2">Learn More</div>
</a>
</aside>
</footer>
</div>