Skip to content

initial pass at move to 11ty#25

Open
andyshinn wants to merge 3 commits intomainfrom
ashinn/11ty
Open

initial pass at move to 11ty#25
andyshinn wants to merge 3 commits intomainfrom
ashinn/11ty

Conversation

@andyshinn
Copy link
Copy Markdown
Collaborator

Website refactor in Eleventy. Supersedes number #17.

@andyshinn andyshinn requested a review from tekstrand November 18, 2025 03:06
@andyshinn andyshinn mentioned this pull request Nov 18, 2025
@@ -0,0 +1,13 @@
{
"upcoming": [
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to just pull this at build time from Discord?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We certainly could. It would likely mean we need a Discord app + API key created for it. Did we already have that somewhere? And if it is can you add it as secret env vars in the GitHub Action secrets settings for this repo?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

threshold: 0.1
};

const loadBackground = (container) => {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this stuff for?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like some lazy loader thingy. It is something already on the site at https://github.com/austinmesh/www/blob/main/index.html#L140C1-L172C14 that was just copied over. But if you don't remember we could probably get rid of it. I don't know that there is any benefit to lazy loading one image on the homepage...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh, I even search the repo for it but my find didn't come up with any results so I assumed it was new.

I vaguely remember it now. It's just for performance. There are some other lazy images around the site, so it'd need to be loaded there, too.

} No newline at end of file
}

/* Social media icon colors */
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this just some AI code, or did you specifically want to change this stuff?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I specifically did change the icons to all be from the same package so that they had a more consistent look (they are from https://simpleicons.org/). If we want the original ones do you know where they came from so we can try to consistently style them?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't recall, probably just off of Google.

I was mainly wondering because of all of the !important tags which are usually a red flag for me. I think this is fine for now

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll do a pass at the !important ones again. Some of them were required so they are ignored when the dark theme gets used and it looks correct on the light version.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just leave it as is. Or let them be grayscale if that's simpler? No big deal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants