From 5cb741257564ef72c47bd950376c8f56912709de Mon Sep 17 00:00:00 2001 From: amolinae06 Date: Mon, 11 Aug 2025 23:35:56 -0600 Subject: [PATCH] improvements --- .gitignore | 2 ++ 404.html | 6 ++-- README.md | 3 +- aboutme.html | 16 +++++------ favicon.png => assets/images/favicon.png | Bin blog.html | 34 +++++++++++++++++++++++ contact.html | 4 +-- index.css => css/index.css | 20 ++++++++++++- index.html | 9 +++--- js/script.js | 14 ++++++++++ music.html | 11 ++++++-- setup.html | 18 ++++++------ 12 files changed, 105 insertions(+), 32 deletions(-) create mode 100644 .gitignore rename favicon.png => assets/images/favicon.png (100%) create mode 100644 blog.html rename index.css => css/index.css (82%) create mode 100644 js/script.js diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7d47aad --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +messages.txt +blog/ diff --git a/404.html b/404.html index 4affdce..67a41f5 100644 --- a/404.html +++ b/404.html @@ -3,8 +3,8 @@ - - + + amolinae's website @@ -12,7 +12,7 @@

404

-

Not found

+

Not found

[ Back ]
diff --git a/README.md b/README.md index 8b13789..78bbb9a 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ - +# amolinae.com +Repository for [my website](https://amolinae.com). diff --git a/aboutme.html b/aboutme.html index ef0d398..e10f304 100644 --- a/aboutme.html +++ b/aboutme.html @@ -3,8 +3,8 @@ - - + + amolinae's website @@ -14,12 +14,12 @@

About Me

-

- Linux enthusiast.

-

- Listen to Music.

-

- Collect iPods.

-

- Likes Self-hosting.

-

- Collect ThinkPads.

-

- Thinker with computers.

+

I usually spend my time:

+

- Listening to Music.

+

- Collecting and modding iPods.

+

- Collecting and fixing ThinkPads.

+

- Thinkering with my computers.

+

- Writing code or shell scripting.

diff --git a/favicon.png b/assets/images/favicon.png similarity index 100% rename from favicon.png rename to assets/images/favicon.png diff --git a/blog.html b/blog.html new file mode 100644 index 0000000..bcd0de8 --- /dev/null +++ b/blog.html @@ -0,0 +1,34 @@ + + + + + + + + amolinae's website + + + +
+ +

amolinae's blog

+

COMING SOON!

+ +
+ [ Back ] +
+ + + diff --git a/contact.html b/contact.html index 67e537c..811975e 100644 --- a/contact.html +++ b/contact.html @@ -3,8 +3,8 @@ - - + + amolinae's website diff --git a/index.css b/css/index.css similarity index 82% rename from index.css rename to css/index.css index 5366067..a9f4184 100644 --- a/index.css +++ b/css/index.css @@ -2,7 +2,7 @@ --primary-color: #feb938; --secondary-color: #a3741d; --background-color: #000000; - --card-bg-color: #101010; + --card-bg-color: #121212; } * { @@ -80,3 +80,21 @@ a:hover { color: var(--primary-color); text-shadow: 1px 1px 10px var(--primary-c @media only screen and (max-width: 600px) { .card img { width: 150px; height: auto; } } + +.blog-card { + margin: 8px 0; + background: var(--card-bg-color); + border: 4px solid var(--primary-color); + border-radius: 2%; + box-shadow: 0px 0px 8px var(--primary-color); + padding: 16px; +} + +.blog-card h4 { margin: 4px 0; width: 100%; text-align: left; } + +.blog-card a { + font-size: 24px; + margin: 8px auto; + text-align: center; + display: block; +} diff --git a/index.html b/index.html index 3a1b91b..268b136 100644 --- a/index.html +++ b/index.html @@ -3,22 +3,24 @@ - - + + amolinae's website +

amolinae's website

-

And I could never get enough

+

- diff --git a/js/script.js b/js/script.js new file mode 100644 index 0000000..e02ff6f --- /dev/null +++ b/js/script.js @@ -0,0 +1,14 @@ +// This sucks but works. +function getRandomLine(file) { + return fetch(file) + .then(res => res.text()) + .then(text => { + const lines = text.trim().split('\n'); + const randomIndex = Math.floor(Math.random() * lines.length); + return lines[randomIndex]; + }); +} + +getRandomLine("/assets/messages.txt").then(line => { + document.getElementById("qotd").innerHTML = line; +}); diff --git a/music.html b/music.html index d00cbad..87de7d4 100644 --- a/music.html +++ b/music.html @@ -3,8 +3,8 @@ - - + + amolinae's website @@ -16,13 +16,18 @@ +
[ Back ] diff --git a/setup.html b/setup.html index c13bc6a..eafe6b6 100644 --- a/setup.html +++ b/setup.html @@ -3,8 +3,8 @@ - - + + amolinae's website @@ -17,25 +17,23 @@