-
Notifications
You must be signed in to change notification settings - Fork 3
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
10 changed files
with
49 additions
and
188 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,3 @@ | ||
.homepage { | ||
@apply text-gray-900; | ||
} |
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,12 @@ | ||
import React from 'react'; | ||
|
||
import Homepage from './Homepage'; | ||
|
||
export default { | ||
title: 'Pages/Homepage', | ||
component: Homepage, | ||
}; | ||
|
||
const Template = () => <Homepage />; | ||
|
||
export const Default = Template.bind({}); |
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,26 @@ | ||
import React from 'react'; | ||
|
||
import Header from 'components/organisms/Header'; | ||
|
||
const Page = (): JSX.Element => ( | ||
<main className="container mx-auto homepage"> | ||
<Header /> | ||
|
||
<article className="mx-auto md:w-1/2"> | ||
<h1 className="my-8 text-3xl font-bold">Pages in Storybook</h1> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vitae autem | ||
degendae ratio maxime quidem illis placuit quieta. Et hunc idem dico, | ||
inquieta sed ad virtutes et ad vitia nihil interesse. Si quidem, inquit, | ||
tollerem, sed relinquo. Ut alios omittam, hunc appello, quem ille unum | ||
secutus est. -, sed ut hoc iudicaremus, non esse in iis partem maximam | ||
positam beate aut secus vivendi. Itaque a sapientia praecipitur se | ||
ipsam, si usus sit, sapiens ut relinquat. Restinguet citius, si ardentem | ||
acceperit. Duo Reges: constructio interrete. Quae quidem sapientes | ||
sequuntur duce natura tamquam videntes; | ||
</p> | ||
</article> | ||
</main> | ||
); | ||
|
||
export default Page; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 +1 @@ | ||
export { default } from './Page'; | ||
export { default } from './Homepage'; |
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