Skip to content

Commit 9889321

Browse files
committed
webring howto
1 parent a49945e commit 9889321

File tree

1 file changed

+90
-2
lines changed

1 file changed

+90
-2
lines changed

src/pages/webring/join.md

Lines changed: 90 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,91 @@
1-
# join ze webring
1+
import Tabs from '@theme/Tabs';
2+
import TabItem from '@theme/TabItem';
23

3-
hello
4+
# Join the GP webring
5+
6+
Do you have a cool website or blog that can be part of the GP webring? Join us!
7+
8+
## 1. Add yourself to the webring
9+
10+
To join the webring, add yourself to the [froglist](https://github.com/GraphicsProgramming/blog/blob/main/static/webring/froglist.json),
11+
a file listing all the webring members. You can leave a PR with your edits to the file, or if you're not as comfortable with Git, an issue
12+
asking to be added.
13+
14+
Simply add a new entry at the end of the JSON file with your website's data:
15+
16+
```json
17+
{
18+
// A short name to identify your site.
19+
// This will be in the URL, so keep it short and url-friendly (no spaces or special characters)
20+
"name": "your-name-here",
21+
"url": "https://link-to-my-cool.website",
22+
"displayName": "Your Name Here",
23+
"description": "A short description of your cool website"
24+
}
25+
```
26+
27+
## 2. Add the webring links to your site
28+
29+
Once you've added yourself to the froglist, add the webring links to your website. Make sure they're visible from the homepage!
30+
31+
You can find templates for the links below, for plain HTML or react. Simply copy and paste the appropriate code somewhere in your
32+
home page, or feel free to make your own links—you can style them to fit your site, just be sure to include our friendly little froge
33+
so people know you're part of the webring.
34+
35+
<Tabs>
36+
<TabItem value="html" label="HTML" default>
37+
```html
38+
<div style="display: flex, gap: 0.25rem, justify-content: center">
39+
<a href="https://graphics-programming.org/webring/frogs/[YOUR_WEBRING_NAME]/prev">⬅️</a>
40+
<a href="https://graphics-programming.org/webring/">
41+
<img
42+
src="https://graphics-programming.org/img/froge.webp"
43+
alt="a friendly froge"
44+
style="object-fit: contain, width: 1.5em, height: 1.5em"
45+
/>
46+
</a>
47+
<a href="https://graphics-programming.org/webring/frogs/[YOUR_WEBRING_NAME]/next">➡️</a>
48+
</div>
49+
```
50+
</TabItem>
51+
<TabItem value="react" label="JSX (React)" default>
52+
```tsx
53+
<div
54+
style={{
55+
display: "flex",
56+
gap: "0.25rem",
57+
justifyContent: "center",
58+
}}
59+
>
60+
<a href="https://graphics-programming.org/webring/frogs/[YOUR_WEBRING_NAME]/prev">⬅️</a>
61+
<a href="https://graphics-programming.org/webring/">
62+
<img
63+
src="https://graphics-programming.org/img/froge.webp"
64+
alt="a friendly froge"
65+
style={{
66+
objectFit: "contain",
67+
width: "1.5em",
68+
height: "1.5em",
69+
}}
70+
/>
71+
</a>
72+
<a href="https://graphics-programming.org/webring/frogs/[YOUR_WEBRING_NAME]/next">➡️</a>
73+
</div>
74+
```
75+
</TabItem>
76+
<TabItem value="react-tw" label="JSX + Tailwind CSS" default>
77+
```tsx
78+
<div className="flex flex-row gap-1 justify-center">
79+
<a href="https://graphics-programming.org/webring/frogs/[YOUR_WEBRING_NAME]/prev">⬅️</a>
80+
<a href="https://graphics-programming.org/webring/">
81+
<img
82+
className="object-contain w-6 h-6"
83+
src="https://graphics-programming.org/img/froge.webp"
84+
alt="a friendly froge"
85+
/>
86+
</a>
87+
<a href="https://graphics-programming.org/webring/frogs/[YOUR_WEBRING_NAME]/next">➡️</a>
88+
</div>
89+
```
90+
</TabItem>
91+
</Tabs>

0 commit comments

Comments
 (0)