Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,30 @@
body {
background: var(--background);
color: var(--foreground);
font-family: Arial, Helvetica, sans-serif;
font-family: var(--font-geist-sans), system-ui, -apple-system, "Segoe UI",
Roboto, Arial, sans-serif;
}

.font-kanit {
font-family: var(--font-kanit), var(--font-geist-sans), sans-serif;
}

.text-stroke-brand-thick {
-webkit-text-stroke: 10px #62009B;
paint-order: stroke fill;
}

.text-stroke-white-thick {
-webkit-text-stroke: 10px #ffffff;
paint-order: stroke fill;
}

.text-stroke-white-medium {
-webkit-text-stroke: 4px #ffffff;
paint-order: stroke fill;
}

.text-stroke-white-thin {
-webkit-text-stroke: 2px #ffffff;
paint-order: stroke fill;
}
11 changes: 9 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { Geist, Geist_Mono, Kanit } from "next/font/google";
import "./globals.css";

const geistSans = Geist({
Expand All @@ -12,6 +12,13 @@ const geistMono = Geist_Mono({
subsets: ["latin"],
});

const kanit = Kanit({
weight: ["400", "700"],
style: ["normal", "italic"],
subsets: ["latin"],
variable: "--font-kanit",
});

export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
Expand All @@ -25,7 +32,7 @@ export default function RootLayout({
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
className={`${geistSans.variable} ${geistMono.variable} ${kanit.variable} antialiased overflow-x-hidden`}
>
{children}
</body>
Expand Down
4 changes: 3 additions & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import Hero from "@/components/sections/hero-section"
import StatsSection from "@/components/sections/stats-section"

export default function Home() {
return (
<main className="h-[500vh] pt-[30vh]">
<main>
<Hero />
<StatsSection />
</main>
)
Expand Down
196 changes: 196 additions & 0 deletions components/sections/hero-section.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
import Image from "next/image";
import Link from "next/link";

const Hero = () => {
return (
<div className="h-screen w-screen bg-linear-to-tr flex items-center justify-center text-white font-sans overflow-hidden">

<div className="absolute sm:w-30 w-20 top-0 sm:right-11 right-6 z-20 h-40">
<Image
src="/mlh-badge.svg"
alt="MLH badge"
fill
className="object-contain object-top"
priority
/>
</div>

<div className="absolute aspect-video right-0 z-0 top-0 h-100 bg-pink-400/400">
<Image
src="/corner_cracks.svg"
alt="Decorative corner cracks"
fill
className="object-contain object-right"
priority
/>
</div>

<div className="absolute w-20 -top-6 right-45 z-20 h-40 sm:block hidden">
<Image
src="/orange_flare.svg"
alt="Orange flare decoration"
fill
className="object-contain"
priority
/>
</div>

<div className={`absolute sm:top-30 top-5 sm:left-0 -left-2 z-20 h-40 font-kanit sm:scale-80 scale-70 lg:scale-100 md:scale-90 lg:left-10 md:left-5 bg-blue-700/700`}>
<div className="bg-blue-400/400 left-0 w-full flex sm:hidden items-center justify-left gap-5 pb-6">
<Link href="https://www.linkedin.com/company/bitbyte-tpc/posts/?feedView=all" className="relative w-7 h-7">
<Image
src="/linkdin.svg"
alt="LinkedIn"
fill
className="object-contain"
priority
/>
</Link>
<Link href="https://www.instagram.com/hackbyte.tpc/" className="relative w-7 h-7">
<Image
src="/insta.svg"
alt="Instagram"
fill
className="object-contain"
priority
/>
</Link>
<Link href="https://x.com/HackbyteTPC" className="relative w-8 h-8">
<Image
src="/x.svg"
alt="X"
fill
className="object-contain"
priority
/>
</Link>
<Link href="https://discord.com/invite/6RDuTPnAME" className="relative w-9 h-9">
<Image
src="/discord.svg"
alt="Discord"
fill
className="object-contain"
priority
/>
</Link>
</div>
<p className="text-white text-stroke-brand-thick font-extrabold text-4xl">
Our Theme
</p>
<p className="italic text-3xl text-[#FFF7E591] font-medium">
Patch The Reality
</p>
</div>

<div className="absolute w-full h-115 sm:top-[20vh] top-[28vh] z-20">
<Image
src="/hb4_logo.svg"
alt="HackByte 4 logo"
fill
className="object-contain object-top"
priority
/>
</div>

<div className="relative md:h-[105vh] sm:h-[85vh] h-[65vh] sm:top-4 -top-3 -left-5 aspect-video z-0">
<Image
src="/Main Page Broken Effect.svg"
alt="Broken effect background"
fill
className="object-contain"
priority
/>
</div>

<div className="w-screen h-[105vh] absolute -top-2 -z-30">
<Image
src="/main_page_bg.svg"
alt="Background texture"
fill
className="object-cover"
priority
/>
</div>

<div className={`absolute flex bg-pink-500/500 md:-right-5 right-10 sm:bottom-32 bottom-25 font-kanit h-40 w-[27vw] z-20`}>
<Link href="/register" className={`absolute text-[#62009B] lg:w-80 md:w-70 sm:w-65 w-55 p-5 lg:right-35 md:right-28 sm:right-5 right-3 bg-[#FFEE00] md:h-16 sm:h-14 h-10 rounded-full border-[#FFD620] border-4 md:text-3xl text-2xl font-extrabold flex items-center justify-center bottom-0 hover:bg-[#FFC300B8] hover:border-[#FFD620] transition-colors duration-300 cursor-pointer z-20`}>
REGISTER NOW
</Link>
<div className="absolute h-full lg:w-30 top-4 sm:top-0 md:w-25 sm:w-20 w-15 lg:right-10 sm:-right-10 md:right-10 -right-8">
<Image
src="/exclamation_marks.svg"
alt="Exclamation marks decoration"
fill
className="object-contain"
priority
/>
</div>
</div>

<div className={`absolute text-3xl font-kanit bg-pink-400/300 bottom-35 lg:scale-100 sm:-left-8 md:-left-3 sm:scale-70 lg:left-10 md:scale-80 scale-50 -left-17 text-black`}>
<div className="text-white text-stroke-brand-thick font-extrabold text-4xl">When:</div>
<div className="text-[#62009B] text-stroke-white-thick font-extrabold text-5xl">3-5 April,2026</div>
<div className="flex gap-3">
<div className="text-white text-stroke-brand-thick font-extrabold text-5xl">@</div>
<div className="text-[#62009B] flex items-end text-stroke-white-medium font-extrabold text-3xl">
IIITDM Jabalpur
</div>
</div>
</div>

<div className="absolute h-20 w-screen items-center justify-around bg-pink-400/400 bottom-0 flex z-20">
<div className="bg-blue-400/400 left-0 absolute w-50 lg:w-60 h-[50%] sm:flex items-center justify-around pl-5 hidden">
<Link href="https://www.linkedin.com/company/bitbyte-tpc/posts/?feedView=all" className="relative w-6 h-6 ">
<Image
src="/linkdin.svg"
alt="LinkedIn"
fill
className="object-contain"
priority
/>
</Link>
<Link href="https://www.instagram.com/hackbyte.tpc/" className="relative w-6 h-6">
<Image
src="/insta.svg"
alt="Instagram"
fill
className="object-contain"
priority
/>
</Link>
<Link href="https://x.com/HackbyteTPC" className="relative w-7 h-7">
<Image
src="/x.svg"
alt="X"
fill
className="object-contain"
priority
/>
</Link>
<Link href="https://discord.com/invite/6RDuTPnAME" className="relative w-8 h-8">
<Image
src="/discord.svg"
alt="Discord"
fill
className="object-contain"
priority
/>
</Link>
</div>

<div className="absolute lg:w-[29vw] md:w-[42vw] sm:w-[53vw] w-[83vw] h-full right-10">
<Image
src="/tpc_and_iiit_logo.svg"
alt="TPC and IIITDM Jabalpur logos"
fill
className="object-contain object-right "
priority
/>
</div>
</div>

</div>
);
};

export default Hero;
7 changes: 3 additions & 4 deletions components/sections/stats-section.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react"
import Image from "next/image"

async function StatsSection() {
Expand Down Expand Up @@ -26,10 +25,10 @@ async function StatsSection() {
]

return (
<section className="relative h-[50vh] md:h-[60vh] lg:h-[80vh] max-h-[90vh] w-full overflow-x-visible bg-black">
<div className="w-full h-32 absolute top-0 z-10">
<section className="relative h-[50vh] md:h-[60vh] lg:h-[80vh] max-h-[90vh] w-full overflow-visible bg-black mt-0">
<div className="w-full h-32 absolute top-[10vw] z-10">
<Image
src={"/stats-upper.svg"}
src={"/stats-upper-2.svg"}
alt="glass design"
className="w-full -mt-[25%] "
width={100}
Expand Down
48 changes: 48 additions & 0 deletions public/Main Page Broken Effect.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions public/corner_cracks.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading