-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: finish contact me and footer sections
- Loading branch information
1 parent
2cc66cf
commit 10902d8
Showing
6 changed files
with
113 additions
and
8 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { ITech } from '@/constants/techs' | ||
|
||
type IBadgeTechProps = ITech | ||
|
||
export default function BadgeTech(props: Readonly<IBadgeTechProps>) { | ||
return ( | ||
<div | ||
key={props.slug} | ||
className="rounded-md bg-white/75 px-1.5 py-0.5 text-slate-900" | ||
> | ||
<p className="flex-none font-medium">{props.description}</p> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,37 @@ | ||
import { ITech } from '@/constants/techs' | ||
import ImageTechStack from '../ImageTechStack' | ||
import BadgeTech from '../BadgeTech' | ||
|
||
export default function Footer() { | ||
return <></>; | ||
const currYear = new Date().getFullYear() | ||
const techs: ITech[] = [ | ||
{ | ||
description: 'NextJS', | ||
slug: 'next', | ||
}, | ||
{ | ||
description: 'ReactJS', | ||
slug: 'react', | ||
}, | ||
{ | ||
description: 'TailwindCSS', | ||
slug: 'tailwind', | ||
}, | ||
] | ||
return ( | ||
<footer className="bg-slate-900 py-4"> | ||
<div className="flex justify-center gap-2"> | ||
<p className="text-white"> | ||
©️ {currYear} Made by Alexandre Batistella with | ||
</p> | ||
{techs.map((tech) => ( | ||
<BadgeTech | ||
description={tech.description} | ||
slug={tech.slug} | ||
key={tech.slug} | ||
/> | ||
))} | ||
</div> | ||
</footer> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
import { socials } from '@/constants/socials' | ||
import { CloudDownloadIcon, Mail } from 'lucide-react' | ||
import Image from 'next/image' | ||
import Link from 'next/link' | ||
|
||
export default function SectionContactMe() { | ||
return ( | ||
<section | ||
|
@@ -8,6 +13,37 @@ export default function SectionContactMe() { | |
<p className="mb-3 text-center text-3xl font-extrabold text-white"> | ||
Contact me | ||
</p> | ||
<div className="mt-12 flex justify-center gap-4"> | ||
{socials.map((social) => ( | ||
<Link | ||
key={social.slug} | ||
href={social.url} | ||
className="hover:opacity-80" | ||
> | ||
<Image | ||
src={social.iconUrl} | ||
alt={social.slug} | ||
width={32} | ||
height={32} | ||
/> | ||
</Link> | ||
))} | ||
</div> | ||
<div className="mt-4 flex justify-center"> | ||
<Link href="mailto:[email protected]" className="flex gap-2"> | ||
<Mail color="white" /> | ||
<p className="text-white">[email protected]</p> | ||
</Link> | ||
</div> | ||
<div className="mt-8 flex justify-center"> | ||
<Link | ||
href="/docs/Alexandre_Batistella_Bellas_CV.pdf" | ||
className="flex gap-4 rounded-xl bg-amber-500/75 px-8 py-3 hover:opacity-80" | ||
> | ||
<CloudDownloadIcon className="text-amber-950" /> | ||
<p className="font-bold text-amber-950">Download CV</p> | ||
</Link> | ||
</div> | ||
</div> | ||
</section> | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
export interface ISocial { | ||
url: string | ||
iconUrl: string | ||
slug: string | ||
} | ||
|
||
export const socials: ISocial[] = [ | ||
{ | ||
iconUrl: 'https://cdn.simpleicons.org/linkedin/white', | ||
slug: 'linkedin', | ||
url: 'https://linkedin.com/in/alebatistella', | ||
}, | ||
{ | ||
url: 'https://github.com/AlexandreBellas', | ||
iconUrl: 'https://cdn.simpleicons.org/github/white', | ||
slug: 'github', | ||
}, | ||
{ | ||
url: 'https://x.com/AlexandreBellas', | ||
iconUrl: 'https://cdn.simpleicons.org/x/white', | ||
slug: 'x/twitter', | ||
}, | ||
] |