aboutsummaryrefslogtreecommitdiffstats
path: root/hatCollectionWebsite.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hatCollectionWebsite.php42
1 files changed, 42 insertions, 0 deletions
diff --git a/hatCollectionWebsite.php b/hatCollectionWebsite.php
new file mode 100644
index 0000000..2bccf70
--- /dev/null
+++ b/hatCollectionWebsite.php
@@ -0,0 +1,42 @@
+<?php
+require_once __DIR__ . '/partials/i18n.php';
+
+$lang = _i18n_lang();
+$h = fn(string $k) => htmlspecialchars(t($k), ENT_QUOTES, 'UTF-8');
+?>
+<!doctype html>
+<html lang="<?= ['en'=>'en','ja'=>'ja','zh'=>'zh'][$lang] ?>">
+<head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
+ <title><?= $h('hat.title') ?></title>
+ <?php $meta = ['lang'=>$lang, 'title'=>t('hat.title'), 'desc'=>t('hat.desc'), 'base'=>'hatCollectionWebsite']; include __DIR__ . '/partials/head_meta.php'; ?>
+
+ <link rel="stylesheet" href="/assets/css/fonts.css" />
+ <link rel="stylesheet" href="/assets/css/site.css" />
+ <link rel="stylesheet" href="/assets/css/skeleton.css" />
+</head>
+
+<body>
+ <a class="skip-link" href="#main"><?= $h('common.skip') ?></a>
+ <?php include 'partials/header.php'; ?>
+
+ <main id="main" class="wrap">
+ <section aria-labelledby="hat-title">
+ <h1 id="hat-title"><?= $h('hat.h1') ?></h1>
+ <p class="muted"><?= $h('hat.subtitle') ?></p>
+
+ <pre class="se7f7a3d62d">
+hat-collection-website/
+├── index.html
+├── styles/
+│ └── styles.css
+└── scripts/
+ └── main.js
+ </pre>
+ </section>
+ </main>
+
+ <?php include 'partials/footer.php'; ?>
+</body>
+</html>