-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add daisyui and implement basic home page layout
- Loading branch information
1 parent
367534a
commit a54955f
Showing
6 changed files
with
63 additions
and
4 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,5 +1,18 @@ | ||
function Hero() { | ||
return <div className="min-h-screen flex flex-col"></div>; | ||
return ( | ||
<div class="hero bg-base-200"> | ||
<div class="hero-content text-center"> | ||
<div class="max-w-md"> | ||
<h1 class="text-5xl font-bold">./SoDA</h1> | ||
<p class="my-2">The Software Developers Association</p> | ||
<p class="my-4"> | ||
The premiere software development club for university students at Arizona State University | ||
</p> | ||
<button class="btn btn-primary">Get Started</button> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default Hero; |
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 Hero from "./Hero"; | ||
|
||
function Home() { | ||
return ( | ||
<div className="h-[50vh] grid grid-cols-2"> | ||
<Hero /> | ||
<div className="flex justify-center items-center"> | ||
Insert slideshow here | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default Home; |
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 |
---|---|---|
|
@@ -22,5 +22,5 @@ export default { | |
}, | ||
}, | ||
}, | ||
plugins: [], | ||
plugins: [require('daisyui')], | ||
}; |