-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from uninus-opensource/feat/modules-herosection_v1
feat: fix hero section_v1
- Loading branch information
Showing
13 changed files
with
49 additions
and
54 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,12 @@ | ||
import { Navbar } from "@/components"; | ||
import { Hero } from "./modules"; | ||
import { FC, ReactElement } from "react"; | ||
|
||
export const LandingPage: FC = (): ReactElement => { | ||
return ( | ||
<> | ||
<Navbar /> | ||
<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,9 @@ | ||
import { FC, ReactElement } from "react"; | ||
|
||
export const About: FC = (): ReactElement => { | ||
return ( | ||
<section> | ||
<div></div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { FC, ReactElement } from "react"; | ||
|
||
export const Hero: FC = (): ReactElement => { | ||
return ( | ||
<section className="flex w-full min-h-2 items-center justify-center gap-x-56 px-16 bg-gray-200"> | ||
<div className="w-1/2"> | ||
<h2 className="font-bold text-4xl mb-3">GLORY HIMATIF</h2> | ||
<p>Welcome to Himpunan Mahasiswa Teknik Informatika</p> | ||
<p className="mb-6">Universitas Islam Nusantara</p> | ||
<button className="bg-blue-900 py-1 px-3 text-center text-white font-semibold rounded"> | ||
Masuk | ||
</button> | ||
</div> | ||
<div className="w-1/2 flex justify-end"> | ||
<img src="/Logo.png" className="w-[400px]" alt="Himatif" /> | ||
</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 |
---|---|---|
@@ -1 +1 @@ | ||
export * from "./homepage"; | ||
export * from "./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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import { createBrowserRouter } from "react-router-dom"; | ||
import { Homepage } from "./home/modules/homepage"; | ||
import { LandingPage } from "./home/default"; | ||
|
||
export const router = createBrowserRouter([ | ||
{ | ||
path: "/", | ||
element: <Homepage />, | ||
element: <LandingPage />, | ||
}, | ||
]); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1 +1 @@ | ||
export * from "./button"; | ||
export {}; |
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