-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
src/components/organisms/CommunityBoothSection/CommunityBoothSection.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import type { ComponentMeta, ComponentStory } from '@storybook/react' | ||
import { CommunityBoothSection } from '.' | ||
|
||
const meta: ComponentMeta<typeof CommunityBoothSection> = { | ||
component: CommunityBoothSection | ||
} | ||
export default meta | ||
|
||
const Template: ComponentStory<typeof CommunityBoothSection> = args => <CommunityBoothSection {...args} /> | ||
export const Default = Template.bind({}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import type { FC } from 'react' | ||
import Link from 'next/link' | ||
import { Box, Typography } from '@mui/material' | ||
import { Button } from 'src/components/atoms' | ||
import { useTranslation } from 'react-i18next' | ||
import { Colors } from 'src/styles/color' | ||
|
||
export const CommunityBoothSection: FC = () => { | ||
const { t } = useTranslation() | ||
|
||
return ( | ||
<Box | ||
bgcolor={Colors.background.primary} | ||
display={'flex'} | ||
flexDirection={'column'} | ||
alignItems={'center'} | ||
mb={{ md: 12.5, xs: 7.5 }} | ||
px={{ xs: 2 }} | ||
py={{ md: 10, xs: 4 }} | ||
> | ||
<Typography variant="h2" textAlign={'center'}> | ||
Community Booth | ||
</Typography> | ||
<Typography variant="body1" mb={{ md: 5, xs: 2 }}> | ||
{t('community_booth_description')} | ||
</Typography> | ||
<Link href="https://drive.google.com/file/d/1QUr1BWF7Mu1vU40UieBcvkMf5B-tAf91/view?usp=share_link"> | ||
<a target="_blank"> | ||
<Button text={t('consider_a_community_booth')} /> | ||
</a> | ||
</Link> | ||
</Box> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters