File tree Expand file tree Collapse file tree 5 files changed +22
-71
lines changed Expand file tree Collapse file tree 5 files changed +22
-71
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- import { useState } from 'react'
2
- import reactLogo from './assets/react.svg'
3
- import viteLogo from '/vite.svg'
4
- import './App.css'
5
- import { Button } from "@/components/ui/button"
1
+
2
+
3
+ import LandingPage from './Pages/LandingPage'
4
+
6
5
function App ( ) {
7
- const [ count , setCount ] = useState ( 0 )
6
+
8
7
9
8
return (
10
9
< >
11
- < div >
12
- < a href = "https://vitejs.dev" target = "_blank" >
13
- < img src = { viteLogo } className = "logo" alt = "Vite logo" />
14
- </ a >
15
- < a href = "https://react.dev" target = "_blank" >
16
- < img src = { reactLogo } className = "logo react" alt = "React logo" />
17
- </ a >
18
- </ div >
19
- < h1 > Vite + React</ h1 >
20
- < div className = "card" >
21
- < button onClick = { ( ) => setCount ( ( count ) => count + 1 ) } >
22
- count is { count }
23
- </ button >
24
- < p >
25
- Edit < code > src/App.tsx</ code > and save to test HMR
26
- </ p >
27
- </ div >
28
- < p className = "read-the-docs" >
29
- Click on the Vite and React logos to learn more
30
- </ p >
31
- < Button > Click me</ Button >
10
+ < LandingPage />
32
11
</ >
33
12
)
34
13
}
Original file line number Diff line number Diff line change
1
+ import { Button } from "@/components/ui/button"
2
+
3
+ const LandingPage = ( ) => {
4
+ return (
5
+ < div className = "h-[100vh] flex flex-col justify-center items-center" >
6
+ < h1 className = "text-[128px] font-medium-" > LibraryHub</ h1 >
7
+ < p className = "text-[36px] font-medium" > Your central place for all library needs</ p >
8
+ < div className = "flex gap-[20px] mt-[50px]" >
9
+ < Button variant = "outline" > Create A Library</ Button >
10
+ < Button > Join A Library</ Button >
11
+ </ div >
12
+ </ div >
13
+ )
14
+ }
15
+
16
+ export default LandingPage
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments