mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-06 02:36:49 +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() {
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-theme="business">
|
||||
<html lang="en" data-theme="dracula">
|
||||
@head()
|
||||
<body hx-boost="true" style="display: flex; flex-direction: column; min-height: 100vh;">
|
||||
@navbar()
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ func BaseLayout() templ.Component {
|
|||
templ_7745c5c3_Var1 = templ.NopComponent
|
||||
}
|
||||
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 {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue