Skip to documentation
Design system / Sources & standards
Current repository source
showcaseOtherItem.tsx
src/components/submissions/showcaseOtherItem.tsx
This view contains the escaped source read during the deployment build. Code and policy text are unchanged. Markdown is shown as source, not rendered as a document. A new deployment refreshes the content.
import { File } from "lucide-react";
import { Text } from "@/components/ui/text";
import { ShowcaseAssetFrame, ShowcaseUnavailable, type ShowcaseAssetProps } from "./showcaseAssetFrame";
export function ShowcaseOtherItem({ asset, framed, showDetails, presentation, fit }: ShowcaseAssetProps) {
return <ShowcaseAssetFrame asset={asset} framed={framed} showDetails={showDetails} presentation={presentation} fit={fit}>
{asset.downloadUrl ? <div className="flex size-full flex-col items-center justify-center gap-3 p-4 text-center text-muted-foreground"><File aria-hidden="true" className="size-8 shrink-0" /><Text variant="supporting">Use the download icon to open or save this file.</Text></div> : <ShowcaseUnavailable />}
</ShowcaseAssetFrame>;
}
All sources and standards