feat(app): add horizontal lines as spacers
All checks were successful
Build and Push Docker Image / tests (push) Successful in 31s
Build and Push Docker Image / build (push) Successful in 1m20s

This commit is contained in:
Lars Hampe 2024-10-20 10:09:10 +02:00
parent 7c8e80aa47
commit a0baad534e
3 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
import { SidebarInset, SidebarTrigger } from '@boring.tools/ui' import { Separator, SidebarInset, SidebarTrigger } from '@boring.tools/ui'
import type { ReactNode } from 'react' import type { ReactNode } from 'react'
import { Sidebar } from './Sidebar' import { Sidebar } from './Sidebar'
@ -30,6 +30,7 @@ export const Layout = ({ children }: { children: ReactNode | ReactNode[] }) => {
</Breadcrumb> */} </Breadcrumb> */}
</div> </div>
</header> </header>
<Separator />
<div className="flex flex-1 flex-col gap-4 p-4 pt-0"> <div className="flex flex-1 flex-col gap-4 p-4 pt-0">
<div className="flex flex-col"> <div className="flex flex-col">
<main className="flex flex-1 flex-col gap-4 p-4 lg:gap-6 lg:p-6"> <main className="flex flex-1 flex-col gap-4 p-4 lg:gap-6 lg:p-6">

View File

@ -16,6 +16,7 @@ import {
SelectItem, SelectItem,
SelectTrigger, SelectTrigger,
SelectValue, SelectValue,
Separator,
cn, cn,
} from '@boring.tools/ui' } from '@boring.tools/ui'
import { zodResolver } from '@hookform/resolvers/zod' import { zodResolver } from '@hookform/resolvers/zod'
@ -90,7 +91,7 @@ const Component = () => {
return ( return (
<div className="flex flex-col gap-5"> <div className="flex flex-col gap-5">
<hr /> <Separator />
{!isPending && data && ( {!isPending && data && (
<div> <div>
<h1 className="text-xl mb-2">Version: {data.version}</h1> <h1 className="text-xl mb-2">Version: {data.version}</h1>

View File

@ -17,6 +17,7 @@ import {
SelectItem, SelectItem,
SelectTrigger, SelectTrigger,
SelectValue, SelectValue,
Separator,
cn, cn,
} from '@boring.tools/ui' } from '@boring.tools/ui'
import { zodResolver } from '@hookform/resolvers/zod' import { zodResolver } from '@hookform/resolvers/zod'
@ -66,7 +67,7 @@ const Component = () => {
return ( return (
<div className="flex flex-col gap-5"> <div className="flex flex-col gap-5">
<hr /> <Separator />
<h1 className="text-xl mb-2">New version</h1> <h1 className="text-xl mb-2">New version</h1>
<Form {...form}> <Form {...form}>
<form <form