diff --git a/src/app/[...file]/page.tsx b/src/app/[...file]/page.tsx index 4bf14d4..c397c5a 100644 --- a/src/app/[...file]/page.tsx +++ b/src/app/[...file]/page.tsx @@ -2,18 +2,7 @@ import type { Metadata, ResolvingMetadata } from 'next'; import Image from 'next/image'; import Content from './content'; -import { - root, - center, - title_group, - title_text_group, - supertitle, - title, - download_button, - download_button_image, - download_text_section, - download_text, -} from './page.css'; +import * as style from './page.css'; import download_image from './download.png'; type SearchParams = { [key: string]: string | string[] | undefined }; @@ -44,26 +33,26 @@ export async function generateMetadata( export default async function Page({ params, searchParams }: Props) { - const path = get_path(params.file); - const root_url = `https://${get_root(searchParams)}/`; + const path = get_path(params.file); + const root = `https://${get_root(searchParams)}/`; return ( -
-
-
-
-

{root_url}

-

{path}

+
+
+
+
+

{root}

+

{path}

-
- +
);