mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-08-01 09:13:27 +08:00
ui: share tailwind config across packages
This commit is contained in:
@ -1,8 +1,16 @@
|
||||
import { Button, CounterButton } from '@tih/ui';
|
||||
|
||||
export default function HomePage() {
|
||||
return (
|
||||
<main className="flex-1 overflow-y-auto">
|
||||
<div className="flex h-full items-center justify-center">
|
||||
<h1 className="text-center font-bold text-4xl">Homepage</h1>
|
||||
<div>
|
||||
<h1 className="text-center text-4xl font-bold text-red-600">
|
||||
Homepage
|
||||
</h1>
|
||||
<CounterButton />
|
||||
<Button label="Button text" size="md" variant="primary" />
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
|
Reference in New Issue
Block a user