-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from nacika-ins/fix/remove-notes-for-misskey
fix: Prepare container for home use.
- Loading branch information
Showing
4 changed files
with
55 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
'use client'; | ||
|
||
import { NextPage } from 'next'; | ||
import React from 'react'; | ||
import { SettingContainer } from '@/components/organisms/SettingContainer'; | ||
import { HomeContainer } from '@/components/organisms/HomeContainer'; | ||
|
||
export default function Home() { | ||
return ( | ||
<main className="relative py-6 lg:gap-10 lg:py-8"> | ||
<div className="container flex-1"> | ||
<SettingContainer /> | ||
</div> | ||
</main> | ||
); | ||
} | ||
const Page: NextPage = () => ( | ||
<main className="relative py-6 lg:gap-10 lg:py-8"> | ||
<div className="container flex-1"> | ||
<HomeContainer /> | ||
</div> | ||
</main> | ||
); | ||
|
||
export default Page; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React, { FC } from 'react'; | ||
import { SettingsNav } from '@/components/molecules/SettingsNav'; | ||
import { Separator } from '@/components/ui/separator'; | ||
|
||
export const HomeContainer: FC = () => ( | ||
<div className="hidden space-y-6 p-10 pb-16 md:block"> | ||
<div className="space-y-0.5"> | ||
<h2 className="text-2xl font-bold tracking-tight">Settings</h2> | ||
<p className="text-muted-foreground"> | ||
Automated anti-spam settings are available. | ||
</p> | ||
</div> | ||
<Separator className="my-6" /> | ||
<div className="flex flex-col space-y-8 lg:flex-row lg:space-x-12 lg:space-y-0"> | ||
<aside className="-mx-4 lg:w-1/5"> | ||
<SettingsNav /> | ||
</aside> | ||
<div className="flex-1 lg:max-w-2xl"> | ||
Please select a menu | ||
</div> | ||
</div> | ||
</div> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters