Skip to content

Commit

Permalink
chore(view): add background
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaraa committed Apr 22, 2024
1 parent e32046a commit 5822ca8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion components/layouts/default.templ
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,18 @@ templ Default(children ...templ.Component) {
<script src="/static/js/htmx.min.js"></script>
<script async defer src="/static/js/json-enc.js"></script>
</head>
<body class="bg-primary">
<body
style='
background-image: url("/static/images/dankground.jpg"), linear-gradient(to right, #4C8C36 , #9EE07E);
background-repeat: repeat;
background-size: cover;
padding: 0px;
margin: 0px;
background-position: center;
background-attachment: fixed;
min-height: 100dvh;
'
>
for _, child := range children {
@child
}
Expand Down
Binary file added static/images/dankground.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5822ca8

Please sign in to comment.