diff --git a/src/components/File/index.tsx b/src/components/File/index.tsx index f2e98a4d..6e921276 100644 --- a/src/components/File/index.tsx +++ b/src/components/File/index.tsx @@ -3,6 +3,7 @@ import s from "./styles.module.css" import { FileDefinition } from "src/types" import { ext, size } from "src/lib/file" import Link from "next/link" +import Image from "next/image" export type FileProps = FileDefinition & { style?: React.CSSProperties @@ -13,7 +14,10 @@ export const File: React.FC = props => ( {!props.cover?.src ? null : (
- {props.name} + {props.name}
)} diff --git a/src/components/NotFound/index.tsx b/src/components/NotFound/index.tsx index 52641673..1d2e76aa 100644 --- a/src/components/NotFound/index.tsx +++ b/src/components/NotFound/index.tsx @@ -1,12 +1,13 @@ import s from "./error.module.css" import Link from "next/link" +import Image from "next/image" export const NotFound: React.FC = () => (

Страница не найдена

- + Not found