-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
b89c1c9
commit 7c64ee9
Showing
22 changed files
with
235 additions
and
177 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,14 @@ | ||
import { PageTitle } from '@/pageComponents/PageWrapper' | ||
import React from 'react' | ||
|
||
export default function RootLayout({ | ||
children | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<PageTitle title='Avatars' description='Personalization'> | ||
{children} | ||
</PageTitle> | ||
) | ||
} |
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,65 +1,27 @@ | ||
import { Avatar } from '@/index' | ||
import { PageWrapper } from '@/pageComponents/PageWrapper' | ||
import { Section } from '@/pageComponents/Section' | ||
import React from 'react' | ||
|
||
export default function badges() { | ||
return ( | ||
<PageWrapper title='Avatars' description='Used to display profile pictures'> | ||
<div className='grid gap-9'> | ||
<div | ||
className='grid gap-9 place-content-center w-full' | ||
style={{ | ||
gridTemplateColumns: 'repeat(auto-fit, 64px)', | ||
gridAutoFlow: 'dense' | ||
}} | ||
> | ||
<div className='flex flex-col gap-2 items-center'> | ||
<h1 className='font-semibold text-lg'>Sqround</h1> | ||
<Avatar src='/images/duck.jpeg' status='online' /> | ||
</div> | ||
<React.Fragment> | ||
<Section header='Rounded'> | ||
<Avatar src='/images/duck.jpeg' status='online' /> | ||
<Avatar src='/images/cowboy.jpeg' /> | ||
<Avatar src='/images/cat.png' status='ingame' /> | ||
</Section> | ||
|
||
<div className='flex flex-col gap-2 items-center'> | ||
<h1 className='font-semibold text-lg'>Round</h1> | ||
<Avatar src='/images/duck.jpeg' type='round' /> | ||
</div> | ||
<Section header='Round'> | ||
<Avatar src='/images/duck.jpeg' type='round' status='online' /> | ||
<Avatar src='/images/cowboy.jpeg' type='round' /> | ||
<Avatar src='/images/cat.png' type='round' status='ingame' /> | ||
</Section> | ||
|
||
<div className='flex flex-col gap-2 items-center'> | ||
<h1 className='font-semibold text-lg'>Square</h1> | ||
<Avatar src='/images/duck.jpeg' status='ingame' type='square' /> | ||
</div> | ||
</div> | ||
|
||
<div className='flex flex-col gap-2 place-items-center w-full'> | ||
<h1 className='font-semibold text-lg'>Army of ducks</h1> | ||
|
||
<div | ||
className='grid gap-4 place-content-center w-full' | ||
style={{ | ||
gridTemplateColumns: 'repeat(6, 64px)', | ||
gridAutoFlow: 'dense' | ||
}} | ||
> | ||
<Avatar src='/images/duck.jpeg' status='online' /> | ||
<Avatar src='/images/duck.jpeg' status='away' /> | ||
<Avatar src='/images/duck.jpeg' status='ingame' /> | ||
<Avatar src='/images/duck.jpeg' status='online' /> | ||
<Avatar src='/images/duck.jpeg' status='busy' /> | ||
<Avatar src='/images/duck.jpeg' status='offline' /> | ||
<Avatar src='/images/duck.jpeg' status='away' /> | ||
<Avatar src='/images/duck.jpeg' status='busy' /> | ||
<Avatar src='/images/duck.jpeg' status='ingame' /> | ||
<Avatar src='/images/duck.jpeg' status='online' /> | ||
<Avatar src='/images/duck.jpeg' status='busy' /> | ||
<Avatar src='/images/duck.jpeg' status='online' /> | ||
<Avatar src='/images/duck.jpeg' status='away' /> | ||
<Avatar src='/images/duck.jpeg' status='ingame' /> | ||
<Avatar src='/images/duck.jpeg' status='offline' /> | ||
<Avatar src='/images/duck.jpeg' status='online' /> | ||
<Avatar src='/images/duck.jpeg' status='away' /> | ||
<Avatar src='/images/duck.jpeg' status='offline' /> | ||
</div> | ||
</div> | ||
</div> | ||
</PageWrapper> | ||
<Section header='Square'> | ||
<Avatar src='/images/duck.jpeg' type='square' status='online' /> | ||
<Avatar src='/images/cowboy.jpeg' type='square' /> | ||
<Avatar src='/images/cat.png' type='square' status='ingame' /> | ||
</Section> | ||
</React.Fragment> | ||
) | ||
} |
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,14 @@ | ||
import { PageTitle } from '@/pageComponents/PageWrapper' | ||
import React from 'react' | ||
|
||
export default function RootLayout({ | ||
children | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<PageTitle title='Badges' description='Short and sweet'> | ||
{children} | ||
</PageTitle> | ||
) | ||
} |
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import { Button } from '@/components/button/Button' | ||
import React from 'react' | ||
import { | ||
BsCalendarEventFill, | ||
BsCartFill, | ||
BsCheckCircleFill, | ||
BsDoorOpenFill, | ||
BsExclamationTriangleFill, | ||
BsFillExclamationCircleFill, | ||
BsHandIndexFill, | ||
BsInfoSquareFill, | ||
BsLink, | ||
BsXCircleFill | ||
} from 'react-icons/bs' | ||
|
||
export default function page() { | ||
return ( | ||
<React.Fragment> | ||
<Button iconOnly='btn-square'> | ||
<BsCartFill className='w-4 h-4' /> | ||
</Button> | ||
<Button type='btn-primary' iconOnly='btn-square'> | ||
<BsHandIndexFill className='w-4 h-4' /> | ||
</Button> | ||
<Button type='btn-secondary' iconOnly='btn-square'> | ||
<BsCheckCircleFill className='w-4 h-4' /> | ||
</Button> | ||
<Button type='btn-accent' iconOnly='btn-square'> | ||
<BsXCircleFill className='w-4 h-4' /> | ||
</Button> | ||
<Button type='btn-ghost' iconOnly='btn-square'> | ||
<BsCalendarEventFill className='w-4 h-4' /> | ||
</Button> | ||
<Button type='btn-outline' iconOnly='btn-square'> | ||
<BsDoorOpenFill className='w-4 h-4' /> | ||
</Button> | ||
<Button type='btn-active' iconOnly='btn-square'> | ||
<BsDoorOpenFill className='w-4 h-4' /> | ||
</Button> | ||
<Button type='btn-disabled' iconOnly='btn-square'> | ||
<BsDoorOpenFill className='w-4 h-4' /> | ||
</Button> | ||
<Button type='btn-error' iconOnly='btn-square'> | ||
<BsExclamationTriangleFill className='w-4 h-4' /> | ||
</Button> | ||
<Button type='btn-warning' iconOnly='btn-square'> | ||
<BsFillExclamationCircleFill className='w-4 h-4' /> | ||
</Button> | ||
<Button type='btn-info' iconOnly='btn-square'> | ||
<BsInfoSquareFill className='w-4 h-4' /> | ||
</Button> | ||
<Button type='btn-success' iconOnly='btn-square'> | ||
<BsCheckCircleFill className='w-4 h-4' /> | ||
</Button> | ||
<Button type='btn-link' iconOnly='btn-square'> | ||
<BsLink className='w-4 h-4' /> | ||
</Button> | ||
</React.Fragment> | ||
) | ||
} |
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,14 @@ | ||
import { PageTitle } from '@/pageComponents/PageWrapper' | ||
import React from 'react' | ||
|
||
export default function RootLayout({ | ||
children | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<PageTitle title='Buttons' description='Clicky'> | ||
{children} | ||
</PageTitle> | ||
) | ||
} |
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,17 +1,16 @@ | ||
import { NavBar } from '@/pageComponents/NavBar' | ||
import { PageWrapper } from '@/pageComponents/PageWrapper' | ||
import React from 'react' | ||
|
||
export default function RootLayout({ | ||
children | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<html lang='en'> | ||
<body> | ||
<NavBar /> | ||
<PageWrapper>{children}</PageWrapper> | ||
</body> | ||
</html> | ||
<React.Fragment> | ||
<NavBar /> | ||
<PageWrapper>{children}</PageWrapper> | ||
</React.Fragment> | ||
) | ||
} |
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,14 @@ | ||
import { PageTitle } from '@/pageComponents/PageWrapper' | ||
import React from 'react' | ||
|
||
export default function RootLayout({ | ||
children | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<PageTitle title='Modals' description='Awesome popups'> | ||
{children} | ||
</PageTitle> | ||
) | ||
} |
Oops, something went wrong.
7c64ee9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
gryt-ui – ./
gryt-ui.vercel.app
gryt-ui-gryt.vercel.app
ui.gryt.chat
gryt-ui-git-main-gryt.vercel.app