-
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
14 changed files
with
145 additions
and
71 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,19 +1,9 @@ | ||
import { ReactNode } from "react"; | ||
import "./card.css"; | ||
|
||
type Props = { | ||
children: ReactNode; | ||
|
||
className?: string; | ||
|
||
title: string; | ||
}; | ||
|
||
export function Card({ children, className = "", title }: Props) { | ||
return ( | ||
<div className={`card ${className}`}> | ||
<header>{title}</header> | ||
<div>{children}</div> | ||
</div> | ||
); | ||
export function Card({ className = "" }: Props) { | ||
return <div className={`card ${className}`}>{}</div>; | ||
} |
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,17 +1,20 @@ | ||
.card { | ||
border-radius: var(--codex-border-radius); | ||
border: 1px solid var(--codex-border-color); | ||
font-family: var(--codex-font-family); | ||
background-color: var(--codex-background-secondary); | ||
border: 1px solid #96969633; | ||
border-radius: 16px; | ||
padding: 16px; | ||
|
||
header { | ||
border-bottom: 1px solid var(--codex-border-color); | ||
padding: 1rem 1.5rem; | ||
font-size: 1.15rem; | ||
font-weight: bold; | ||
} | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
gap: 16px; | ||
|
||
div { | ||
padding: 1.5rem; | ||
h5 { | ||
font-family: Inter; | ||
font-size: 16px; | ||
font-weight: 500; | ||
line-height: 24px; | ||
letter-spacing: -0.011em; | ||
} | ||
} | ||
} |
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
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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
type Props = { | ||
width?: number; | ||
fill?: string; | ||
}; | ||
|
||
export function UploadIcon({ width = 30, fill = "#96969666" }: Props) { | ||
return ( | ||
<svg | ||
width={width} | ||
viewBox="0 0 30 28" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M15.621 3.5H28.5C28.8978 3.5 29.2794 3.65804 29.5607 3.93934C29.842 4.22064 30 4.60218 30 5V26C30 26.3978 29.842 26.7794 29.5607 27.0607C29.2794 27.342 28.8978 27.5 28.5 27.5H1.5C1.10218 27.5 0.720644 27.342 0.43934 27.0607C0.158035 26.7794 0 26.3978 0 26V2C0 1.60218 0.158035 1.22064 0.43934 0.93934C0.720644 0.658035 1.10218 0.5 1.5 0.5H12.621L15.621 3.5ZM3 3.5V24.5H27V6.5H14.379L11.379 3.5H3ZM16.5 15.5V21.5H13.5V15.5H9L15 9.5L21 15.5H16.5Z" | ||
fill={fill} | ||
/> | ||
</svg> | ||
); | ||
} |
Oops, something went wrong.