- Updated .env.example to include configuration for OnlyOffice Document Server. - Modified the workspace configuration to remove the drive-suite path. - Adjusted TypeScript environment imports for consistency. - Enhanced Next.js configuration to disable canvas in Webpack. - Updated package.json to include new dependencies for OnlyOffice and PDF.js. - Added global styles for OnlyOffice theme integration in the CSS. - Created new layout and page components for the Drive feature, including public sharing and editing functionalities. - Updated metadata handling across various layouts to reflect the new app structure.
26 lines
763 B
TypeScript
26 lines
763 B
TypeScript
"use client"
|
|
|
|
import { searchResultsTitle, type DriveSearchState } from "@/lib/drive/drive-search"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
const CRUMB_LINE_CLASS = "leading-6 md:leading-7"
|
|
|
|
export function DriveSearchBreadcrumb({ search }: { search: DriveSearchState }) {
|
|
return (
|
|
<nav
|
|
aria-label="Résultats de recherche"
|
|
className="flex min-w-0 flex-nowrap items-center overflow-hidden text-[#5f6368] dark:text-muted-foreground"
|
|
>
|
|
<span
|
|
className={cn(
|
|
"min-w-0 truncate text-base font-normal tracking-tight text-[#202124] md:text-[1.375rem] dark:text-foreground",
|
|
CRUMB_LINE_CLASS
|
|
)}
|
|
title={searchResultsTitle(search)}
|
|
>
|
|
{searchResultsTitle(search)}
|
|
</span>
|
|
</nav>
|
|
)
|
|
}
|