diff --git a/app/(default)/page.tsx b/app/(default)/page.tsx index 583805b..26f8254 100644 --- a/app/(default)/page.tsx +++ b/app/(default)/page.tsx @@ -1,19 +1,40 @@ export const metadata = { - title: 'Home', - description: 'Landing page', -} + title: "Home", + description: "Landing page", +}; -import Hero from '@/components/hero' -import Domains from '@/components/domains' -import '../css/additional-styles/landing.css'; -import Landing from '@/components/landing'; +import Hero from "@/components/hero"; +import Domains from "@/components/domains"; +import "../css/additional-styles/landing.css"; +import Landing from "@/components/landing"; +import Image from "next/image"; +import Link from "next/link"; export default function Home() { return ( <> +
+
+ Upcoming Events +
+ + sih + + + + +
- ) + ); } diff --git a/app/css/additional-styles/landing.css b/app/css/additional-styles/landing.css index 87ae6b7..896fb5d 100644 --- a/app/css/additional-styles/landing.css +++ b/app/css/additional-styles/landing.css @@ -2,6 +2,10 @@ background-image: url("../../../public/images/pbimage3.jpeg"); background-size: cover; background-repeat: no-repeat; + background-position: center; + @media (max-width: 768px) { + margin-top: 60px; + } }; h1{ @@ -78,6 +82,7 @@ h1{ height: 100%; width: 100%; border-radius: 2rem; + overflow: hidden; box-shadow: 0 0 5px 2px rgba(50, 50, 50, 0.25); position: absolute; backface-visibility: hidden; diff --git a/components/landing.tsx b/components/landing.tsx index 572a157..c2ac554 100644 --- a/components/landing.tsx +++ b/components/landing.tsx @@ -1,124 +1,136 @@ - import React from "react"; -import '../app/css/additional-styles/landing.css'; -import ImageOne from '../public/images/demo.jpg'; +import "../app/css/additional-styles/landing.css"; +import ImageOne from "../public/images/demo.jpg"; import Image from "next/image"; export default function Landing() { return ( <> -
-

- Activities -

+

Activities

We organise lots of student centric activities
- -

COMPETITIVE PROGRAMMING

-

- PB Hustle -

+

PB Hustle

- Point Blank has organized over 40+ editions of its PB Hustle coding contest, - where participants solve 5-7 increasingly difficult problems in their preferred - programming language. The contest aims to enhance the programming culture in colleges - and help teams qualify for the ACM ICPC. Impressively, DSCE's leading programmers have - risen through this platform, with participation in the CodeChef Long Challenge expanding - from just 3 to over 70+ participants. + Point Blank has organized over 40+ editions of its PB Hustle + coding contest, where participants solve 5-7 increasingly + difficult problems in their preferred programming language. The + contest aims to enhance the programming culture in colleges and + help teams qualify for the ACM ICPC. Impressively, DSCE's leading + programmers have risen through this platform, with participation + in the CodeChef Long Challenge expanding from just 3 to over 70+ + participants.

- +
+ +
-
+
- +
+ +
-
-
-

- DEVELOPMENT -

-

- PB Chronicals -

-

+

+
+

DEVELOPMENT

+

PB Chronicals

+

Point Blank has hosted over 100+ workshops, covering a wide range - of topics including open source, DevOps, machine learning, placement - preparation, data structures and algorithms, and mobile and web development, - among others. These workshops are typically conducted in an informal and unscripted - manner, though we do document some of our most significant sessions. - One notable example is our primer on F/OSS development. + of topics including open source, DevOps, machine learning, + placement preparation, data structures and algorithms, and mobile + and web development, among others. These workshops are typically + conducted in an informal and unscripted manner, though we do + document some of our most significant sessions. One notable + example is our primer on F/OSS development.

-
-
-
-

- HACKATHONS -

-

- Smart India Hackathon -

-

- Each year, we organize the internal - round of the Smart India Hackathon. In the 2020 edition, over 300+ - individuals from DSCE participated. Two of our teams advanced to the - finals, with one emerging as the winner of the software edition. - Along with this, teams from Point Blank have won hackathons all across - the city and country. +

+
+
+

HACKATHONS

+

Smart India Hackathon

+

+ Each year, we organize the internal round of the Smart India + Hackathon. In the 2020 edition, over 300+ individuals from DSCE + participated. Two of our teams advanced to the finals, with one + emerging as the winner of the software edition. Along with this, + teams from Point Blank have won hackathons all across the city and + country.

-
- +
+
+ +
-
- -
- +
+
+
+ +
-
-
-

- CYBER SECURITY -

-

- PB CTF -

-

- We organize workshops and sessions on various topics in cybersecurity, - including hands-on practice on different platforms. In 2023, we launched - the first in-house Capture The Flag event, PBCTF, which attracted over 70+ participants. +

+
+

CYBER SECURITY

+

PB CTF

+

+ We organize workshops and sessions on various topics in + cybersecurity, including hands-on practice on different platforms. + In 2023, we launched the first in-house Capture The Flag event, + PBCTF, which attracted over 70+ participants.

-
-

- Events -

+

Events

We organise lots of student centric activities
@@ -128,41 +140,42 @@ export default function Landing() {
-
-

- Leads -

+

Leads

- - -
- -
- - -
- ) + ); } - - const leads = [ { id: 0, text: "lead 1" }, { id: 1, text: "lead 2" }, - { id: 2, text: "lead 3" } + { id: 2, text: "lead 3" }, ]; const eventCard = [ - { id: 4, textt: "Back of Card", textb: "Additional info on the back of the card" }, - { id: 5, textt: "Back of Card", textb: "Additional info on the back of the card" }, - { id: 6, textt: "Back of Card", textb: "Additional info on the back of the card" }, - + { + id: 4, + url: '/images/openday.jpg', + textt: "Tech Open Day", + textb: "Our first offline event of the year and it was a huge success✨Get to know about tech societies on campus and how to join them🚀", + }, + { + id: 5, + url: '/images/advaith.jpg', + textt: "Advaith", + textb: "An event full of opportunities, challenges, learning and much more! Be a part of something big, be a part of ADVAITH!", + }, + { + id: 6, + url: '/images/recruit.jpeg', + textt: "Recruitment 2024", + textb: "Recruitment 2024 is here! Join us and be a part of the Point Blank family!🚀", + }, ]; const CardComponents = () => { @@ -182,25 +195,24 @@ const CardComponents = () => { ); }; - - const EventComponent = () => { return ( <> {eventCard.map((ec) => (
-
+
-
+
+ +
-

{ec.textt}

-

{ec.textb}

+

{ec.textt}

+

{ec.textb}

))} - ) -} \ No newline at end of file + ); +}; diff --git a/components/ui/header.tsx b/components/ui/header.tsx index 9bbf24c..02e4045 100644 --- a/components/ui/header.tsx +++ b/components/ui/header.tsx @@ -32,12 +32,12 @@ export default function Header() {
  • -

    Events

    +

    Events

  • -

    Leads

    +

    Leads

  • @@ -47,21 +47,17 @@ export default function Header() {
  • -

    Achievements

    +

    Achievements

  • -

    - Contact Us -

    +

    Contact Us

  • -

    - Login/Signup -

    +

    Login

diff --git a/components/ui/logo.tsx b/components/ui/logo.tsx index 3fcbc02..553bab5 100644 --- a/components/ui/logo.tsx +++ b/components/ui/logo.tsx @@ -5,7 +5,7 @@ import logo from '@/public/images/logo.svg' export default function Logo() { return ( -
+
Logo
diff --git a/components/ui/mobile-menu.tsx b/components/ui/mobile-menu.tsx index 01978e8..f7cead8 100644 --- a/components/ui/mobile-menu.tsx +++ b/components/ui/mobile-menu.tsx @@ -57,7 +57,7 @@ export default function MobileMenu() { show={mobileNavOpen} as="nav" id="mobile-nav" - className="absolute top-full h-screen pb-16 z-20 left-0 w-full overflow-scroll bg-black" + className="absolute overflow-hidden top-full h-screen pb-16 z-20 left-0 w-full bg-black" enter="transition ease-out duration-200 transform" enterFrom="opacity-0 -translate-y-2" enterTo="opacity-100 translate-y-0" @@ -73,14 +73,16 @@ export default function MobileMenu() { setMobileNavOpen(false)}>Leads
  • - setMobileNavOpen(false)}>Members + setMobileNavOpen(false)}>Achievements
  • - setMobileNavOpen(false)}>Achievements + setMobileNavOpen(false)}> + Contact Us +
  • - setMobileNavOpen(false)}> - Contact Us + setMobileNavOpen(false)}> + Login
  • diff --git a/public/images/advaith.jpg b/public/images/advaith.jpg new file mode 100644 index 0000000..d9a9eae Binary files /dev/null and b/public/images/advaith.jpg differ diff --git a/public/images/cp.jpeg b/public/images/cp.jpeg new file mode 100644 index 0000000..01f051c Binary files /dev/null and b/public/images/cp.jpeg differ diff --git a/public/images/ctf.jpg b/public/images/ctf.jpg new file mode 100644 index 0000000..308820e Binary files /dev/null and b/public/images/ctf.jpg differ diff --git a/public/images/dev.jpg b/public/images/dev.jpg new file mode 100644 index 0000000..8e568eb Binary files /dev/null and b/public/images/dev.jpg differ diff --git a/public/images/hack.jpg b/public/images/hack.jpg new file mode 100644 index 0000000..f24f860 Binary files /dev/null and b/public/images/hack.jpg differ diff --git a/public/images/openday.jpg b/public/images/openday.jpg new file mode 100644 index 0000000..4f94838 Binary files /dev/null and b/public/images/openday.jpg differ diff --git a/public/images/recruit.jpeg b/public/images/recruit.jpeg new file mode 100644 index 0000000..b98f372 Binary files /dev/null and b/public/images/recruit.jpeg differ diff --git a/public/images/sih.png b/public/images/sih.png new file mode 100644 index 0000000..c1d3eb0 Binary files /dev/null and b/public/images/sih.png differ