Skip to content

Commit

Permalink
Merge pull request #128 from LouisDeconinck/dynamic-settings-menu
Browse files Browse the repository at this point in the history
dynamic settings title
  • Loading branch information
scosman authored Aug 29, 2024
2 parents fd7a963 + 727052f commit 0638f89
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/routes/(admin)/account/(menu)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import "../../../../app.css"
import { writable } from "svelte/store"
import { setContext } from "svelte"
import { WebsiteName } from "../../../../config"
const adminSectionStore = writable("")
setContext("adminSection", adminSectionStore)
Expand All @@ -23,7 +24,7 @@
<div class="drawer-content">
<div class="navbar bg-base-100 lg:hidden">
<div class="flex-1">
<a class="btn btn-ghost normal-case text-xl" href="/">SaaS Starter</a>
<a class="btn btn-ghost normal-case text-xl" href="/">{WebsiteName}</a>
</div>
<div class="flex-none">
<div class="dropdown dropdown-end">
Expand Down Expand Up @@ -59,7 +60,7 @@
<div
class="normal-case menu-title text-xl font-bold text-primary flex flex-row"
>
<a href="/" class="grow">Saas Starter</a>
<a href="/" class="grow">{WebsiteName}</a>
<label for="admin-drawer" class="lg:hidden ml-3"> &#x2715; </label>
</div>
</li>
Expand Down

0 comments on commit 0638f89

Please sign in to comment.