-
Notifications
You must be signed in to change notification settings - Fork 1
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
Paul Naszalyi
committed
Oct 29, 2024
1 parent
e962840
commit efd31f0
Showing
30 changed files
with
150 additions
and
183 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,49 @@ | ||
import React from 'react' | ||
import { Box, BoxContent, BoxFooter } from './index' | ||
import { Title } from '@/components/title' | ||
import { Title, TitleLevels } from '@/components/title' | ||
import { Text } from '@/components/text' | ||
import { Columns, ColumnsItem } from '../columns' | ||
import { Link } from '../link' | ||
import { TrilogyColor } from '@/objects' | ||
|
||
const BoxExample: React.ReactNode = | ||
const BoxExample: React.ReactNode = ( | ||
<Columns multiline> | ||
<ColumnsItem size={4}> | ||
<Box> | ||
<BoxContent> | ||
<Title level='ONE'> | ||
Box Title | ||
</Title> | ||
<Text> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec iaculis mauris. | ||
</Text> | ||
</BoxContent> | ||
</Box> | ||
</ColumnsItem> | ||
<ColumnsItem size={4}> | ||
<Box flat> | ||
<BoxContent> | ||
<Title level='ONE'> | ||
Box Title | ||
</Title> | ||
<Text> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec iaculis mauris. | ||
</Text> | ||
</BoxContent> | ||
</Box> | ||
</ColumnsItem> | ||
<ColumnsItem size={4}> | ||
<Box | ||
leftBorder='WARNING' | ||
> | ||
<BoxContent> | ||
<Title level='ONE'> | ||
Box Title | ||
</Title> | ||
<Text> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec iaculis mauris. | ||
</Text> | ||
</BoxContent> | ||
</Box> | ||
</ColumnsItem> | ||
<ColumnsItem size={12}> | ||
<Box> | ||
<BoxContent> | ||
<Title level='ONE'> | ||
Box Title | ||
</Title> | ||
<Text> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec iaculis mauris. | ||
</Text> | ||
</BoxContent> | ||
<BoxFooter> | ||
<Link> | ||
Link | ||
</Link> | ||
</BoxFooter> | ||
</Box> | ||
</ColumnsItem> | ||
</Columns> | ||
<ColumnsItem size={4}> | ||
<Box> | ||
<BoxContent> | ||
<Title level={TitleLevels.ONE}>Box Title</Title> | ||
<Text>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec iaculis mauris.</Text> | ||
</BoxContent> | ||
</Box> | ||
</ColumnsItem> | ||
<ColumnsItem size={4}> | ||
<Box flat> | ||
<BoxContent> | ||
<Title level={TitleLevels.ONE}>Box Title</Title> | ||
<Text>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec iaculis mauris.</Text> | ||
</BoxContent> | ||
</Box> | ||
</ColumnsItem> | ||
<ColumnsItem size={4}> | ||
<Box highlighted={TrilogyColor.WARNING}> | ||
<BoxContent> | ||
<Title level={TitleLevels.ONE}>Box Title</Title> | ||
<Text>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec iaculis mauris.</Text> | ||
</BoxContent> | ||
</Box> | ||
</ColumnsItem> | ||
<ColumnsItem size={12}> | ||
<Box> | ||
<BoxContent> | ||
<Title level={TitleLevels.ONE}>Box Title</Title> | ||
<Text>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec iaculis mauris.</Text> | ||
</BoxContent> | ||
<BoxFooter> | ||
<Link>Link</Link> | ||
</BoxFooter> | ||
</Box> | ||
</ColumnsItem> | ||
</Columns> | ||
) | ||
|
||
export default BoxExample |
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
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
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
Oops, something went wrong.