This repository has been archived by the owner on Sep 29, 2024. It is now read-only.
generated from XenoPOMP/next-template
-
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
Showing
4 changed files
with
48 additions
and
11 deletions.
There are no files selected for viewing
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,12 +1,14 @@ | ||
a.logo { | ||
@apply flex items-center; | ||
&.sidebar { | ||
@apply flex items-center justify-start; | ||
|
||
padding: var(--p-level-2); | ||
gap: var(--p-level-5); | ||
font-size: var(--p24); | ||
padding: var(--p-level-3); | ||
gap: var(--p-level-5); | ||
font-size: var(--p24); | ||
|
||
// Border | ||
border-color: inherit; | ||
border-bottom-style: solid; | ||
border-bottom-width: 1px; | ||
// Border | ||
border-color: inherit; | ||
border-bottom-style: solid; | ||
border-bottom-width: 1px; | ||
} | ||
} |
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 +1,3 @@ | ||
export interface LogoProps {} | ||
export interface LogoProps { | ||
variant?: 'sidebar'; | ||
} |
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,22 @@ | ||
import type { Meta, StoryObj } from '@storybook/react'; | ||
|
||
import Logo from './Logo'; | ||
|
||
const meta = { | ||
title: 'UI/Logo', | ||
component: Logo, | ||
tags: ['autodoc'], | ||
parameters: { | ||
// layout: 'centered', | ||
}, | ||
} satisfies Meta<typeof Logo>; | ||
|
||
export default meta; | ||
|
||
type Story = StoryObj<typeof meta>; | ||
|
||
export const Sidebar: Story = { | ||
args: { | ||
variant: 'sidebar', | ||
}, | ||
}; |
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