SEO optimization

This commit is contained in:
HangerThem 2024-08-12 16:28:02 +02:00
parent 8b468d2bb6
commit 0705772ef6
7 changed files with 38 additions and 10 deletions

View file

@ -90,6 +90,7 @@ export default function About() {
I've built{" "} I've built{" "}
<Link <Link
href="https://github.com/HangerThem/linkboard" href="https://github.com/HangerThem/linkboard"
aria-label="Linkboard a cool alternative to Linktree"
referrerPolicy="no-referrer" referrerPolicy="no-referrer"
target="_blank" target="_blank"
> >
@ -98,6 +99,7 @@ export default function About() {
, a cool alternative to Linktree, and I&apos;m currently developing{" "} , a cool alternative to Linktree, and I&apos;m currently developing{" "}
<Link <Link
href="https://github.com/HangerThem/ephemr" href="https://github.com/HangerThem/ephemr"
aria-label="Ephemr a simple social network"
referrerPolicy="no-referrer" referrerPolicy="no-referrer"
target="_blank" target="_blank"
> >

View file

@ -115,6 +115,7 @@ export default function Contact() {
<button <button
type="submit" type="submit"
disabled={!data.name || !data.email || !data.message || loading} disabled={!data.name || !data.email || !data.message || loading}
aria-label="Send email"
> >
{loading ? "Sending..." : "Send"} {loading ? "Sending..." : "Send"}
</button> </button>
@ -123,6 +124,7 @@ export default function Contact() {
<SocialMedia> <SocialMedia>
<Link <Link
href="https://www.instagram.com/ferda_borisjuk/" href="https://www.instagram.com/ferda_borisjuk/"
arial-label="Instagram"
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"
> >
@ -130,6 +132,7 @@ export default function Contact() {
</Link> </Link>
<Link <Link
href="https://github.com/HangerThem" href="https://github.com/HangerThem"
arial-label="Github"
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"
> >
@ -137,6 +140,7 @@ export default function Contact() {
</Link> </Link>
<Link <Link
href="https://discord.com/users/495134242825699328" href="https://discord.com/users/495134242825699328"
arial-label="Discord"
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"
> >
@ -144,6 +148,7 @@ export default function Contact() {
</Link> </Link>
<Link <Link
href="https://www.linkedin.com/in/franti%C5%A1ek-borisjuk-022686225/" href="https://www.linkedin.com/in/franti%C5%A1ek-borisjuk-022686225/"
arial-label="Linkedin"
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"
> >

View file

@ -41,12 +41,20 @@ export default function Footer() {
<FooterContent> <FooterContent>
<p> <p>
Made with by{" "} Made with by{" "}
<Link href="https://github.com/HangerThem">Frank Borisjuk</Link> <Link
href="https://github.com/HangerThem"
aria-label="Frank Borisjuk's GitHub"
>
Frank Borisjuk
</Link>
</p> </p>
<p>&copy; 2024 - All rights reserved</p> <p>&copy; 2024 - All rights reserved</p>
<p> <p>
Sources available on{" "} Sources available on{" "}
<Link href="https://github.com/HangerThem/hangerthem.com"> <Link
href="https://github.com/HangerThem/hangerthem.com"
aria-label="This site's repository on GitHub"
>
GitHub GitHub
</Link> </Link>
</p> </p>

View file

@ -348,7 +348,9 @@ const Navbar = () => {
<NavbarContainer> <NavbarContainer>
<Topbar> <Topbar>
<Title> <Title>
<Link href="/">HangerThem</Link> <Link href="/" aria-label="HangerThem's Home Page">
HangerThem
</Link>
</Title> </Title>
<HamburgerWrapper <HamburgerWrapper
ref={hanburgerRef} ref={hanburgerRef}
@ -364,6 +366,7 @@ const Navbar = () => {
<li key={link.id}> <li key={link.id}>
<Link <Link
href={link.href} href={link.href}
arial-label={link.text}
className={navState.activeTag === link.id ? "active" : ""} className={navState.activeTag === link.id ? "active" : ""}
onClick={() => onClick={() =>
setNavState((prev) => ({ ...prev, activeTag: link.id })) setNavState((prev) => ({ ...prev, activeTag: link.id }))
@ -376,7 +379,11 @@ const Navbar = () => {
</LinksContainer> </LinksContainer>
<SocialLinksContainer> <SocialLinksContainer>
{socialLinks.map((socialLink) => ( {socialLinks.map((socialLink) => (
<Link key={socialLink.id} href={socialLink.href}> <Link
key={socialLink.id}
href={socialLink.href}
aria-label={socialLink.text}
>
{socialLink.icon} {socialLink.icon}
{socialLink.text} {socialLink.text}
</Link> </Link>

View file

@ -269,6 +269,7 @@ const Projects = () => {
href={project.href} href={project.href}
target="_blank" target="_blank"
title="View Project" title="View Project"
arial-label="View Project"
> >
View Project View Project
</ViewLink> </ViewLink>
@ -277,6 +278,7 @@ const Projects = () => {
href={project.source} href={project.source}
target="_blank" target="_blank"
title="View Source" title="View Source"
arial-label="View Source"
> >
<Git size={30} /> <Git size={30} />
</SourceLink> </SourceLink>
@ -284,10 +286,10 @@ const Projects = () => {
</ProjectCard> </ProjectCard>
))} ))}
</CarouselWrapper> </CarouselWrapper>
<PrevButton onClick={handlePrev}> <PrevButton onClick={handlePrev} aria-label="Previous Project">
<CaretLeftFill size={50} /> <CaretLeftFill size={50} />
</PrevButton> </PrevButton>
<NextButton onClick={handleNext}> <NextButton onClick={handleNext} aria-label="Next Project">
<CaretRightFill size={50} /> <CaretRightFill size={50} />
</NextButton> </NextButton>
<CarouselIndicator> <CarouselIndicator>

View file

@ -100,7 +100,7 @@ export default function Skills() {
<Categories> <Categories>
{skills.languages && ( {skills.languages && (
<SkillCategory> <SkillCategory>
<h4>Languages</h4> <h3>Languages</h3>
<ul> <ul>
{skills.languages.map((language, index) => ( {skills.languages.map((language, index) => (
<li key={index}> <li key={index}>
@ -115,7 +115,7 @@ export default function Skills() {
)} )}
{skills.programmingLanguages && ( {skills.programmingLanguages && (
<SkillCategory> <SkillCategory>
<h4>Programming Languages</h4> <h3>Programming Languages</h3>
<ul> <ul>
{skills.programmingLanguages.map( {skills.programmingLanguages.map(
(programmingLanguage, index) => ( (programmingLanguage, index) => (
@ -132,7 +132,7 @@ export default function Skills() {
)} )}
{skills.technologies && ( {skills.technologies && (
<SkillCategory> <SkillCategory>
<h4>Technologies</h4> <h3>Technologies</h3>
<ul> <ul>
{skills.technologies.map((technology, index) => ( {skills.technologies.map((technology, index) => (
<li key={index}> <li key={index}>
@ -147,7 +147,7 @@ export default function Skills() {
)} )}
{skills.tools && ( {skills.tools && (
<SkillCategory> <SkillCategory>
<h4>Tools</h4> <h3>Tools</h3>
<ul> <ul>
{skills.tools.map((tool, index) => ( {skills.tools.map((tool, index) => (
<li key={index}> <li key={index}>

View file

@ -56,4 +56,8 @@ export const GlobalStyle = createGlobalStyle`
color: rgb(var(--primary), 0.8); color: rgb(var(--primary), 0.8);
} }
} }
.grecaptcha-badge {
visibility: hidden !important;
}
` `