From 11c9ebfca816acad9a1ef266f97643f8649720e2 Mon Sep 17 00:00:00 2001 From: xzh <18334786772@163.com> Date: Wed, 21 Feb 2024 14:11:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=99=E7=A8=8B=EF=BC=9A=E5=8D=9A=E5=AE=A2?= =?UTF-8?q?=E6=90=AD=E5=BB=BA--=E5=9C=A8=E4=BD=A0=E7=9A=84=E7=BD=91?= =?UTF-8?q?=E7=AB=99=E4=B8=8A=E6=B7=BB=E5=8A=A0=E3=80=81=E8=AE=BE=E8=AE=A1?= =?UTF-8?q?=E5=92=8C=E9=93=BE=E6=8E=A5=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/about.astro | 61 +++++++++++++++++++++++++++++++++++++-- src/pages/blog.astro | 10 ++++++- src/pages/posts/post-1.md | 28 ++++++++++++++++++ src/pages/posts/post-2.md | 11 +++++++ src/pages/posts/post-3.md | 11 +++++++ src/styles/global.css | 21 ++++++++++++++ 6 files changed, 139 insertions(+), 3 deletions(-) create mode 100644 src/pages/posts/post-1.md create mode 100644 src/pages/posts/post-2.md create mode 100644 src/pages/posts/post-3.md create mode 100644 src/styles/global.css diff --git a/src/pages/about.astro b/src/pages/about.astro index e930b4d..bcccadc 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -1,17 +1,74 @@ - +--- + +import '../styles/global.css' + +const pageTitle = "关于我" + +const identity = { + firstName: "莎拉", + country: "加拿大", + occupation: "技术撰稿人", + hobbies: ["摄影", "观鸟", "棒球"], +} + +const skills = ["Swift","HTML", "CSS", "JavaScript", "React", "Astro", "Writing Docs"]; + +const happy = true; +const finished = false; +const goal = 3; + +// css 变量 +const skillColor = "navy"; +const fontWeight = "bold"; +const textCase = "uppercase"; +--- + +
我正在学习 Astro 的入门教程。这是我网站上的第二个页面,也是我自己建立的第一页面!
随着我完成更多教程,该站点将更新,所以请继续查看我的旅程将如何进行吧!
+ + {happy &&我非常乐意学习 Astro!
} + + {finished &&我完成了这节教程!
} + + {goal === 3 ?我的目标是在三天内完成。
:我的目标不是 3 天。
} + +以下是关于我的几个事实:
+我的技能是:
+