mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: session toolbar
This commit is contained in:
1 parent
350434cc5a
commit
33b4ea04b4
7 files changed
+165
-65
No files matched your search
@@ -0,0 +1,23 @@
|
||||
import { style } from '@vanilla-extract/css';
|
||||
|
||||
export const toolBar = style({
|
||||
'@media': {
|
||||
'screen and (min-width: 640px)': {
|
||||
flexDirection: 'row',
|
||||
},
|
||||
},
|
||||
|
||||
flexDirection: 'column',
|
||||
display: 'flex',
|
||||
gap: 8,
|
||||
});
|
||||
|
||||
export const button = style({
|
||||
'@media': {
|
||||
'screen and (min-width: 640px)': {
|
||||
flex: 0,
|
||||
},
|
||||
},
|
||||
|
||||
flex: 1,
|
||||
});
|
||||
@@ -1,3 +1,29 @@
|
||||
'use client';
|
||||
|
||||
import { CopyIcon, ListBulletIcon, ReloadIcon } from '@radix-ui/react-icons';
|
||||
import { Button } from '../../../components/Button';
|
||||
import PageWrapper from '../../../components/PageWrapper';
|
||||
import { SearchBar } from '../../../components/SearchBar';
|
||||
import * as styles from './page.css';
|
||||
|
||||
export default function Page() {
|
||||
return 'inner';
|
||||
return (
|
||||
<PageWrapper>
|
||||
<div className={styles.toolBar}>
|
||||
<SearchBar style={{ flex: 1 }} placeholder="Search for a player..." />
|
||||
|
||||
<div style={{ display: 'flex', gap: 8 }}>
|
||||
<Button className={styles.button} color="dangerous">
|
||||
<ReloadIcon /> Reset
|
||||
</Button>
|
||||
<Button className={styles.button}>
|
||||
<CopyIcon /> Embed
|
||||
</Button>
|
||||
<Button className={styles.button}>
|
||||
<ListBulletIcon /> Options
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</PageWrapper>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user