-
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.
fix(multiple sources): structure update, added page template
created DefaultPage template for setting "flex w-full flex-col items-center justify-between" div.
- Loading branch information
1 parent
6cd5b6e
commit 5100951
Showing
5 changed files
with
45 additions
and
23 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import type { ReactNode } from 'react'; | ||
|
||
type IDefaultPageProps = { | ||
children: ReactNode; | ||
}; | ||
|
||
const DefaultPage = (props: IDefaultPageProps) => { | ||
return ( | ||
<div className="flex w-full flex-col items-center justify-between"> | ||
{props.children} | ||
</div> | ||
); | ||
}; | ||
|
||
export { DefaultPage }; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { DefaultPage } from './DefaultPage'; | ||
import { Main } from './Main'; | ||
|
||
export { DefaultPage, Main }; |