-
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
1 parent
3e5eaad
commit 8e6bd87
Showing
4 changed files
with
82 additions
and
49 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
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,21 +1,37 @@ | ||
type WelcomeProps = {} & React.HTMLAttributes<HTMLDivElement> | ||
|
||
const Emph = ({ children }: { children: React.ReactNode }) => | ||
<em className='text-neutral-600 dark:text-neutral-200'>{children}</em> | ||
const Emph = ({ children }: { children: React.ReactNode }) => ( | ||
<em className="text-neutral-600 dark:text-neutral-200">{children}</em> | ||
) | ||
|
||
const Welcome = ({ ...rest }: WelcomeProps) => { | ||
return ( | ||
<div {...rest}> | ||
<header className="text-2xl italic">Welcome to Meditations</header> | ||
<div className="leading-relaxed flex flex-col gap-8 py-8 text-neutral-400 text-lg"> | ||
<div className="flex flex-col gap-8 py-8 text-lg leading-relaxed text-neutral-400"> | ||
<p>Inspired by Marcus Aurelius.</p> | ||
<p>A simple notepad for <Emph>"repeating and reframing ideas long familiar but imperfectly absorbed"</Emph>.</p> | ||
<p>There's <Emph>no server</Emph>, all your notes are <Emph>private & stored locally in this browser.</Emph></p> | ||
<p>Unlike a notepad, this will <Emph>help resurface past thoughts</Emph>.</p> | ||
<p><Emph>Press the + button below</Emph> to start collecting your thoughts.</p> | ||
<p> | ||
A simple notepad for{' '} | ||
<Emph> | ||
"repeating and reframing ideas long familiar but imperfectly | ||
absorbed" | ||
</Emph> | ||
. | ||
</p> | ||
<p> | ||
There's <Emph>no server</Emph>, all your notes are{' '} | ||
<Emph>private & stored locally in this browser.</Emph> | ||
</p> | ||
<p> | ||
Unlike a notepad, this will <Emph>help resurface past thoughts</Emph>. | ||
</p> | ||
<p> | ||
<Emph>Press the + button below</Emph> to start collecting your | ||
thoughts. | ||
</p> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default Welcome | ||
export default Welcome |