feat: add i18n files

Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
Ryan Wang
2022-08-01 12:29:02 +08:00
parent 3e2f28b4ff
commit 39df649b96
10 changed files with 161 additions and 115 deletions
+15 -8
View File
@@ -1,16 +1,23 @@
<!DOCTYPE html><html lang="en" class="astro-OLJ52OFC"><head>
<!DOCTYPE html><html lang="en" class="astro-TFKA5VKL"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>Links</title>
<link rel="stylesheet" href="/assets/7181965e.5e24488a.css" th:href="@{/assets/7181965e.5e24488a.css}">
<link rel="stylesheet" href="/assets/1a866341.8e0feb74.css" th:href="@{/assets/1a866341.8e0feb74.css}"></head>
<link rel="stylesheet" href="/assets/1a866341.2d6bfba8.css" th:href="@{/assets/1a866341.2d6bfba8.css}"></head>
<body class="astro-OLJ52OFC">
<nav class="flex gap-3 astro-OLJ52OFC">
<a href="/" th:href="@{/}" class="astro-OLJ52OFC">Home</a>
<a href="/post" th:href="@{/post}" class="astro-OLJ52OFC">Post</a>
<a href="/links" th:href="@{/links}" class="astro-OLJ52OFC">Links</a>
</nav>
<body class="astro-TFKA5VKL">
<div class="flex justify-between astro-TFKA5VKL">
<nav class="flex gap-3 astro-TFKA5VKL">
<a href="/" th:href="@{/}" class="astro-TFKA5VKL">Home</a>
<a href="/post" th:href="@{/post}" class="astro-TFKA5VKL">Post</a>
<a href="/links" th:href="@{/links}" class="astro-TFKA5VKL">Links</a>
</nav>
<div class="astro-TFKA5VKL">
<a href="/" class="astro-TFKA5VKL">默认</a>
<a href="/?language=zh" class="astro-TFKA5VKL">中文</a>
<a href="/?language=en" class="astro-TFKA5VKL">英文</a>
</div>
</div>
<main class="astro-SLXJX4NQ">
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-2 xl:grid-cols-2 astro-SLXJX4NQ">