aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-06-10 16:52:00 +0800
committerYuqian Yang <crupest@crupest.life>2025-06-10 17:12:17 +0800
commit0eae3f8365c8012331c7de0696b0267f674996ed (patch)
tree9ce744c22608747b4b8264f765cf44ec5fca3171
parent32315f0f6548cddf55a90c4ce584852f59813cf2 (diff)
downloadcrupest-0eae3f8365c8012331c7de0696b0267f674996ed.tar.gz
crupest-0eae3f8365c8012331c7de0696b0267f674996ed.tar.bz2
crupest-0eae3f8365c8012331c7de0696b0267f674996ed.zip
chore(www): remove slogan and quotes, simplify greetings.
-rw-r--r--README.md15
-rw-r--r--www/assets/res/css/base.css18
-rw-r--r--www/assets/res/css/home.css6
-rw-r--r--www/assets/res/js/color-scheme.ts18
-rw-r--r--www/layouts/_default/baseof.html3
-rw-r--r--www/layouts/index.html23
6 files changed, 7 insertions, 76 deletions
diff --git a/README.md b/README.md
index 61cc0c3..5b5d1c8 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,4 @@
-# Hi! This is **crupest**
-
-Nice to meet you here! 🤗
-
-Working on [GNU/Hurd](https://www.gnu.org/software/hurd/index.html) [Debian](https://www.debian.org/ports/hurd/) now. ❤️
-
-I love everything in the world. Contact me via my email, *<crupest@crupest.life>*, or create an issue in any of my repos. I love talking to people a lot.
-
-> *Die Philosophen haben die Welt nur verschieden interpretiert, es kömmt aber darauf an, sie zu verändern.*
-(*The philosophers have only interpreted the world in various ways, the point is to change it.*)
-\- Marx, K. (1845). *Theses on Feuerbach*.
+Hi! This is **crupest**. Nice to meet you here! 🤗
+Feel free to contact me via my email address *<crupest@crupest.life>*,
+or just create an issue in any of my [GitHub](https://github.com/crupest)
+repos. I love talking with people a lot.
diff --git a/www/assets/res/css/base.css b/www/assets/res/css/base.css
index c628271..06fcb4b 100644
--- a/www/assets/res/css/base.css
+++ b/www/assets/res/css/base.css
@@ -70,19 +70,6 @@ nav {
font-size: large;
}
-#slogan {
- color: white;
- width: 100%;
- padding: 0.5em 1em;
- text-align: center;
- background-color: dodgerblue;
- user-select: none;
-
- & > * {
- user-select: text;
- }
-}
-
#main-article {
position: relative;
left: 50%;
@@ -147,9 +134,4 @@ html[data-theme="dark"] {
& a:visited {
color:#abcac4;
}
-
- & #slogan {
- color: var(--body-fg-color);
- background-color: midnightblue;
- }
}
diff --git a/www/assets/res/css/home.css b/www/assets/res/css/home.css
index 3df42ff..60c9ac7 100644
--- a/www/assets/res/css/home.css
+++ b/www/assets/res/css/home.css
@@ -1,9 +1,3 @@
-#slogan {
- position: sticky;
- z-index: 1;
- top: 0;
-}
-
#avatar {
float: right;
}
diff --git a/www/assets/res/js/color-scheme.ts b/www/assets/res/js/color-scheme.ts
index db6a3aa..fb4accf 100644
--- a/www/assets/res/js/color-scheme.ts
+++ b/www/assets/res/js/color-scheme.ts
@@ -90,21 +90,3 @@ function next(): Scheme | null {
}
}
}
-
-window.addEventListener("load", () => {
- const slogon = document.getElementById("slogan")!
- let clicks: number = 0
-
- const reset = createResetTimer(() => {
- clicks = 0
- })
-
- slogon.addEventListener("click", () => {
- reset()
- clicks += 1
- if (clicks === 3) {
- saveScheme(next())
- clicks = 0
- }
- })
-})
diff --git a/www/layouts/_default/baseof.html b/www/layouts/_default/baseof.html
index 621aea1..6d00be5 100644
--- a/www/layouts/_default/baseof.html
+++ b/www/layouts/_default/baseof.html
@@ -19,9 +19,6 @@
{{ end }}
</head>
<body>
- <div id="slogan">
- <span>🙃The world is full of pain, but we can fix it with love!</span>
- </div>
{{ block "pre-article" .}}
{{ end }}
<article id="main-article">
diff --git a/www/layouts/index.html b/www/layouts/index.html
index e05af03..abf8a74 100644
--- a/www/layouts/index.html
+++ b/www/layouts/index.html
@@ -26,12 +26,9 @@
<hr />
<section>
<p>Welcome to my home page! Nice to meet you here! 🥰</p>
- <p>If you have something interesting to share with me, feel free to email me
- at <a rel="noopener noreferrer" href="mailto:crupest@crupest.life">crupest@crupest.life</a>.
- You can also create an issue in any of my repos
- on <a rel="noopener noreferrer" href="https://github.com/crupest">GitHub</a> to talk
- anything to me.
- </p>
+ <p>Feel free to contact me via my email address *<crupest@crupest.life>*,
+ or just create an issue in any of my <a rel="noopener noreferrer" href="https://github.com/crupest">GitHub</a>
+ repos. I love talking with people a lot.</p>
<div id="links" class="mono-link">
goto:
<ul>
@@ -78,18 +75,4 @@
{{ end }}
</div>
</section>
- <hr>
- <section>
- <h2>Always Remember</h2>
- <figure class="citation">
- <blockquote>
- <p>Die Philosophen haben die Welt nur verschieden interpretiert, es kömmt aber darauf an, sie zu verändern.</p>
- <p><small>Translated from German:</small>
- The philosophers have only interpreted the world in various ways, the point is to change it.</p>
- </blockquote>
- <figcaption>
- <cite>Karl Marx, Theses on Feuerbach (1845)</cite>
- </figcaption>
- </figure>
- </section>
{{ end }}