From 1c97596015528b5359d94b09c3d7113070a59687 Mon Sep 17 00:00:00 2001 From: Op3k Date: Fri, 26 Dec 2025 13:44:37 +0530 Subject: [PATCH 1/2] MailList Component removed unnecessary --- app/globals.css | 1 + app/layout.tsx | 12 ++- app/page.tsx | 62 +---------- components/MailingList/index.jsx | 139 +++++++++++++++++++++++++ package-lock.json | 21 ++-- package.json | 5 +- public/MailingList/bandaid.svg | 41 ++++++++ public/MailingList/bullet_p.svg | 3 + public/MailingList/join_maillist.svg | 8 ++ public/MailingList/join_newsletter.svg | 21 ++++ public/MailingList/lightning_left.svg | 3 + public/MailingList/lightning_right.svg | 3 + public/MailingList/siren.svg | 38 +++++++ public/file.svg | 1 - public/globe.svg | 1 - public/hb4_warpped.svg | 137 ++++++++++++++++++++++++ public/next.svg | 1 - public/vercel.svg | 1 - public/window.svg | 1 - 19 files changed, 418 insertions(+), 81 deletions(-) create mode 100644 components/MailingList/index.jsx create mode 100644 public/MailingList/bandaid.svg create mode 100644 public/MailingList/bullet_p.svg create mode 100644 public/MailingList/join_maillist.svg create mode 100644 public/MailingList/join_newsletter.svg create mode 100644 public/MailingList/lightning_left.svg create mode 100644 public/MailingList/lightning_right.svg create mode 100644 public/MailingList/siren.svg delete mode 100644 public/file.svg delete mode 100644 public/globe.svg create mode 100644 public/hb4_warpped.svg delete mode 100644 public/next.svg delete mode 100644 public/vercel.svg delete mode 100644 public/window.svg diff --git a/app/globals.css b/app/globals.css index a2dc41e..3de499f 100644 --- a/app/globals.css +++ b/app/globals.css @@ -24,3 +24,4 @@ body { color: var(--foreground); font-family: Arial, Helvetica, sans-serif; } + diff --git a/app/layout.tsx b/app/layout.tsx index f7fa87e..f7e3c7c 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,7 +1,17 @@ import type { Metadata } from "next"; -import { Geist, Geist_Mono } 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 295f8fd..a370801 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,65 +1,11 @@ import Image from "next/image"; +import MailingList from '../components/MailingList/index.jsx' + export default function Home() { return ( -
-
- Next.js logo -
-

- To get started, edit the page.tsx file. -

-

- Looking for a starting point or more instructions? Head over to{" "} - - Templates - {" "} - or the{" "} - - Learning - {" "} - center. -

-
-
- - Vercel logomark - Deploy Now - - - Documentation - -
-
+
+
); } 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/package-lock.json b/package-lock.json index 1f9c3bd..ee86105 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,18 +9,22 @@ "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": { + "node": "24" } }, "node_modules/@alloc/quick-lru": { @@ -67,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", @@ -1562,7 +1565,6 @@ "integrity": "sha512-MWtvHrGZLFttgeEj28VXHxpmwYbor/ATPYbBfSFZEIRK0ecCFLl2Qo55z52Hss+UV9CRN7trSeq1zbgx7YDWWg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "csstype": "^3.2.2" } @@ -1622,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", @@ -2122,7 +2123,6 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -2463,7 +2463,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "baseline-browser-mapping": "^2.9.0", "caniuse-lite": "^1.0.30001759", @@ -3031,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", @@ -3217,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", @@ -5307,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", @@ -5390,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" } @@ -5400,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" }, @@ -6089,7 +6083,6 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -6252,7 +6245,6 @@ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -6528,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/next.svg b/public/next.svg deleted file mode 100644 index 5174b28..0000000 --- a/public/next.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/vercel.svg b/public/vercel.svg deleted file mode 100644 index 7705396..0000000 --- a/public/vercel.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file 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 From 6bb6e20b1c68f7cb8417cd269b0ab2a3866c2466 Mon Sep 17 00:00:00 2001 From: Op3k Date: Fri, 26 Dec 2025 14:07:21 +0530 Subject: [PATCH 2/2] support for redirects --- next.config.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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;