feat: recreate dashboard page from previous version

This commit is contained in:
Sonny
2024-05-03 02:10:15 +02:00
committed by Sonny
parent 2cc490b611
commit 2cf8c5ae02
66 changed files with 2087 additions and 86 deletions

View File

@@ -29,6 +29,8 @@ declare module '@emotion/react' {
lightGreen: string;
green: string;
yellow: string;
};
border: {

6
inertia/types/favicon.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
interface Favicon {
buffer: Buffer;
url: string;
type: string;
size: number;
}

17
inertia/types/search.d.ts vendored Normal file
View File

@@ -0,0 +1,17 @@
import type Link from '#models/link';
export interface SearchItem {
id: string;
name: string;
url: string;
type: 'collection' | 'link';
collection?: undefined | Link['collection'];
}
export interface SearchResult {
id: string;
name: React.ReactNode; // React node to support bold text
url: string;
type: 'collection' | 'link';
collection?: undefined | Link['collection'];
}