From 8a45f3de197110158a2d1a5feeeda6e59874488e Mon Sep 17 00:00:00 2001
From: Helen Chong <119173961+helenclx@users.noreply.github.com>
Date: Sun, 22 Dec 2024 16:35:46 +0800
Subject: [PATCH] Rename Upcoming section to Notice section
---
src/_includes/main/notice.njk | 26 ++++++++++++++++++++++++++
src/_includes/main/upcoming.njk | 24 ------------------------
src/assets/css/global.css | 2 +-
src/index.njk | 2 +-
4 files changed, 28 insertions(+), 26 deletions(-)
create mode 100644 src/_includes/main/notice.njk
delete mode 100644 src/_includes/main/upcoming.njk
diff --git a/src/_includes/main/notice.njk b/src/_includes/main/notice.njk
new file mode 100644
index 00000000..ca56ea86
--- /dev/null
+++ b/src/_includes/main/notice.njk
@@ -0,0 +1,26 @@
+
+ Notice
+
+
I Am Open for Hire
+
I am available for new work opportunities and looking for a remote web developer position.
+
If you would like to get in touch, please contact me or check out my résumé .
+
+
+
+{%- css %}
+.notice {
+ border: 0.2em solid var(--clr-accent-700);
+ background-color: var(--clr-accent-100);
+ padding: 1em;
+ max-width: 45rem;
+ display: grid;
+ gap: 1em;
+}
+
+.notice__heading { text-align: center; }
+.notice-list { padding: 0; }
+.notice-list__item {
+ display: grid;
+ gap: 0.3em;
+}
+{% endcss %}
\ No newline at end of file
diff --git a/src/_includes/main/upcoming.njk b/src/_includes/main/upcoming.njk
deleted file mode 100644
index 054696ab..00000000
--- a/src/_includes/main/upcoming.njk
+++ /dev/null
@@ -1,24 +0,0 @@
-
- Upcoming
-
-
-
-
- 26 September 2024, 7pm (Malaysia Time)
-
- I will give a talk, "Eleventy Journey From 2.0 to 3.0", about my experience with using Eleventy, including the decision and process of upgrading to Eleventy 3.0.
-
-
-
-
-{%- css %}
-.upcoming {
- padding: 0;
- max-width: 40rem;
-}
-
-.upcoming__item {
- display: grid;
- gap: 0.3em;
-}
-{% endcss %}
\ No newline at end of file
diff --git a/src/assets/css/global.css b/src/assets/css/global.css
index 1640df6a..862753b3 100644
--- a/src/assets/css/global.css
+++ b/src/assets/css/global.css
@@ -9,7 +9,7 @@
--clr-slate-300: light-dark(#5d5d5d, #f8f8f8);
--clr-slate-600: light-dark(#383838, #f6f6f6);
- --clr-accent-100: light-dark(#edcfff, #4c004c);
+ --clr-accent-100: light-dark(#f1d9ff, #4c004c);
--clr-accent-600: light-dark(#a200ff, #da85ff);
--clr-accent-700: light-dark(#8200cd, #cb7aff);
--clr-accent-800: light-dark(#5a008e, #d09dff);
diff --git a/src/index.njk b/src/index.njk
index adb27d40..b5efce3d 100644
--- a/src/index.njk
+++ b/src/index.njk
@@ -8,7 +8,7 @@ metadata:
Home Page
{% include "main/profile.njk" %}
- {# {% include "main/upcoming.njk" %} #}
+ {# {% include "main/notice.njk" %} #}
{% include "main/blog-section.njk" %}
{% include "main/project-grid.njk" %}
{% include "main/web-membership.njk" %}