Skip to content

Commit

Permalink
Revert "feat: update ticket cards (#359)"
Browse files Browse the repository at this point in the history
This reverts commit 066c265.
  • Loading branch information
AceTheCreator committed Aug 30, 2024
1 parent 05c1922 commit ed15b8b
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 48 deletions.
16 changes: 16 additions & 0 deletions components/Cards/ticketCards.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from 'react'
import Button from '../Buttons/button'

function TicketCards({className, city}) {
return (
<div className={`w-[300px] lg:w-full opacity-20 h-[400px] flex flex-col text-white justify-between rounded-lg card bg-white ${className}`}>
<div className='p-4'>
<div className='text-xl font-bold text-gradient'>{city.name}, {city.country}</div>
<div className='mt-2 text-lg'>{city.date}</div>
</div>
<div className='border-t h-20 border-dashed p-4 text-center'><Button disabled={true} className='w-[200px]'>Buy now</Button></div>
</div>
)
}

export default TicketCards
4 changes: 2 additions & 2 deletions components/Header/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ function Header() {
</div>
<div className='mt-[54px] relative flex items-center justify-center'>
<Link
href='#tickets'
href='#register'
>
<Button className='w-[250px]'>Register Now</Button>
<Button className='w-[250px]'>Register now</Button>
</Link>
</div>
</div>
Expand Down
32 changes: 0 additions & 32 deletions components/Tickets/ticketCards.js

This file was deleted.

4 changes: 2 additions & 2 deletions config/city-lists.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"/img/apidays.png"
],
"ticket": false,
"isFree": false,
"ended": true
"isFree": true,
"ended": false
},
{
"name": "London",
Expand Down
4 changes: 0 additions & 4 deletions config/links.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
"title": "Speakers",
"ref": "/#speakers"
},
{
"title": "Tickets",
"ref": "/#tickets"
},
{
"title": "Sponsors",
"ref": "/#sponsors"
Expand Down
8 changes: 4 additions & 4 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Header from '../components/Header/header';
import cities from '../config/city-lists.json';
import Sponsors from '../components/Sponsors/sponsors';
import About from '../components/About/about';
import TicketCards from '../components/Tickets/ticketCards';
import TicketCards from '../components/Cards/ticketCards';
import Heading from '../components/Typography/heading';
import Paragraph from '../components/Typography/paragraph';
import Subscription from '../components/Form/subscription';
Expand Down Expand Up @@ -156,16 +156,16 @@ export default function Home() {
</div>
</div>
</div>
<div id='tickets' className='flex items-center'>
<div className='flex items-center'>
<div className='w-[40px] h-[3px] bg-blue-400' />
<div className='ml-4 text-lg sm:text-sm text-white font-semi-bold'>Tickets</div>
</div>
<Heading typeStyle='heading-md' className='text-gradient text-center lg:mt-10'>
Get Tickets
Tickets Sale [Coming Soon]
</Heading>
<div className='max-w-3xl sm:w-full text-center'>
<Paragraph typeStyle='body-lg' className="mt-6" textColor='text-gray-200' >
Experience the Future of Asynchronous Communication: Get Tickets for the AsyncAPI Conference on Tour!
Experience the Future of Asynchronous Communication: Tickets for Sale for the AsyncAPI Conference on Tour!
</Paragraph>
</div>
<div className='w-[1000px] lg:w-full mt-10 flex justify-between lg:flex-col'>
Expand Down
4 changes: 0 additions & 4 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,6 @@ mix-blend-mode: lighten;
transition: transform 0.3s ease-in-out; /* Add a smooth transition effect */
}

.card-opacity:hover{
opacity: 100;
}

.hoverEffect:hover {
transform: scale(1.1); /* Scale the image by 10% on hover */
}

0 comments on commit ed15b8b

Please sign in to comment.