mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-12 13:46:51 +00:00
change theme
This commit is contained in:
parent
2a417096f7
commit
9b4063618c
2 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ const appName = "🏨 RentEase"
|
||||||
|
|
||||||
templ BaseLayout() {
|
templ BaseLayout() {
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en" data-theme="business">
|
<html lang="en" data-theme="dracula">
|
||||||
@head()
|
@head()
|
||||||
<body hx-boost="true" style="display: flex; flex-direction: column; min-height: 100vh;">
|
<body hx-boost="true" style="display: flex; flex-direction: column; min-height: 100vh;">
|
||||||
@navbar()
|
@navbar()
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ func BaseLayout() templ.Component {
|
||||||
templ_7745c5c3_Var1 = templ.NopComponent
|
templ_7745c5c3_Var1 = templ.NopComponent
|
||||||
}
|
}
|
||||||
ctx = templ.ClearChildren(ctx)
|
ctx = templ.ClearChildren(ctx)
|
||||||
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<!doctype html><html lang=\"en\" data-theme=\"business\">")
|
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<!doctype html><html lang=\"en\" data-theme=\"dracula\">")
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue