Skip to content

Commit 6558906

Browse files
committed
docs: enhance website page
1 parent 71358aa commit 6558906

File tree

12 files changed

+528
-18
lines changed

12 files changed

+528
-18
lines changed

.changeset/weak-coats-exist.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"r.obin.ch": patch
3+
---
4+
5+
Add goals to website description

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The BSD Zero Clause License (0BSD)
22

3-
Copyright (c) 2021 - PRESENT https://github.com/openscript
3+
Copyright (c) 2021 - PRESENT Robin Bühler <https://github.com/openscript>
44

55
Permission to use, copy, modify, and/or distribute this software for any
66
purpose with or without fee is hereby granted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ Feel free to checkout how the website was built and reuse its code, but please d
77
## License
88

99
- **Code**: See [license file](./LICENSE)
10-
- **Content, Media, Design, ..**: CC BY-NC-ND 4.0 <br> <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png" /></a>
10+
- **Content, Media, Design, ..**: See [license file](./src/content/LICENSE) <br> <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png" /></a>

src/components/Button.astro

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,18 @@ const { href } = Astro.props;
77
88
---
99

10+
<style>
11+
a {
12+
background-color: var(--primary-color);
13+
color: var(--white-color);
14+
text-decoration: none;
15+
border-radius: var(--border-radius);
16+
padding: 0.2rem 0.4rem;
17+
}
18+
19+
a:hover {
20+
background-color: var(--primary-color-120);
21+
}
22+
</style>
23+
1024
<a href={href}><slot /></a>

src/components/Pagination.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const t = useTranslations(locale);
1818
display: flex;
1919
gap: 1rem;
2020
justify-content: center;
21+
align-items: center;
2122
margin: 1rem 0;
2223
}
2324
</style>

src/content/LICENSE

Lines changed: 403 additions & 0 deletions
Large diffs are not rendered by default.

src/content/pages/de/website.mdx

Lines changed: 40 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,50 @@ title: Webseite
44
layout: ../../../layouts/pages/PageWithAside.astro
55
---
66

7-
8-
import License from '../../../../LICENSE?raw';
9-
import Changelog from '../../../../CHANGELOG.md';
7+
import CodeLicense from '../../../../LICENSE?raw';
8+
import ContentLicense from '../../LICENSE?raw';
9+
import Foldable from '../../../components/Foldable.astro';
1010
import { Code } from 'astro:components';
1111

12-
Hier sind die Informationen zur Webseite zu finden.
12+
Hier sind die Informationen über diese Webseite zu finden. Unter anderem geht es darum, welche Ziele ich mit dieser Webseite verfolge.
13+
14+
## Ziele
15+
16+
Bei der Umsetzung dieser Webseite habe ich mir folgende Ziele gesetzt:
17+
18+
- **Small Web**: Mit dieser Webseite möchte ich einen Beitrag zum Small Web leisten. Der Begriff "Small Web" steht typischerweise für kleine, nicht-kommerzielle Webseiten, die von Einzelpersonen betrieben werden. Es geht auch darum Wissen und Kreativität zu teilen, ohne dabei auf Werbung oder Tracking zu setzen. [^1] [^2]
19+
- **Handgemacht**: Der Inhalt dieser Webseite wird von Hand erstellt. Das bedeutet, dass ich auf die Unterstützung künstlicher Intelligenz verzichte und es sich um Eigenkreationen handelt.
20+
- **Persönlich**: Die Inhalte widerspiegeln meine Persönlichkeit und Interessen. Es geht darum, meine Gedanken und Ideen zu teilen und mit anderen zu diskutieren.
21+
22+
## Technologien
23+
24+
Der Quellcode der Webseite ist [hier auf Github](https://github.com/openscript/r.obin.ch) zu finden.
1325

14-
## Lizenz
26+
Diese Webseite wird mit den folgenden Technologien und Tools erstellt:
1527

16-
<Code code={License} lang="plaintext" theme="github-light" />
28+
- [Astro](https://astro.build)
29+
- [FontSource](https://fontsource.org)
30+
- [PageFind](https://pagefind.app)
31+
32+
## Lizenzen
33+
34+
Der Code dieser Webseite ist unter der BSD Zero Clause License lizenziert.
35+
36+
<Foldable>
37+
<span slot="title">See code license</span>
38+
<Code code={CodeLicense} lang="plaintext" theme="github-light" />
39+
</Foldable>
40+
41+
Der Inhalt (Texte, Bilder, Videos, ..) dieser Webseite ist unter der Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License lizenziert.
42+
43+
<Foldable>
44+
<span slot="title">See content license</span>
45+
<Code code={ContentLicense} lang="plaintext" theme="github-light" />
46+
</Foldable>
1747

1848
## Änderungsverlauf
1949

20-
<Changelog />
50+
Der Änderungsverlauf kann [hier](https://github.com/openscript/r.obin.ch/blob/master/CHANGELOG.md) angesehen werden.
51+
52+
[^1]: ["What is the Small Web?" von Aral Balkan](https://ar.al/2020/08/07/what-is-the-small-web/)
53+
[^2]: ["The small web is beautiful" von Ben Hoyt](https://small-tech.org/research-and-development/small-web/manifesto/)

src/content/pages/en/website.mdx

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,53 @@
11
---
22
path: website
33
title: Website
4-
layout: ../../../layouts/pages/Page.astro
4+
layout: ../../../layouts/pages/PageWithAside.astro
55
---
66

7-
import License from '../../../../LICENSE?raw';
8-
import Changelog from '../../../../CHANGELOG.md';
7+
import CodeLicense from '../../../../LICENSE?raw';
8+
import ContentLicense from '../../LICENSE?raw';
9+
import Foldable from '../../../components/Foldable.astro';
910
import { Code } from 'astro:components';
1011

11-
Here you can find information about this website.
12+
Here you can find information about this website. Among other things, it explains the goals I am pursuing with this website.
1213

13-
## License
14+
## Goals
1415

15-
<Code code={License} lang="plaintext" theme="github-light" />
16+
I have set the following goals for the realisation of this website:
17+
18+
- **Small Web**: With this website I would like to contribute to the small web. The term "small web" typically stands for small, non-commercial websites run by individuals. It is also about sharing knowledge and creativity without relying on advertising or tracking. [^1] [^2]
19+
- **Handmade**: The content of this website is handmade. This means that I do not use artificial intelligence and the content is my own creation.
20+
- **Personal**: The content reflects my personality and interests. It's about sharing my thoughts and ideas and discussing them with others.
21+
22+
## Technologies
23+
24+
The source code of the website can be found [here on Github](https://github.com/openscript/r.obin.ch).
25+
26+
This website is built with the following technologies and tools:
27+
28+
- [Astro](https://astro.build)
29+
- [FontSource](https://fontsource.org)
30+
- [PageFind](https://pagefind.app)
31+
32+
## Licenses
33+
34+
The code of this website is licensed under the BSD Zero Clause License.
35+
36+
<Foldable>
37+
<span slot="title">See code license</span>
38+
<Code code={CodeLicense} lang="plaintext" theme="github-light" />
39+
</Foldable>
40+
41+
The content (texts, images, videos, ...) of this website is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
42+
43+
<Foldable>
44+
<span slot="title">See content license</span>
45+
<Code code={ContentLicense} lang="plaintext" theme="github-light" />
46+
</Foldable>
1647

1748
## Changelog
1849

19-
<Changelog />
50+
See the changelog [here](https://github.com/openscript/r.obin.ch/blob/master/CHANGELOG.md).
51+
52+
[^1]: ["What is the Small Web?" von Aral Balkan](https://ar.al/2020/08/07/what-is-the-small-web/)
53+
[^2]: ["The small web is beautiful" von Ben Hoyt](https://small-tech.org/research-and-development/small-web/manifesto/)

src/content/sections/de/intro.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33

44
import IntroSection from '../../../layouts/sections/IntroSection.astro';
55
import Fidget1Checkboxes from '../../../components/fidget/Fidget1Checkboxes.astro';
6+
import Button from '../../../components/Button.astro';
67

78
<IntroSection>
9+
810
<Fragment slot="title">Mein Leben zwischen Bits and Bytes.</Fragment>
9-
<Fragment slot="spotlight"><Fidget1Checkboxes /></Fragment>
11+
<Fidget1Checkboxes slot="spotlight" />
1012

1113
**Schön dich hier zu haben.** Auf dieser Webseite findest du von mir erstellte Inhalte wie Artikel, Projekte und einige Fotos oder andere Medien. Dabei verzichte ich auf die Unterstützung künstlicher Intelligenz und erstelle alles von Hand.
1214

15+
<Button href="/de/webseite">Mehr erfahren</Button>
16+
1317
</IntroSection>

src/content/sections/en/intro.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@
33

44
import IntroSection from '../../../layouts/sections/IntroSection.astro';
55
import Fidget1Checkboxes from '../../../components/fidget/Fidget1Checkboxes.astro';
6+
import Button from '../../../components/Button.astro';
67

78
<IntroSection>
89
<Fragment slot="title">My life between bits and bytes.</Fragment>
9-
<Fragment slot="spotlight"><Fidget1Checkboxes /></Fragment>
10+
<Fidget1Checkboxes slot="spotlight" />
1011

1112
**Great to have you here!** On this website you will find content created by me, such as articles, projects and some photos or other media. I do not use artificial intelligence and create everything by hand.
1213

14+
<Button href="/website">Learn more</Button>
15+
1316
</IntroSection>

0 commit comments

Comments
 (0)