-
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
Showing
13 changed files
with
251 additions
and
82 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Section } from "./Section"; | ||
|
||
export const Bio = () => { | ||
return ( | ||
<Section> | ||
<h1 className="font-caption text-5xl font-bold text-primary max-md:text-4xl max-sm:text-3xl">Who am I?</h1> | ||
<p>A graphic designer who got lost in the emptiness of code.</p> | ||
</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,65 @@ | ||
import { Section } from "./Section"; | ||
import { Textarea } from "./ui/textarea"; | ||
import { Button } from "./ui/button"; | ||
import { Input } from "./ui/input"; | ||
|
||
export const Form = () => { | ||
return ( | ||
<Section className="flex flex-col items-start justify-between gap-4 min-h-[calc(100vh-170px)]"> | ||
<form className="m-auto mr-56 ml-56 max-lg:mr-24 max-lg:ml-24 max-sm:mr-8 max-sm:ml-8"> | ||
<h1 className="font-caption text-5xl font-bold text-primary max-md:text-4xl max-sm:text-3xl"> | ||
Let's talk! | ||
</h1> | ||
<h2 className="font-caption font-extralight text-xl max-sm:text-xl"> | ||
If you have a question, a job opportunity, or a project in mind, don’t | ||
hesitate to reach out. I’m eager to connect and discuss how we can | ||
work together. | ||
</h2> | ||
<div className="flex flex-col gap-4 mt-8"> | ||
<div className="flex gap-4 max-lg:flex-col"> | ||
<div className="flex flex-[2] flex-col gap-1"> | ||
<label className="text-xs">First Name</label> | ||
<Input | ||
className="flex-1 rounded-lg p-3 hover:bg-accent/20" | ||
required | ||
/> | ||
</div> | ||
<div className="flex flex-[2] flex-col gap-1"> | ||
<label className="text-xs">Last Name</label> | ||
<Input | ||
className="flex-1 rounded-lg p-3 hover:bg-accent/20" | ||
required | ||
/> | ||
</div> | ||
</div> | ||
<div className="flex gap-4 max-lg:flex-col"> | ||
<div className="flex flex-[2] flex-col gap-1"> | ||
<label className="text-xs">Email</label> | ||
<Input | ||
className="flex-1 rounded-lg p-3 hover:bg-accent/20" | ||
required | ||
/> | ||
</div> | ||
<div className="flex flex-[2] flex-col gap-1"> | ||
<label className="text-xs">Company</label> | ||
<Input className="flex-1 rounded-lg p-3 hover:bg-accent/20" /> | ||
</div> | ||
</div> | ||
<div className="flex flex-[2] flex-col gap-1"> | ||
<label className="text-xs">Your message</label> | ||
<Textarea | ||
placeholder="Type your message here." | ||
className="flex-1 rounded-lg p-3 hover:bg-accent/20 resize-y min-h-[130px]" | ||
required | ||
/> | ||
</div> | ||
<div className="m-auto items-center mt-4"> | ||
<Button className="rounded-full font-semibold text-lg w-36"> | ||
Send | ||
</Button> | ||
</div> | ||
</div> | ||
</form> | ||
</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
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,25 @@ | ||
import * as React from "react" | ||
|
||
import { cn } from "@/lib/utils" | ||
|
||
export interface InputProps | ||
extends React.InputHTMLAttributes<HTMLInputElement> {} | ||
|
||
const Input = React.forwardRef<HTMLInputElement, InputProps>( | ||
({ className, type, ...props }, ref) => { | ||
return ( | ||
<input | ||
type={type} | ||
className={cn( | ||
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50", | ||
className | ||
)} | ||
ref={ref} | ||
{...props} | ||
/> | ||
) | ||
} | ||
) | ||
Input.displayName = "Input" | ||
|
||
export { Input } |
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,24 @@ | ||
import * as React from "react" | ||
|
||
import { cn } from "@/lib/utils" | ||
|
||
export interface TextareaProps | ||
extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {} | ||
|
||
const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>( | ||
({ className, ...props }, ref) => { | ||
return ( | ||
<textarea | ||
className={cn( | ||
"flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50", | ||
className | ||
)} | ||
ref={ref} | ||
{...props} | ||
/> | ||
) | ||
} | ||
) | ||
Textarea.displayName = "Textarea" | ||
|
||
export { Textarea } |
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,12 @@ | ||
import { Bio } from "../_components/Bio"; | ||
import { Spacing } from "../_components/Spacing"; | ||
|
||
export default function About() { | ||
return ( | ||
<main> | ||
<Spacing size="lg" /> | ||
<Bio/> | ||
<Spacing size="lg" /> | ||
</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,9 @@ | ||
import { Form } from "../_components/Form"; | ||
|
||
export default function Contact() { | ||
return ( | ||
<main> | ||
<Form/> | ||
</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
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,25 +1,25 @@ | ||
import { Contact } from "./_components/Contact"; | ||
import { Footer } from "./_components/Footer"; | ||
import { Header } from "./_components/Header"; | ||
import { Hero } from "./_components/Hero"; | ||
import { Skills } from "./_components/Skills"; | ||
import { Spacing } from "./_components/Spacing"; | ||
import { Status } from "./_components/Status"; | ||
|
||
export default function Home() { | ||
return ( | ||
<main> | ||
<Header /> | ||
<Spacing size="md" /> | ||
<Hero /> | ||
<Spacing size="md" /> | ||
<main className=""> | ||
<div className="p-28 border-b"> | ||
<Hero /> | ||
</div> | ||
<div className="bg-gradient-to-t from-violet-600/0 via-violet-600/0 to-violet-600/5 p-24 border-b "> | ||
<Status /> | ||
<Spacing size="md" /> | ||
</div> | ||
<div className="bg-violet-950 p-28 border-b bg-grid-pattern bg-grid-size"> | ||
<Skills /> | ||
<Spacing size="md" /> | ||
</div> | ||
<div className="p-28"> | ||
<Contact /> | ||
</div> | ||
<Spacing size="md" /> | ||
<Footer /> | ||
</main> | ||
); | ||
} |
Oops, something went wrong.