Skip to content

Commit

Permalink
Merge pull request #139 from aminoa/main
Browse files Browse the repository at this point in the history
Add Feature to Home Page
  • Loading branch information
abigailzhou03 authored Apr 19, 2024
2 parents 0450db2 + 6bc6b2f commit fc0e8ac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,20 @@ const IndexPage: React.FC<PageProps> = () => (
</div>
</div>

<div className='max-w-5xl mx-auto px-8 flex flex-col py-24 lg:py-28'>
<p className='text-violet-600 font-bold'>Join Us</p>
<h2 className='mt-2 text-4xl font-bold'>Upcoming Events</h2>
<p className='mt-4 mb-12'>Take part in any of our upcoming events and workshops!</p>

<div className='max-w-5xl mx-auto px-8 flex-col py-24 lg:py-28'>
<div className='items-center flex'>
<div className=''>
<p className='text-violet-600 font-bold'>Join Us</p>
<h2 className='mt-2 text-4xl font-bold'>Upcoming Events</h2>
<p className='mt-4 mb-12'>Take part in any of our upcoming events and workshops!</p>
</div>
<div className='hidden md:block h-80 w-80 ml-60'>
<div className='object-contain'>
<img src='/images/logo/feature.png' />
</div>
</div>
</div>
<EventsList events={upcomingEvents} count={2} />
<div className='mt-8 flex justify-center'>
<Link to='/events'>
Expand Down
Binary file added static/images/logo/feature.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 fc0e8ac

Please sign in to comment.