mirror of
https://github.com/avinal/box-box.git
synced 2026-01-11 05:58:33 +05:30
feat: add basic working theme
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
32
layouts/_default/baseof.html
Normal file
32
layouts/_default/baseof.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!doctype html>
|
||||
<html
|
||||
lang="{{ site.Language.LanguageCode }}"
|
||||
dir="{{ or site.Language.LanguageDirection `ltr` }}"
|
||||
>
|
||||
<head>
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
|
||||
<body class="container mx-auto bg-gray-50">
|
||||
<div
|
||||
class="absolute mx-auto inset-0 bg-[url(https://play.tailwindcss.com/img/grid.svg)] bg-top [mask-image:linear-gradient(180deg,white,rgba(255,255,255,0))]"
|
||||
></div>
|
||||
<div
|
||||
class="relative flex min-h-screen flex-col justify-center overflow-hidden py-8 "
|
||||
>
|
||||
<div
|
||||
class="relative w-full bg-white px-4 shadow-xl shadow-slate-700/10 ring-1 ring-gray-900/5 md:mx-auto md:max-w-3xl lg:max-w-4xl pb-4"
|
||||
>
|
||||
<header class="mb-6">
|
||||
{{ partial "header.html" . }}
|
||||
</header>
|
||||
<main>
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
<footer>
|
||||
{{ partial "footer.html" . }}
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user