Merge pull request #128 from snowball-tools/ericlewis/prettify-select

This commit is contained in:
Vivian Phung 2024-02-27 10:44:59 -05:00 committed by GitHub
commit 13fc92bf0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 8 deletions

View File

@ -102,10 +102,14 @@ const Sidebar = () => {
<Tabs defaultValue="Projects" orientation="vertical" className="mt-10"> <Tabs defaultValue="Projects" orientation="vertical" className="mt-10">
<Tabs.List> <Tabs.List>
{[ {[
{ title: 'Projects', icon: <FolderIcon /> }, { title: 'Projects', url: `/${orgSlug}/`, icon: <FolderIcon /> },
{ title: 'Settings', icon: <SettingsSlidersIcon /> }, {
].map(({ title, icon }, index) => ( title: 'Settings',
<NavLink to={`/${orgSlug}/${title}`} key={index}> url: `/${orgSlug}/settings`,
icon: <SettingsSlidersIcon />,
},
].map(({ title, icon, url }, index) => (
<NavLink to={url} key={index}>
<Tabs.Trigger icon={icon} value={title}> <Tabs.Trigger icon={icon} value={title}>
{title} {title}
</Tabs.Trigger> </Tabs.Trigger>

View File

@ -23,7 +23,6 @@ export const tabsTheme = tv({
// Vertical // Vertical
'data-[orientation=vertical]:px-3', 'data-[orientation=vertical]:px-3',
'data-[orientation=vertical]:py-3', 'data-[orientation=vertical]:py-3',
'data-[orientation=vertical]:min-w-[240px]',
'data-[orientation=vertical]:w-full', 'data-[orientation=vertical]:w-full',
'data-[orientation=vertical]:focus-ring', 'data-[orientation=vertical]:focus-ring',
'data-[orientation=vertical]:rounded-xl', 'data-[orientation=vertical]:rounded-xl',

View File

@ -2,9 +2,8 @@ import React from 'react';
const Login = () => { const Login = () => {
return ( return (
<div className="grid grid-cols-5 h-screen bg-light-blue-50 py-10"> <div className="flex items-center justify-center h-screen bg-light-blue-50">
<div className="col-span-2"></div> <div className="flex justify-center">
<div className="col-span-1">
<w3m-button /> <w3m-button />
</div> </div>
</div> </div>