Skip to content

Commit

Permalink
fix: prettier issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutosh-rath02 committed Oct 3, 2023
1 parent 6dc7bcc commit 610baef
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 20 deletions.
4 changes: 2 additions & 2 deletions src/components/EventCard/Card.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ const CardComponent = ({
<div style={{ padding: '0.6rem' }} />
<CardTitleContainer>
Prize - {prizes}
<div style={{ padding: '0.1rem' }} />
<div style={{ padding: '0.1rem' }} />
<EventTimeVenue>
{date} {month}
<Circle />
{venue}
</EventTimeVenue>
</CardTitleContainer>
<BackDescription>{description}</BackDescription>
<BackDescription>{description}</BackDescription>
<Body2>Contact: {contact?.join(', ')}</Body2>
<CardButtonContainer>
<KnowButton text='Back' onClick={bringToFront} />
Expand Down
6 changes: 3 additions & 3 deletions src/components/EventCard/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ export const CardImage = styled.img`
${tw`
rounded-lg
`};
width: 21.25rem;
width: 21.25rem;
@media (max-width: 768px) {
width: 100%;
width: 100%;
}
`;

Expand Down
29 changes: 14 additions & 15 deletions src/pages/playground.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ import React from 'react';
import { Helmet } from 'react-helmet';
import CardComponent from '../components/EventCard/Card';

const events =
{
title: 'Game Of Thrones',
club: 'Knights Club',
venue: 'LA',
time: '10:00 AM',
date: '17',
month: 'July',
prizes: '7 karod',
description: 'Game of Thrones is a strategy board game created by Christian T. Petersen and released by Fantasy Flight Games in 2003. The game is based on the A Song of Ice and Fire fantasy series by George R. R. Martin. It was followed in 2004 by the expansion A Clash of Kings, and in 2006 by the expansion A Storm of Swords. A Game of Thrones allows the players to take on the roles of several of the Great Houses vying for control of the Seven Kingdoms, including House Stark, House Lannister, House Baratheon, House Greyjoy, House Tyrell, and a of the expansion A Clash of Kings, House Martell. Players maneuver armies to secure support in the various regions that comprise the Seven Kingdoms, with the goal of capturing enough support to claim the Iron Throne. The game is designed for three to six players, who each begin with control of one of the six Great Houses of Westeros. Randomly chosen neutral territories and land areas make up the remainder of the board.',
contact: ['Rashmi - 9848948949'],
poster: 'https://res.cloudinary.com/dw9odubkt/image/upload/v1695829352/Rectangle_1_wqmr3i.png',
}
const events = {
title: 'Game Of Thrones',
club: 'Knights Club',
venue: 'LA',
time: '10:00 AM',
date: '17',
month: 'July',
prizes: '7 karod',
description:
'Game of Thrones is a strategy board game created by Christian T. Petersen and released by Fantasy Flight Games in 2003. The game is based on the A Song of Ice and Fire fantasy series by George R. R. Martin. It was followed in 2004 by the expansion A Clash of Kings, and in 2006 by the expansion A Storm of Swords. A Game of Thrones allows the players to take on the roles of several of the Great Houses vying for control of the Seven Kingdoms, including House Stark, House Lannister, House Baratheon, House Greyjoy, House Tyrell, and a of the expansion A Clash of Kings, House Martell. Players maneuver armies to secure support in the various regions that comprise the Seven Kingdoms, with the goal of capturing enough support to claim the Iron Throne. The game is designed for three to six players, who each begin with control of one of the six Great Houses of Westeros. Randomly chosen neutral territories and land areas make up the remainder of the board.',
contact: ['Rashmi - 9848948949'],
poster: 'https://res.cloudinary.com/dw9odubkt/image/upload/v1695829352/Rectangle_1_wqmr3i.png',
};

const Playground = () => (
const Playground = () => (
<>
<Helmet>
<meta charset='utf-8' />
Expand All @@ -41,5 +41,4 @@ const events =
</>
);


export default Playground;

0 comments on commit 610baef

Please sign in to comment.