-
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.
Merge pull request #33 from fossnsbm/feat/development/21-registerNow
feat: Register now section
- Loading branch information
Showing
6 changed files
with
86 additions
and
3 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,11 +1,21 @@ | ||
import ExampleCard from "@/components/cards/ExampleCard"; | ||
import RegisterNowCard from "@/components/cards/registerNowCard"; | ||
import ExampleForm from "@/components/forms/ExampleForm"; | ||
import EventDetails from "@/components/landing/eventDetails"; | ||
import HeroSection from "@/components/landing/hero"; | ||
|
||
export default function Home() { | ||
return ( | ||
<div> | ||
<div className="flex flex-col h-screen justify-center items-center gap-10"> | ||
<ExampleForm /> | ||
<ExampleCard /> | ||
</div> | ||
<HeroSection /> | ||
<EventDetails /> | ||
<div className="hidden md:block"> | ||
<RegisterNowCard /> | ||
</div> | ||
</div> | ||
); | ||
} |
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,32 @@ | ||
"use client"; | ||
|
||
import React from "react"; | ||
import Container from "../layout/Container"; | ||
import Image from "next/image"; | ||
import { Button } from "../ui/button"; | ||
|
||
export default function RegisterNowCard() { | ||
return ( | ||
<div className="bg-slate-900"> | ||
<Container> | ||
<div className="relative flex items-center justify-center py-12"> | ||
<Image | ||
src="/assets/register-now-bg.png" | ||
width={1200} | ||
height={100} | ||
alt="Register Now" | ||
/> | ||
<div className="w-full absolute z-10 flex flex-col gap-8 md:flex-row items-center justify-between lg:px-36 md:px-16"> | ||
<div className="w-full md:w-1/2 uppercase text-base md:text-3xl lg:text-6xl"> | ||
lorem ipsum dolor sit amet consectetur? | ||
</div> | ||
<div className="flex flex-col gap-6 items-center justify-center"> | ||
<Button size="lg">Coming Soon</Button> | ||
<div className="md:text-base font-mono text-center">*The registration will be opening soon</div> | ||
</div> | ||
</div> | ||
</div> | ||
</Container> | ||
</div> | ||
); | ||
} |
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 |
---|---|---|
|
@@ -594,6 +594,13 @@ | |
dependencies: | ||
"@types/react" "*" | ||
|
||
"@types/react-loader-spinner@^4.0.0": | ||
version "4.0.0" | ||
resolved "https://registry.yarnpkg.com/@types/react-loader-spinner/-/react-loader-spinner-4.0.0.tgz#20e58530c120529f3e7d9c26f950b9c80575f080" | ||
integrity sha512-FKW/yD3KwpydC8gsLmdWCOW0v/aezTvxcqqU0umNHa4QNkVF37UgOeh6DgXIPkxRm/m+6fcgW9XYK6Ff+HCd3A== | ||
dependencies: | ||
react-loader-spinner "*" | ||
|
||
"@types/react@*", "@types/react@^18": | ||
version "18.3.1" | ||
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.1.tgz#fed43985caa834a2084d002e4771e15dfcbdbe8e" | ||
|
@@ -1128,6 +1135,11 @@ css-color-keywords@^1.0.0: | |
resolved "https://registry.yarnpkg.com/css-color-keywords/-/css-color-keywords-1.0.0.tgz#fea2616dc676b2962686b3af8dbdbe180b244e05" | ||
integrity sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg== | ||
|
||
css-mediaquery@^0.1.2: | ||
version "0.1.2" | ||
resolved "https://registry.yarnpkg.com/css-mediaquery/-/css-mediaquery-0.1.2.tgz#6a2c37344928618631c54bd33cedd301da18bea0" | ||
integrity sha512-COtn4EROW5dBGlE/4PiKnh6rZpAPxDeFLaEEwt4i10jpDMFt2EhQGS79QmmrO+iKCHv0PU/HrOWEhijFd1x99Q== | ||
|
||
[email protected]: | ||
version "3.2.0" | ||
resolved "https://registry.yarnpkg.com/css-to-react-native/-/css-to-react-native-3.2.0.tgz#cdd8099f71024e149e4f6fe17a7d46ecd55f1e32" | ||
|
@@ -1981,6 +1993,11 @@ husky@^9.0.11: | |
resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.11.tgz#fc91df4c756050de41b3e478b2158b87c1e79af9" | ||
integrity sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw== | ||
|
||
hyphenate-style-name@^1.0.0: | ||
version "1.0.4" | ||
resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz#691879af8e220aea5750e8827db4ef62a54e361d" | ||
integrity sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ== | ||
|
||
ignore@^5.2.0: | ||
version "5.3.1" | ||
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef" | ||
|
@@ -2459,6 +2476,13 @@ lucide-react@^0.376.0: | |
resolved "https://registry.yarnpkg.com/lucide-react/-/lucide-react-0.376.0.tgz#79768ff670f2ebabf03cd5a7dccee9915859781a" | ||
integrity sha512-g91IX3ERD6yUR1TL2dsL4BkcGygpZz/EsqjAeL/kcRQV0EApIOr/9eBfKhYOVyQIcGGuotFGjF3xKLHMEz+b7g== | ||
|
||
matchmediaquery@^0.4.2: | ||
version "0.4.2" | ||
resolved "https://registry.yarnpkg.com/matchmediaquery/-/matchmediaquery-0.4.2.tgz#22582bd4ae63ad9f54c53001bba80cbed0f7eafa" | ||
integrity sha512-wrZpoT50ehYOudhDjt/YvUJc6eUzcdFPdmbizfgvswCKNHD1/OBOHYJpHie+HXpu6bSkEGieFMYk6VuutaiRfA== | ||
dependencies: | ||
css-mediaquery "^0.1.2" | ||
|
||
meow@^12.0.1: | ||
version "12.1.1" | ||
resolved "https://registry.yarnpkg.com/meow/-/meow-12.1.1.tgz#e558dddbab12477b69b2e9a2728c327f191bace6" | ||
|
@@ -2864,7 +2888,7 @@ prelude-ls@^1.2.1: | |
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" | ||
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== | ||
|
||
prop-types@^15.8.1: | ||
prop-types@^15.6.1, prop-types@^15.8.1: | ||
version "15.8.1" | ||
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" | ||
integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== | ||
|
@@ -2911,7 +2935,7 @@ react-is@^18.2.0: | |
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.3.1.tgz#e83557dc12eae63a99e003a46388b1dcbb44db7e" | ||
integrity sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg== | ||
|
||
react-loader-spinner@^6.1.6: | ||
react-loader-spinner@*, react-loader-spinner@^6.1.6: | ||
version "6.1.6" | ||
resolved "https://registry.yarnpkg.com/react-loader-spinner/-/react-loader-spinner-6.1.6.tgz#744d84a9763e963b565054f4f281dadfbd17e9e9" | ||
integrity sha512-x5h1Jcit7Qn03MuKlrWcMG9o12cp9SNDVHVJTNRi9TgtGPKcjKiXkou4NRfLAtXaFB3+Z8yZsVzONmPzhv2ErA== | ||
|
@@ -2927,6 +2951,16 @@ react-redux@^9.1.1: | |
"@types/use-sync-external-store" "^0.0.3" | ||
use-sync-external-store "^1.0.0" | ||
|
||
react-responsive@^10.0.0: | ||
version "10.0.0" | ||
resolved "https://registry.yarnpkg.com/react-responsive/-/react-responsive-10.0.0.tgz#657c7a90823cd565f43aa5918bd8eb0cd2c91c91" | ||
integrity sha512-N6/UiRLGQyGUqrarhBZmrSmHi2FXSD++N5VbSKsBBvWfG0ZV7asvUBluSv5lSzdMyEVjzZ6Y8DL4OHABiztDOg== | ||
dependencies: | ||
hyphenate-style-name "^1.0.0" | ||
matchmediaquery "^0.4.2" | ||
prop-types "^15.6.1" | ||
shallow-equal "^3.1.0" | ||
|
||
react@^18: | ||
version "18.3.1" | ||
resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891" | ||
|
@@ -3113,6 +3147,11 @@ set-function-name@^2.0.1, set-function-name@^2.0.2: | |
functions-have-names "^1.2.3" | ||
has-property-descriptors "^1.0.2" | ||
|
||
shallow-equal@^3.1.0: | ||
version "3.1.0" | ||
resolved "https://registry.yarnpkg.com/shallow-equal/-/shallow-equal-3.1.0.tgz#e7a54bac629c7f248eff6c2f5b63122ba4320bec" | ||
integrity sha512-pfVOw8QZIXpMbhBWvzBISicvToTiM5WBF1EeAUZDDSb5Dt29yl4AYbyywbJFSEsRUMr7gJaxqCdr4L3tQf9wVg== | ||
|
||
[email protected]: | ||
version "1.1.0" | ||
resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" | ||
|