-
-
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.
- Loading branch information
1 parent
60a0495
commit dd99db0
Showing
10 changed files
with
118 additions
and
100 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,23 +1,23 @@ | ||
import { | ||
About, | ||
BackToTop, | ||
Contact, | ||
Footer, | ||
Header, | ||
Projects, | ||
Start, | ||
About, | ||
BackToTop, | ||
Contact, | ||
Footer, | ||
Header, | ||
Projects, | ||
Start, | ||
} from "@/components"; | ||
|
||
export default function Home() { | ||
return ( | ||
<main> | ||
<Header /> | ||
<BackToTop/> | ||
<Start /> | ||
<About /> | ||
<Projects /> | ||
<Contact /> | ||
<Footer /> | ||
</main> | ||
); | ||
return ( | ||
<main> | ||
<Header.Root /> | ||
<BackToTop /> | ||
<Start /> | ||
<About.Root /> | ||
<Projects /> | ||
<Contact /> | ||
<Footer /> | ||
</main> | ||
); | ||
} |
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,30 @@ | ||
"use client" | ||
|
||
import { useTranslations } from "next-intl"; | ||
import { About, Icon } from "@/components"; | ||
|
||
export function AboutRoot() { | ||
const t = useTranslations("About"); | ||
|
||
return ( | ||
<section id="about" className="grid justify-center h-screen text-white" > | ||
<div className="mt-8 flex justify-center items-center text-4xl">{t("Title")}</div> | ||
<div className="-mb-16 flex overflow-wrap break-word"> | ||
<img | ||
src="PPF.jpeg" | ||
alt="Miguel Alexandre Uhlein PPF" | ||
className="size-80 mt-2 mr-8 inline-block rounded-xl" | ||
/> | ||
<div className="mt-8 max-w-xl"> | ||
<About.Text /> | ||
</div> | ||
</div> | ||
<div className="flex gap-2"> | ||
<Icon className="size-12" name="NodeJS" /> | ||
<Icon className="size-12" name="TypeScript" /> | ||
<Icon className="size-12" name="JavaScript" /> | ||
<Icon className="size-12" name="NestJS" /> | ||
</div> | ||
</section> | ||
); | ||
} |
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
import { AboutRoot } from "./about-root"; | ||
import { AboutText } from "./about-text"; | ||
|
||
export const About = { | ||
Root: AboutRoot, | ||
Text: AboutText, | ||
} |
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 @@ | ||
import { ChangeLanguage, Header, Theme } from "@/components"; | ||
|
||
export function HeaderRoot() { | ||
return ( | ||
<section | ||
id="header" | ||
className="fixed w-screen h-[100px] flex bg-zinc-400 dark:bg-zinc-900 border-b-4 border-green-700" | ||
> | ||
<nav className="px-4 flex items-center justify-between w-full"> | ||
<div className="flex-1"></div> | ||
<div className="flex justify-center items-center w-full gap-4 ml-28"> | ||
<Header.Anchor target="about" /> | ||
<Header.Anchor target="projects" /> | ||
<Header.Anchor target="contact" /> | ||
</div> | ||
<div className="flex gap-2 mr-8"> | ||
<Theme.Toggle /> | ||
<ChangeLanguage /> | ||
</div> | ||
</nav> | ||
</section> | ||
); | ||
} |
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
import { HeaderAnchor } from "./header-anchor"; | ||
import { HeaderRoot } from "./header-root"; | ||
|
||
export const Header = { | ||
Root: HeaderRoot, | ||
Anchor: HeaderAnchor, | ||
} |
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,14 +1,11 @@ | ||
export * from "./about/about"; | ||
export * from "./about/about-text" | ||
export * from "./about"; | ||
export * from "./back-to-top"; | ||
export * from "./change-language"; | ||
export * from "./contact" | ||
export * from "./footer" | ||
export * from "./header/header" | ||
export * from "./header/header-anchor" | ||
export * from "./header" | ||
export * from "./icon"; | ||
export * from "./main-container" | ||
export * from "./projects" | ||
export * from "./start" | ||
export * from "./theme/theme-provider" | ||
export * from "./theme/toggle-theme" | ||
export * from "./theme" |
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,7 @@ | ||
import { ThemeProvider } from "./theme-provider"; | ||
import { ToggleTheme } from "./toggle-theme"; | ||
|
||
export const Theme = { | ||
Provider: ThemeProvider, | ||
Toggle: ToggleTheme | ||
} |