summaryrefslogtreecommitdiffstats
path: root/lib/partials/header.p
diff options
context:
space:
mode:
authormaike <maike@synzr.tw>2026-09-03 10:59:09 +0500
committermaike <maike@synzr.tw>2026-09-03 10:59:09 +0500
commitb5dcc96742cc2cbf98e4c0f734e842418e4f4307 (patch)
treeb45c6a5498a2c0c974cbb216ea5d0d7186e33f97 /lib/partials/header.p
parente176c0f0709bd17a46d943b96e631a3f2b1320fb (diff)
downloadhamster-b5dcc96742cc2cbf98e4c0f734e842418e4f4307.tar.gz
hamster-b5dcc96742cc2cbf98e4c0f734e842418e4f4307.tar.bz2
hamster-b5dcc96742cc2cbf98e4c0f734e842418e4f4307.zip
Restructued a project
Diffstat (limited to 'lib/partials/header.p')
-rw-r--r--lib/partials/header.p21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/partials/header.p b/lib/partials/header.p
new file mode 100644
index 0000000..84e59d1
--- /dev/null
+++ b/lib/partials/header.p
@@ -0,0 +1,21 @@
+@USE
+picture.p
+
+@header[brand]
+$pokepi[
+ $.[image/webp][/img/pokepi.webp]
+ $.[image/png][/img/pokepi.png]
+]
+
+<header class="header clearfix" role="presentation">
+ ^picture[$pokepi;image/png;
+ $.alt[Мой покепи]
+ $.class[pokepi]
+ ]
+ <h1 class="brand">
+ ^for[i](0;^brand.length[] - 1){
+ <span class="letter">^brand.mid($i;1)</span>
+ }
+ </h1>
+</header>
+#end @header[]