mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 01:49:40 +05:00
Merge remote-tracking branch 'origin/feat_player'
This commit is contained in:
parent
bb437fe7ca
commit
25e31a7799
62 changed files with 1508 additions and 701 deletions
16
app/search/page.tsx
Normal file
16
app/search/page.tsx
Normal file
|
@ -0,0 +1,16 @@
|
|||
import dynamic from "next/dynamic";
|
||||
import { SearchPage } from "#/pages/Search";
|
||||
|
||||
export async function generateMetadata({ searchParams }) {
|
||||
const query = searchParams.q;
|
||||
return {
|
||||
title: query || "Поиск",
|
||||
};
|
||||
}
|
||||
|
||||
const SearchDynamic = dynamic(() => Promise.resolve(SearchPage), {
|
||||
ssr: false,
|
||||
});
|
||||
export default function Search() {
|
||||
return <SearchDynamic />;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue