-
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.
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export const metadata = { | ||
title: 'Converter', | ||
description: | ||
'数値の基数の変換やカラーコードの変換など、便利な変換処理を提供します。', | ||
}; | ||
|
||
export default function Layout({ | ||
children, | ||
}: { | ||
children: React.ReactNode; | ||
}) { | ||
return ( | ||
<div className="flex flex-col gap-4"> | ||
<h2 className="text-2xl font-bold">Converter</h2> | ||
{children} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { BaseConverter } from './components/base-converter'; | ||
import { ColorConverter } from './components/color-converter'; | ||
|
||
export default function Page() { | ||
return ( | ||
<div className="flex flex-col gap-8"> | ||
<div className="flex flex-col gap-4"> | ||
<h3 className="text-l font-medium">進数</h3> | ||
<div className="rounded-md bg-white p-4 shadow-md"> | ||
<BaseConverter /> | ||
</div> | ||
</div> | ||
<div className="flex flex-col gap-4"> | ||
<h3 className="text-l font-medium">カラーコード</h3> | ||
<div className="rounded-md bg-white p-4 shadow-md"> | ||
<ColorConverter /> | ||
</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