diff --git a/app/globals.css b/app/globals.css index 35b5a15..f049998 100644 --- a/app/globals.css +++ b/app/globals.css @@ -48,4 +48,4 @@ body { .text-stroke-white-thin { -webkit-text-stroke: 2px #ffffff; paint-order: stroke fill; -} \ No newline at end of file +} diff --git a/app/layout.tsx b/app/layout.tsx index 316cec0..8f03ad5 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,7 +1,17 @@ import type { Metadata } from "next"; -import { Geist, Geist_Mono, Kanit } from "next/font/google"; +import { Geist, Geist_Mono, Kanit, Poppins } from "next/font/google"; import "./globals.css"; +export const poppins = Poppins({ + subsets: ["latin"], + weight: ["400", "500", "600"], +}); + +export const kanit = Kanit({ + weight: "800", + subsets: ["latin"], + display: "swap", +}); const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"], diff --git a/app/page.tsx b/app/page.tsx index 29040aa..e63705e 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,8 +1,14 @@ import Hero from "@/components/sections/hero-section" import StatsSection from "@/components/sections/stats-section" +import MailingList from '../components/MailingList/index.jsx' + export default function Home() { return ( +
+ +
+ );
diff --git a/components/MailingList/index.jsx b/components/MailingList/index.jsx new file mode 100644 index 0000000..ebc362f --- /dev/null +++ b/components/MailingList/index.jsx @@ -0,0 +1,139 @@ +import { kanit, poppins } from "@/app/layout"; +import Image from "next/image"; + +const MailingList = () => { + return ( +
+
+ lightning-effect +
+ +
+ lightning-effect +
+ +
+
+ soundhorn-svg +
+
+ +
+ Join Our Newsletter +
+ +
+
+
+
+ Decoration +
+ +
+
+ Be a part of our mailing list +
+ +
+
    + {[ + "Be the first ones to register for HackByte 4.0", + "Get updates about your application status", + "Get notified for exciting events!" + ].map((text, i) => ( +
  • +
    + bullet +
    + + {text} + +
  • + ))} +
+ +
+ HB 4.0 Logo +
+
+
+
+
+ +
+
+
+ + + +
+
+
+
+
+ ) +} + +export default MailingList diff --git a/next.config.ts b/next.config.ts index e9ffa30..2fa0b7c 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,7 +1,21 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { - /* config options here */ + async redirects() { + return [ + { + source: "/aftermovie", + destination: "https://www.youtube.com/watch?v=xKLlWAJvdDQ", + permanent: false, + }, + { + source: "/prospectus", + destination: + "https://drive.google.com/file/d/1Zu56vhpSGQQDViqBLSbrVxeTxNf2F9Wl/view", + permanent: false, + }, + ]; + }, }; export default nextConfig; diff --git a/package-lock.json b/package-lock.json index a133b4e..ee86105 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,17 +9,18 @@ "version": "0.1.0", "dependencies": { "next": "16.1.1", + "postcss": "^8.5.6", "react": "19.2.3", "react-dom": "19.2.3" }, "devDependencies": { - "@tailwindcss/postcss": "^4", + "@tailwindcss/postcss": "^4.1.18", "@types/node": "^20", "@types/react": "^19", "@types/react-dom": "^19", "eslint": "^9", "eslint-config-next": "16.1.1", - "tailwindcss": "^4", + "tailwindcss": "^4.1.18", "typescript": "^5" }, "engines": { @@ -70,7 +71,6 @@ "integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@babel/generator": "^7.28.5", @@ -1565,7 +1565,6 @@ "integrity": "sha512-MWtvHrGZLFttgeEj28VXHxpmwYbor/ATPYbBfSFZEIRK0ecCFLl2Qo55z52Hss+UV9CRN7trSeq1zbgx7YDWWg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "csstype": "^3.2.2" } @@ -1625,7 +1624,6 @@ "integrity": "sha512-hM5faZwg7aVNa819m/5r7D0h0c9yC4DUlWAOvHAtISdFTc8xB86VmX5Xqabrama3wIPJ/q9RbGS1worb6JfnMg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.50.1", "@typescript-eslint/types": "8.50.1", @@ -2125,7 +2123,6 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -2466,7 +2463,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "baseline-browser-mapping": "^2.9.0", "caniuse-lite": "^1.0.30001759", @@ -3034,7 +3030,6 @@ "integrity": "sha512-LEyamqS7W5HB3ujJyvi0HQK/dtVINZvd5mAAp9eT5S/ujByGjiZLCzPcHVzuXbpJDJF/cxwHlfceVUDZ2lnSTw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", @@ -3220,7 +3215,6 @@ "integrity": "sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@rtsao/scc": "^1.1.0", "array-includes": "^3.1.9", @@ -5310,7 +5304,6 @@ "version": "8.5.6", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", - "dev": true, "funding": [ { "type": "opencollective", @@ -5393,7 +5386,6 @@ "resolved": "https://registry.npmjs.org/react/-/react-19.2.3.tgz", "integrity": "sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA==", "license": "MIT", - "peer": true, "engines": { "node": ">=0.10.0" } @@ -5403,7 +5395,6 @@ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.3.tgz", "integrity": "sha512-yELu4WmLPw5Mr/lmeEpox5rw3RETacE++JgHqQzd2dg+YbJuat3jH4ingc+WPZhxaoFzdv9y33G+F7Nl5O0GBg==", "license": "MIT", - "peer": true, "dependencies": { "scheduler": "^0.27.0" }, @@ -6092,7 +6083,6 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -6255,7 +6245,6 @@ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -6531,7 +6520,6 @@ "integrity": "sha512-0wZ1IRqGGhMP76gLqz8EyfBXKk0J2qo2+H3fi4mcUP/KtTocoX08nmIAHl1Z2kJIZbZee8KOpBCSNPRgauucjw==", "dev": true, "license": "MIT", - "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } diff --git a/package.json b/package.json index a02bead..a2cadaa 100644 --- a/package.json +++ b/package.json @@ -13,17 +13,18 @@ }, "dependencies": { "next": "16.1.1", + "postcss": "^8.5.6", "react": "19.2.3", "react-dom": "19.2.3" }, "devDependencies": { - "@tailwindcss/postcss": "^4", + "@tailwindcss/postcss": "^4.1.18", "@types/node": "^20", "@types/react": "^19", "@types/react-dom": "^19", "eslint": "^9", "eslint-config-next": "16.1.1", - "tailwindcss": "^4", + "tailwindcss": "^4.1.18", "typescript": "^5" } } diff --git a/public/MailingList/bandaid.svg b/public/MailingList/bandaid.svg new file mode 100644 index 0000000..3a598e2 --- /dev/null +++ b/public/MailingList/bandaid.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/MailingList/bullet_p.svg b/public/MailingList/bullet_p.svg new file mode 100644 index 0000000..33a1e17 --- /dev/null +++ b/public/MailingList/bullet_p.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/MailingList/join_maillist.svg b/public/MailingList/join_maillist.svg new file mode 100644 index 0000000..7f958cd --- /dev/null +++ b/public/MailingList/join_maillist.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/public/MailingList/join_newsletter.svg b/public/MailingList/join_newsletter.svg new file mode 100644 index 0000000..62abe2e --- /dev/null +++ b/public/MailingList/join_newsletter.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/public/MailingList/lightning_left.svg b/public/MailingList/lightning_left.svg new file mode 100644 index 0000000..fea7586 --- /dev/null +++ b/public/MailingList/lightning_left.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/MailingList/lightning_right.svg b/public/MailingList/lightning_right.svg new file mode 100644 index 0000000..82bb340 --- /dev/null +++ b/public/MailingList/lightning_right.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/MailingList/siren.svg b/public/MailingList/siren.svg new file mode 100644 index 0000000..44e5fac --- /dev/null +++ b/public/MailingList/siren.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/file.svg b/public/file.svg deleted file mode 100644 index 004145c..0000000 --- a/public/file.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/globe.svg b/public/globe.svg deleted file mode 100644 index 567f17b..0000000 --- a/public/globe.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/hb4_warpped.svg b/public/hb4_warpped.svg new file mode 100644 index 0000000..290acfe --- /dev/null +++ b/public/hb4_warpped.svg @@ -0,0 +1,137 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/window.svg b/public/window.svg deleted file mode 100644 index b2b2a44..0000000 --- a/public/window.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file