Skip to content

Commit

Permalink
Merge pull request WeMakeDevs#581 from WeMakeDevs/meet
Browse files Browse the repository at this point in the history
fix: events page
  • Loading branch information
SuperAayush authored Apr 23, 2023
2 parents f224b3a + d02c6cd commit a17aa62
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
7 changes: 0 additions & 7 deletions src/components/PageComp/EventsPage/OngoingEvents.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import NapptiveBanner from 'assets/hackathon/napptive/Banner.jpg';
import Hashnode from 'assets/hashnode/Special-Prize.png';

import DetailCard from '@/components/Cards/DetailCard';
Expand All @@ -10,12 +9,6 @@ const OngoingEvents = () => {
<h1 className='h1'> Ongoing events </h1>
<hr className='styled-hr my-6' />
<div className='grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3'>
<DetailCard
description='Do you want to learn new skills, discover how to build and deploy cloud native apps and meet like-minded people? Find this and much more by participating in our hackathon!'
image={NapptiveBanner}
url='/events/hackathons/napptive'
btnText='Know more'
/>
<DetailCard
description='Every month we will be having 4 tracks. You can write one or multiple blogs on the given tracks. The best blogs will receive hashnode swag.'
image={Hashnode}
Expand Down
8 changes: 8 additions & 0 deletions src/components/PageComp/EventsPage/PastEvents.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import PastEvent5 from 'assets/events/past-event-5.jpeg';
import PastEvent6 from 'assets/events/past-event-6.jpeg';
import PastEvent7 from 'assets/events/past-event-7.jpeg';
import PastEvent8 from 'assets/events/past-event-8.jpeg';
import NapptiveBanner from 'assets/hackathon/napptive/Banner.jpg';

import DetailCard from '@/components/Cards/DetailCard';

Expand All @@ -30,6 +31,13 @@ export default PastEvents;
// Data Section

const eventsData = [
{
description:
'Do you want to learn new skills, discover how to build and deploy cloud native apps and meet like-minded people? Find this and much more by participating in our hackathon!',
image: NapptiveBanner,
url: '/events/hackathons/napptive',
btnText: 'Know more',
},
{
description:
'WeMakeDevs is running a month long Battlesnake Battleground event. The idea is for you to build your snake, use any algorithm that you like, and compete with people around the world. Anyone with beginner-level coding knowledge can have fun with Battlesnake.',
Expand Down
6 changes: 3 additions & 3 deletions src/components/layout/Banner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ const Banner = () => {
{' '}
<TfiAnnouncement className='h1 ml-auto shrink-0 rounded-lg bg-base-100/80 p-2' />
<p className='h3 text-center font-semibold text-base-100'>
Join us in our upcoming{' '}
<span className='highlight highlight--dark'>in-person meetup!</span>{' '}
Checkout our upcoming{' '}
<span className='highlight highlight--dark'>in-person event</span>{' '}
</p>
<ArrowLink
className='rounded-md py-2 px-4'
as={ButtonLink}
href='/events/meetups/delhi-2023'
openNewTab
>
Register now
Delhi Meetup
</ArrowLink>
<button
className='h3 ml-auto mr-6 flex shrink-0 items-center justify-center border-none text-base-100'
Expand Down

0 comments on commit a17aa62

Please sign in to comment.