mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-28 08:59:40 +05:00
feat: add containers to pages
This commit is contained in:
parent
b1c18da065
commit
f8a6d18c37
6 changed files with 8 additions and 8 deletions
|
@ -16,7 +16,7 @@ export function IndexPage() {
|
|||
const [announceReleasesData] = useFetchReleases("announce");
|
||||
|
||||
return (
|
||||
<main className="flex flex-col pt-2 pb-16 sm:pt-4 sm:pb-0">
|
||||
<main className="container flex flex-col pt-2 pb-16 mx-auto sm:pt-4 sm:pb-0">
|
||||
{lastReleasesData ? (
|
||||
<ReleaseCourusel
|
||||
sectionTitle="Последние релизы"
|
||||
|
|
|
@ -57,7 +57,7 @@ export function IndexCategoryPage(props) {
|
|||
);
|
||||
|
||||
return (
|
||||
<main className="pt-2 pb-16 sm:pt-4 sm:pb-0">
|
||||
<main className="container pt-2 pb-16 mx-auto sm:pt-4 sm:pb-0">
|
||||
{content && (
|
||||
<ReleaseSection
|
||||
sectionTitle={props.SectionTitleMapping[props.slug]}
|
||||
|
|
|
@ -50,7 +50,7 @@ export function LoginPage() {
|
|||
}, [userStore.user]);
|
||||
|
||||
return (
|
||||
<main>
|
||||
<main className="container mx-auto">
|
||||
<section className="bg-gray-50 dark:bg-gray-900">
|
||||
<div className="flex flex-col items-center justify-center px-6 py-8 mx-auto md:h-screen lg:py-0">
|
||||
<div className="w-full bg-white rounded-lg shadow dark:border md:mt-0 sm:max-w-md xl:p-0 dark:bg-gray-800 dark:border-gray-700">
|
||||
|
|
|
@ -66,10 +66,10 @@ export function SearchPage() {
|
|||
if (error) return <div>failed to load</div>;
|
||||
|
||||
return (
|
||||
<main className="px-2 pt-2 pb-16 sm:pt-4 sm:pb-0">
|
||||
<main className="container px-2 pt-2 pb-16 mx-auto sm:pt-4 sm:pb-0">
|
||||
<div>
|
||||
<form
|
||||
className="max-w-md mx-auto"
|
||||
className="max-w-full mx-auto"
|
||||
onSubmit={(e) => {
|
||||
e.preventDefault();
|
||||
setQuery(e.target[0].value.trim());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue