silverwolf-x's picture
download
raw
1.2 kB
import { DialogHeader } from '../../dialog/dialog-header'
type ErrorOverlayDialogHeaderProps = {
children?: React.ReactNode
}
export function ErrorOverlayDialogHeader({
children,
}: ErrorOverlayDialogHeaderProps) {
return (
<DialogHeader className="nextjs-container-errors-header">
{children}
</DialogHeader>
)
}
export const DIALOG_HEADER_STYLES = `
.nextjs-container-errors-header {
position: relative;
}
.nextjs-container-errors-header > h1 {
font-size: var(--size-20);
line-height: var(--size-24);
font-weight: bold;
margin: calc(16px * 1.5) 0;
color: var(--color-title-h1);
}
.nextjs-container-errors-header small {
font-size: var(--size-14);
color: var(--color-accents-1);
margin-left: 16px;
}
.nextjs-container-errors-header small > span {
font-family: var(--font-stack-monospace);
}
.nextjs-container-errors-header > div > small {
margin: 0;
margin-top: 4px;
}
.nextjs-container-errors-header > p > a {
color: inherit;
font-weight: bold;
}
.nextjs-container-errors-header
> .nextjs-container-build-error-version-status {
position: absolute;
top: 16px;
right: 16px;
}
`

Xet Storage Details

Size:
1.2 kB
·
Xet hash:
33af6d56d6ff1487ca123eb01f8b368ca5e2d3f08bd6e3f15eaff59f1db96a5b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.