Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions src/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,28 @@ export default function Footer() {
</div>

<div className="flex space-x-4">
<FooterEntry href="mailto:info@dominiktoth.com">
<FooterEntry
href="mailto:info@dominiktoth.com"
platformName="Email"
>
<Mail className="text-white" />
</FooterEntry>
<FooterEntry href="https://github.com/jake8655">
<FooterEntry
href="https://github.com/jake8655"
platformName="GitHub"
>
<SiGithub className="text-white" />
</FooterEntry>
<FooterEntry href="https://discord.com/users/300963276223807488">
<FooterEntry
href="https://discord.com/users/300963276223807488"
platformName="Discord"
>
<SiDiscord className="text-discord-blue" />
</FooterEntry>
<FooterEntry href="https://bsky.app/profile/dominiktoth.com">
<FooterEntry
href="https://bsky.app/profile/dominiktoth.com"
platformName="Bluesky"
>
<SiBluesky className="text-bluesky-blue" />
</FooterEntry>
</div>
Expand Down Expand Up @@ -63,9 +75,11 @@ export default function Footer() {

function FooterEntry({
href,
platformName,
children,
}: {
href: string;
platformName: string;
children: React.ReactNode;
}) {
return (
Expand All @@ -74,6 +88,7 @@ function FooterEntry({
target="_blank"
rel="noopener noreferrer"
className="flex gap-2 text-sm transition-transform hover:scale-110 md:text-base"
aria-label={`Contact Dominik Tóth via ${platformName}`}
>
{children}
</a>
Expand Down
1 change: 1 addition & 0 deletions src/components/locale-switcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default function LocaleSwitcher({ className }: { className?: string }) {
isPending && "transition-opacity [&:disabled]:opacity-30",
className,
)}
aria-label={t("label")}
>
<SelectValue placeholder={t("label")} />
</SelectTrigger>
Expand Down