-
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
21 changed files
with
1,404 additions
and
1,407 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
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,24 +1,24 @@ | ||
import { clsx } from '@a-type/ui'; | ||
|
||
export const TopLineRoot = (props: any) => ( | ||
<div | ||
className={clsx( | ||
'grid grid-areas-[image]-[title] grid-cols-[1fr] grid-rows-[auto_1fr] mb-6 gap-4', | ||
'lg:grid-areas-[title_image] lg:grid-cols-[auto_minmax(min-content,1fr)]', | ||
)} | ||
{...props} | ||
/> | ||
<div | ||
className={clsx( | ||
'grid grid-areas-[image]-[title] grid-cols-[1fr] grid-rows-[auto_1fr] mb-6 gap-4', | ||
'lg:grid-areas-[title_image] lg:grid-cols-[auto_minmax(min-content,1fr)]', | ||
)} | ||
{...props} | ||
/> | ||
); | ||
|
||
export const TopLineTitle = (props: any) => ( | ||
<div className={clsx('[grid-area:title] flex flex-col gap-2')} {...props} /> | ||
<div className={clsx('[grid-area:title] flex flex-col gap-2')} {...props} /> | ||
); | ||
|
||
export const TopLineImage = (props: any) => ( | ||
<div | ||
className={clsx( | ||
'[grid-area:image] w-full h-30vh lg:w-full lg:min-w-200px lg:h-200px', | ||
)} | ||
{...props} | ||
/> | ||
<div | ||
className={clsx( | ||
'[grid-area:image] w-full h-30dvh lg:w-full lg:min-w-200px lg:h-200px', | ||
)} | ||
{...props} | ||
/> | ||
); |
Oops, something went wrong.