feat(home): mail and phone links and aria labels
This commit is contained in:
+14
-6
@@ -31,16 +31,24 @@ export default function Home() {
|
|||||||
filter: "drop-shadow(10px 0 25px rgb(from color-mix(in oklch, var(--foreground) 9%, transparent) r g b / .05))",
|
filter: "drop-shadow(10px 0 25px rgb(from color-mix(in oklch, var(--foreground) 9%, transparent) r g b / .05))",
|
||||||
}}
|
}}
|
||||||
className="mask-[linear-gradient(to_bottom,#000_80%,#0000)]"
|
className="mask-[linear-gradient(to_bottom,#000_80%,#0000)]"
|
||||||
|
loading="eager"
|
||||||
/>
|
/>
|
||||||
<div className="flex flex-col gap-4">
|
<div className="flex flex-col gap-4">
|
||||||
<div className="flex justify-center gap-3">
|
<div className="flex justify-center gap-3 flex-wrap">
|
||||||
<Button variant="outline">
|
<Button asChild variant="outline">
|
||||||
|
<a
|
||||||
|
href="mailto:nico@byhaider.dev"
|
||||||
|
aria-label={t("landingPage.contact.email")}
|
||||||
|
>
|
||||||
<Mail />
|
<Mail />
|
||||||
nico@byhaider.dev
|
nico@byhaider.dev
|
||||||
|
</a>
|
||||||
</Button>
|
</Button>
|
||||||
<Button variant="outline">
|
<Button asChild variant="outline">
|
||||||
|
<a href="tel:+436702060140" aria-label={t("landingPage.contact.phone")}>
|
||||||
<Phone />
|
<Phone />
|
||||||
+43 670 2060140
|
+43 670 2060140
|
||||||
|
</a>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex gap-3 justify-center">
|
<div className="flex gap-3 justify-center">
|
||||||
@@ -49,8 +57,8 @@ export default function Home() {
|
|||||||
href="https://www.linkedin.com/in/nico-haider-164444316"
|
href="https://www.linkedin.com/in/nico-haider-164444316"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
aria-label="LinkedIn"
|
|
||||||
>
|
>
|
||||||
|
<span className="sr-only">{t("landingPage.social.linkedin")}</span>
|
||||||
<LinkedInIcon className="size-5" />
|
<LinkedInIcon className="size-5" />
|
||||||
</a>
|
</a>
|
||||||
</Button>
|
</Button>
|
||||||
@@ -59,8 +67,8 @@ export default function Home() {
|
|||||||
href="https://www.instagram.com/nico.hdr8/"
|
href="https://www.instagram.com/nico.hdr8/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
aria-label="Instagram"
|
|
||||||
>
|
>
|
||||||
|
<span className="sr-only">{t("landingPage.social.instagram")}</span>
|
||||||
<InstagramIcon className="size-5" />
|
<InstagramIcon className="size-5" />
|
||||||
</a>
|
</a>
|
||||||
</Button>
|
</Button>
|
||||||
@@ -69,8 +77,8 @@ export default function Home() {
|
|||||||
href="https://www.facebook.com/nico.haider.33/"
|
href="https://www.facebook.com/nico.haider.33/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
aria-label="Facebook"
|
|
||||||
>
|
>
|
||||||
|
<span className="sr-only">{t("landingPage.social.facebook")}</span>
|
||||||
<FacebookIcon className="size-5" />
|
<FacebookIcon className="size-5" />
|
||||||
</a>
|
</a>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
+10
-1
@@ -16,6 +16,15 @@
|
|||||||
"landingPage": {
|
"landingPage": {
|
||||||
"title": "Hi, ich bin Nico Haider.",
|
"title": "Hi, ich bin Nico Haider.",
|
||||||
"subtitle": "Softwareentwickler für Webseiten, Web-Apps, Mobile-Apps, Desktop-Apps und vieles mehr.",
|
"subtitle": "Softwareentwickler für Webseiten, Web-Apps, Mobile-Apps, Desktop-Apps und vieles mehr.",
|
||||||
"location": "Dobersberg, Niederösterreich"
|
"location": "Dobersberg, Niederösterreich",
|
||||||
|
"contact": {
|
||||||
|
"email": "E-Mail senden",
|
||||||
|
"phone": "Telefonnummer anrufen"
|
||||||
|
},
|
||||||
|
"social": {
|
||||||
|
"linkedin": "LinkedIn-Profil öffnen",
|
||||||
|
"instagram": "Instagram-Profil öffnen",
|
||||||
|
"facebook": "Facebook-Profil öffnen"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,5 +12,19 @@
|
|||||||
"light": "Light",
|
"light": "Light",
|
||||||
"dark": "Dark",
|
"dark": "Dark",
|
||||||
"system": "System"
|
"system": "System"
|
||||||
|
},
|
||||||
|
"landingPage": {
|
||||||
|
"title": "Hi, I'm Nico Haider.",
|
||||||
|
"subtitle": "Software developer for websites, web apps, mobile apps, desktop apps, and more.",
|
||||||
|
"location": "Dobersberg, Lower Austria",
|
||||||
|
"contact": {
|
||||||
|
"email": "Send email",
|
||||||
|
"phone": "Call phone number"
|
||||||
|
},
|
||||||
|
"social": {
|
||||||
|
"linkedin": "Open LinkedIn profile",
|
||||||
|
"instagram": "Open Instagram profile",
|
||||||
|
"facebook": "Open Facebook profile"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user