File tree Expand file tree Collapse file tree 4 files changed +31
-3
lines changed
features/welcome/components/welcome-section Expand file tree Collapse file tree 4 files changed +31
-3
lines changed Original file line number Diff line number Diff line change 3636}
3737@layer base {
3838 * {
39- @apply border-border;
39+ @apply scroll-smooth border-border;
4040 }
4141 body {
4242 @apply bg-background text-foreground;
Original file line number Diff line number Diff line change 1+ import { WelcomePage } from '@/features/welcome/components/welcome-section'
12import { Header } from '@/layouts/header'
23
34export default function Home ( ) {
45 return (
5- < main className = "space-y-10" >
6+ < main >
67 < Header />
8+ < WelcomePage />
79 </ main >
810 )
911}
Original file line number Diff line number Diff line change 1+ import { Section } from '@/layouts/section'
2+ import { ChevronDown } from 'lucide-react'
3+ import Link from 'next/link'
4+
5+ export const WelcomePage = ( ) => {
6+ return (
7+ < Section className = "min-h-screen" >
8+ < Section . Container className = "flex flex-col items-start" >
9+ < div className = "flex flex-col items-start gap-2" >
10+ < span className = "text-lg font-medium lg:text-2xl xl:text-4xl" >
11+ Welcome to my Portfolio
12+ </ span >
13+ < span className = "text-lg font-medium lg:text-2xl xl:text-4xl" >
14+ Bem vindo(a) ao meu portfólio
15+ </ span >
16+ </ div >
17+ < Link className = "absolute bottom-2 self-center" href = "#content" >
18+ < div className = "flex cursor-pointer flex-col items-center gap-2 rounded-lg p-4 text-center" >
19+ < span > Clique aqui para ver mais!</ span >
20+ < ChevronDown size = { 32 } />
21+ </ div >
22+ </ Link >
23+ </ Section . Container >
24+ </ Section >
25+ )
26+ }
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { Section } from '../section'
33
44export const Header = ( ) => {
55 return (
6- < Section >
6+ < Section className = "fixed top-0" >
77 < Section . Container className = "justify-end" asChild >
88 < header >
99 < nav >
You can’t perform that action at this time.
0 commit comments