mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2024-12-04 22:12:21 +00:00
Fix footer, convert nav html to pug
This commit is contained in:
parent
cf991fc3da
commit
759470f5dc
@ -13,39 +13,35 @@ html
|
|||||||
|
|
||||||
link(rel='stylesheet', href='/stylesheets/style.css')
|
link(rel='stylesheet', href='/stylesheets/style.css')
|
||||||
block head
|
block head
|
||||||
body.flex.flex-col.min-h-screen.bg-black.text-pink
|
|
||||||
|
body.flex.flex-col.min-h-screen.bg-black.text-pink.font-mono.text-xl
|
||||||
nav
|
nav
|
||||||
div(class="mx-auto px-5")
|
div(class="mx-auto px-5")
|
||||||
div.relative.flex.items-center.justify-between.h-16
|
div.relative.flex.items-center.justify-between.h-16
|
||||||
div.flex-shrink-0.flex.items-center
|
div.flex-shrink-0.flex.items-center
|
||||||
p.block.text-4xl.font-extra.font
|
p.block.text-3xl.font-extra.font
|
||||||
a(href="/") EEEE.
|
a(href="/") EEEE.
|
||||||
|
|
||||||
<div class="absolute inset-y-0 right-0 flex items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0">
|
div(class="absolute inset-y-0 right-0 flex items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0")
|
||||||
<button type="button" class="inline-flex items-center justify-center rounded-md text-pink hover:text-green" aria-controls="mobile-menu" aria-expanded="false">
|
button(type="button" class="inline-flex items-center justify-center rounded-md text-pink hover:text-green" aria-controls="mobile-menu" aria-expanded="false")
|
||||||
<span class="sr-only">Open main menu</span>
|
span.sr-only Open main menu
|
||||||
|
|
||||||
<svg class="block h-10 w-10" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
|
svg(class="block h-9 w-9" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true")
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
|
path(stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16")
|
||||||
</svg>
|
|
||||||
|
|
||||||
<svg class="hidden h-10 w-10" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
|
svg(class="hidden h-9 w-9" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true")
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
|
path(stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12")
|
||||||
</svg>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="hidden" id="menu">
|
div(class="hidden" id="menu")
|
||||||
block nav-links
|
block nav-links
|
||||||
</div>
|
|
||||||
|
|
||||||
main.flex-grow
|
main.flex-grow
|
||||||
div(class="max-w-5xl mx-auto px-2 sm:px-6 lg:px-8")
|
div(class="max-w-5xl mx-auto px-2 sm:px-6 lg:px-8")
|
||||||
block content
|
block content
|
||||||
|
|
||||||
footer
|
footer.w-full.text-center.p-4.text-base
|
||||||
p © 2020 |
|
p.font-mono © 2020 |
|
||||||
|
|
|
|
||||||
|
|
|
|
||||||
a(href="/") EEEE.
|
a(href="/") EEEE.
|
||||||
|
Loading…
Reference in New Issue
Block a user