Use more recent picture
Some checks failed
Audit / Audit (push) Failing after 4s
Push / Lint (push) Failing after 2s
Push / Build (push) Failing after 3s

This commit is contained in:
Michael Bradley 2025-11-13 01:34:51 -05:00
parent ca98a571de
commit 33fdf80443
Signed by: MichaelBradley
SSH key fingerprint: SHA256:o/aaeYtRubILK7OYYjYP12DmU7BsPUhKji1AgaQ+ge4
8 changed files with 1037 additions and 761 deletions

1783
package-lock.json generated

File diff suppressed because it is too large Load diff

0
render.bash Normal file → Executable file
View file

View file

@ -15,13 +15,14 @@ const Header = ({ user, hostname }: HeaderProps) => (
);
type InfoLineProps = {
label: string;
label?: string;
value: string;
};
const InfoLine = ({ label, value }: InfoLineProps) => (
<p>
<span className="text-highlight">{label}</span>: {value}
<span className="text-highlight">{label}</span>
{label && ":"} {value}
</p>
);
@ -32,7 +33,7 @@ const Description = () => (
<InfoLine label="Hobbies" value="🖖 🎮 🧗 🏃 🧑‍💻" />
<BlankLine />
<InfoLine label="Degree" value="B.C.S. Honours" />
<InfoLine label="Alma Mater" value="Carleton U" />
<InfoLine value="Carleton U" />
</div>
);

View file

@ -1,5 +1,5 @@
// TODO: Generate JXL once it doesn't crash
import hero from "../../assets/MichaelBradley.jpeg?format=avif;webp;jpeg&as=picture";
import hero from "../../assets/MichaelBradley.avif?format=avif;webp;jpeg&as=picture";
const ProfilePicture = () => (
<div id="michael-photo-container">

View file

@ -18,8 +18,8 @@ const ImageLink = ({ href, title, Image }: ImageLinkProps) => (
const Links = () => (
<div className="links">
<ImageLink href="https://git.mmbradley.ca/MichaelBradley/" title="Forgejo instance" Image={Git} />
<ImageLink href="https://www.linkedin.com/in/michaelmbradley/" title="LinkedIn account" Image={LinkedIn} />
<ImageLink href="https://mstdn.ca/@michaelbradley/" title="Mastodon account" Image={Mastodon} />
<ImageLink href="https://www.linkedin.com/in/michaelmbradley/" title="LinkedIn account" Image={LinkedIn} />
<input id="dark-mode-toggle" type="checkbox" aria-label="Toggle dark mode" />
<label htmlFor="dark-mode-toggle" id="dark-mode-toggle-label" title="Toggle dark mode" className="footerAction">
<DarkModeToggleIcon width="100%" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

View file

@ -236,7 +236,7 @@ body {
row-gap: 1rem;
font-family: "JetBrains Mono", "ui-monospace", "SF Mono", "Courier New", monospace;
margin: 0 1rem;
white-space: nowrap;
white-space: pre;
font-size: clamp(0.75rem, 2.5dvw, 1.25rem);
}
@ -260,7 +260,7 @@ p {
aspect-ratio: 1;
border-radius: 50%;
object-fit: cover;
object-position: 0 10%;
object-position: 62.5% 0;
border: 0.2rem solid var(--highlight);
@media (prefers-reduced-motion: no-preference) {