Skip to content

Commit

Permalink
Merge branch 'main' of github.com:encryptedge/rcs-landing
Browse files Browse the repository at this point in the history
  • Loading branch information
BRAVO68WEB committed Jan 24, 2024
2 parents 7e2e404 + 3fd324c commit f4c876d
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 25 deletions.
30 changes: 19 additions & 11 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import PerksSection from '@/components/PerksSection'
import RersourcePersons from '@/components/ResourcePersons'
import TicketSection from '@/components/TicketSection'
import VenueDate from '@/components/VenueDate'
import { PlayCircleIcon, PlusCircleIcon } from '@heroicons/react/24/outline'
import { PlayCircleIcon, TicketIcon, ArrowUpCircleIcon } from '@heroicons/react/24/outline'
import Organisers from '@/components/Organisers'
import RegisterDialog from '@/components/RegisterDialog'
import { useState } from 'react'
Expand Down Expand Up @@ -44,23 +44,31 @@ export default function Home() {
<PlayCircleIcon
height={30}
width={30}
className=""
className="me-1"
/>{' '}
<span className="">Read Blog</span>
</div>
</a>
<button onClick={() =>
setRegisterOpen(true)
}>
<a href="#ticketSection" className="">
<div className="flex text-white font-bold hover:bg-white hover:text-black hover:border-white hover:ring-1 hover:ring-white focus:ring-1 focus:ring-white">
<PlusCircleIcon
<TicketIcon
height={30}
width={30}
className=""
className="me-1"
/>{' '}
<span className="">Register Interest</span>
<span className="">Get Passes</span>
</div>
</button>
</a>
<a href="https://chat.whatsapp.com/Kdzl9jmcE4f2RiPcKhxguE" target='__blank' className="">
<div className="flex text-white font-bold hover:bg-white hover:text-black hover:border-white hover:ring-1 hover:ring-white focus:ring-1 focus:ring-white">
<ArrowUpCircleIcon
height={30}
width={30}
className="me-1"
/>{' '}
<span className="">Questions?</span>
</div>
</a>
</div>
<div className="date hidden lg:block absolute top-80 right-0 rotate-90">
<p className="text-6xl text-primary font-bold tracking-[1.5rem]">
Expand All @@ -84,12 +92,12 @@ export default function Home() {
<PerksSection />
<VenueDate />
<TicketSection />
{/* <SponsorSection /> */}
<SponsorSection />
<CoreTeam />
<RersourcePersons />
<CommunityPartners />
<Organisers />
<RegisterDialog open={registerOpen} setOpen={setRegisterOpen} />
</main>
)
}
}
2 changes: 1 addition & 1 deletion components/TicketSection/TicketCardLPU.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function TicketCard({
<p className="text-primary">Includes: </p>
<div className="flex flex-col gap-2">
<p>
- Welcome Kit Includes: 1 x Notepad-Pen, 1 x ID-Lanyard,
- Welcome Kit Includes: 1 x ID-Lanyard,
Stickers
</p>
<p> - Access to CTF</p>
Expand Down
4 changes: 2 additions & 2 deletions components/TicketSection/TicketCardProf.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ function TicketCard({
<div className="card w-full max-w-sm bg-white text-black p-5">
<p className="font-bold text-4xl">Professional Pass</p>
<p className="mt-8 text-lg">
For working professionals and students from other colleges.
For working professionals and everyone else.
</p>

<div className="mt-8 text-lg">
<p className="text-primary">Includes: </p>
<div className="flex flex-col gap-2">
<p>
{' '}
- Welcome Kit Includes: 1 x Notepad-Pen, 1 x ID-Lanyard,
- Welcome Kit Includes: 1 x ID-Lanyard,
Stickers
</p>
<p> - Access to CTF</p>
Expand Down
2 changes: 1 addition & 1 deletion components/TicketSection/TicketCardStudent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function TicketCard({
<div className="flex flex-col gap-2">
<p>
{' '}
- Welcome Kit Includes: 1 x Notepad-Pen, 1 x ID-Lanyard,
- Welcome Kit Includes: 1 x ID-Lanyard,
Stickers
</p>
<p> - Access to CTF</p>
Expand Down
2 changes: 1 addition & 1 deletion components/TicketSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function TicketSection() {
const [ticketBookingOpen, setTicketBookingOpen] = useState(false)
const [bookTicketType, setBookTicketType] = useState('')
return (
<section className="flex flex-col lg:flex-row lg:h-screen max-w-7xl mx-auto px-4 lg:px-8 py-10 justify-center items-center gap-4 rcs-back-2">
<section id="ticketSection" className="flex flex-col lg:flex-row lg:h-screen max-w-7xl mx-auto px-4 lg:px-8 py-10 justify-center items-center gap-4 rcs-back-2">
<TicketCardLPU setTicketType={setBookTicketType} setTicketBookingOpen={setTicketBookingOpen}/>
<TicketCardStudent setTicketType={setBookTicketType} setTicketBookingOpen={setTicketBookingOpen}/>
<TicketCardStandard setTicketType={setBookTicketType} setTicketBookingOpen={setTicketBookingOpen}/>
Expand Down
6 changes: 3 additions & 3 deletions components/ui/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ const Navbar = () => {
))}
<Disclosure.Button
as="a"
href="#"
href="#ticketSection"
className={cn(
'block px-3 py-2 text-base font-medium bg-white text-black'
)}
onClick={() => setRegisterOpen(true)}
onClick={() => setRegisterOpen(false)}
>
Register
Get passes
</Disclosure.Button>
</div>
</Disclosure.Panel>
Expand Down
11 changes: 5 additions & 6 deletions config/sponsors.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@
{
"category": "Platinum Sponsors",
"sponsors": [
{ "name": "Popsicle", "logo": "./popsql.png", "url": "https://popsql.com" },
{ "name": "More Popsicles", "logo": "./popsql.png", "url": "https://popsql.com" },
{ "name": "Even More Popsicles", "logo": "./popsql.png", "url": "https://popsql.com" }
{ "name": "EC-Council", "logo": "./EC-Council.png", "url": "https://www.eccouncil.org/" },
{ "name": "Quick Heal", "logo": "./Quick Heal.png", "url": "https://www.quickheal.co.in/" }
]
},
{
"category": "Gold Sponsors",
"sponsors": [
{ "name": "Pppp Popsicles!", "logo": "./popsql.png", "url": "https://popsql.com" },
{ "name": "Popsicles!!!!", "logo": "./popsql.png", "url": "https://popsql.com" },
{ "name": "Nevermind, it's PopSQL", "logo": "./popsql.png", "url": "https://popsql.com" }
{ "name": "Secure Hack", "logo": "./Secure Hack.png", "url": "https://www.securehack.net/" },
{ "name": "Crack Soft", "logo": "./Crack Soft.png", "url": "#" },
{ "name": "xyz", "logo": "./xyz.png", "url": "https://gen.xyz/" }
]
}
]
Binary file added public/Crack Soft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/EC-Council.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/Quick Heal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/Secure Hack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/xyz.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f4c876d

Please sign in to comment.