From 5053b3f7baf6cd0d19e0cf2585b92e75cd323512 Mon Sep 17 00:00:00 2001 From: adityanaithani Date: Thu, 3 Apr 2025 15:28:38 -0400 Subject: [PATCH 1/8] add landing page --- index.html | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++ styles.css | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 166 insertions(+) create mode 100644 index.html create mode 100644 styles.css diff --git a/index.html b/index.html new file mode 100644 index 0000000..23e5656 --- /dev/null +++ b/index.html @@ -0,0 +1,80 @@ + + + + + + + UMass Amherst Webring + + + + +
+

umass amherst webring

+
+
+
+ + + + +
+
+
+ + + + diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..560750d --- /dev/null +++ b/styles.css @@ -0,0 +1,86 @@ +body { + background-color: #111111; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + height: 100vh; + font-family: "IBM Plex Mono", monospace; + font-weight: 400; + font-size: 15px; + color: white; + line-height: 1.5; + padding: 20px; + box-sizing: border-box; + /* overflow: hidden; */ + /* text-align: center; */ + text-decoration: none; + /* letter-spacing: 0.1em; */ + transition: all 1s ease; +} + +h1 { + color: d9d9d9; + font-size: 2em; + font-weight: 500; + margin: 0; + overflow: hidden; + letter-spacing: 0.1em; + text-shadow: 0px 0px 2px white; +} + +h2 { + font-size: 1.5em; + font-weight: 600; + margin: 0; +} + +a { + color: #a3a3a3; + text-decoration: none; + font-weight: 500; + transition: color 0.3s ease; +} +a:hover { + color: #d9d9d9; +} + +p { + text-align: center; + margin: 0; +} + +table { + display: flex; + align-items: center; + justify-content: center; + flex-flow: row wrap; + width: 65%; + gap: 60px; + top: 0px; + border-collapse: collapse; + margin-top: 20px; + margin-bottom: 20px; + padding: 20px; + margin: 20px auto; +} +td { + padding: 8px; + text-align: center; +} + +#addsite { + background-color: #222222; + color: #a3a3a3; + padding: 10px; + border-radius: 100px; + margin-bottom: 20px; + text-decoration: none; + font-size: 0.7em; + text-shadow: 0px 0px 1px #111111; +} +#addsite:hover { + background-color: #333333; + text-shadow: 0px 0px 2px white; + transition: 1s ease; +} From 3cb8b800347f07d85740412f2f901e0ee873cdbb Mon Sep 17 00:00:00 2001 From: adityanaithani Date: Thu, 3 Apr 2025 15:29:19 -0400 Subject: [PATCH 2/8] unsaved changes --- index.html | 2 +- styles.css | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 23e5656..7a8b15e 100644 --- a/index.html +++ b/index.html @@ -49,7 +49,7 @@

umass amherst webring

const cell = document.createElement("td"); const link = document.createElement("a"); link.href = member.url; - link.textContent = member.name; // aesthetically i think .id looks better than .name, but we can change + link.textContent = member.id; // aesthetically i think .id looks better than .name, but this is up for debate cell.appendChild(link); row.appendChild(cell); diff --git a/styles.css b/styles.css index 560750d..9d5d096 100644 --- a/styles.css +++ b/styles.css @@ -77,10 +77,9 @@ td { margin-bottom: 20px; text-decoration: none; font-size: 0.7em; - text-shadow: 0px 0px 1px #111111; + text-shadow: 0px 0px 1px #a3a3a3; } #addsite:hover { background-color: #333333; - text-shadow: 0px 0px 2px white; transition: 1s ease; } From 4aa36d5c4f3e4764412a22a9c2124c1e1fa8b23d Mon Sep 17 00:00:00 2001 From: adityanaithani Date: Fri, 11 Apr 2025 03:23:03 -0400 Subject: [PATCH 3/8] feat: add landing page --- index.html | 6 +++--- src/get.rs | 29 ++++++++++++++++++++++++++++- src/main.rs | 8 +++----- styles.css | 2 +- 4 files changed, 35 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index 7a8b15e..f04152a 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ UMass Amherst Webring - + @@ -31,7 +31,7 @@

umass amherst webring