-
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.
Signed-off-by: hxtree <[email protected]>
- Loading branch information
Showing
17 changed files
with
110 additions
and
77 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,13 +1,16 @@ | ||
import { Paper } from '@cats-cradle/design-system/dist/main'; | ||
import ArchetypeSelect from '../components/ArchetypeSelect'; | ||
|
||
export default function ArchetypePage() { | ||
return ( | ||
<main className="container"> | ||
<h1>Archetypes</h1> | ||
<p> | ||
Archetypes serve as the fundamental blueprint for character sheets. They outline a character's abilities, potential, and constraints. Each character sheet draws inspiration from a designated archetype, shaping their possibilities and outlining the skills they can or cannot acquire. While an archetype does not detail everything, it plays a vital role in guiding both player and non-player character creation. | ||
</p> | ||
<ArchetypeSelect /> | ||
<Paper elevation="1"> | ||
<h1>Archetypes</h1> | ||
<p> | ||
Archetypes serve as the fundamental blueprint for character sheets. They outline a character's abilities, potential, and constraints. Each character sheet draws inspiration from a designated archetype, shaping their possibilities and outlining the skills they can or cannot acquire. While an archetype does not detail everything, it plays a vital role in guiding both player and non-player character creation. | ||
</p> | ||
<ArchetypeSelect /> | ||
</Paper> | ||
</main> | ||
); | ||
} |
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,7 +1,11 @@ | ||
import { Paper } from '@cats-cradle/design-system/dist/main'; | ||
|
||
export default function CharacterSheetsPage() { | ||
return ( | ||
<main className="container"> | ||
<h1>Character Sheets</h1> | ||
<Paper elevation="1"> | ||
<h1>Character Sheets</h1> | ||
</Paper> | ||
</main> | ||
); | ||
} |
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,15 +1,18 @@ | ||
import { Paper } from '@cats-cradle/design-system/dist/main'; | ||
import { DiceAnalyzer } from '../components/DiceAnalyzer'; | ||
|
||
export default function DicePage() { | ||
return ( | ||
<main className="container"> | ||
<h1>Dice Notation Analyzer</h1> | ||
<p> | ||
Determine the appropriate dice notation for skill set rolls and | ||
visualizes the impact of luck. Gain valuable insights into | ||
chance's influence on game play outcomes. | ||
</p> | ||
<DiceAnalyzer /> | ||
<Paper elevation="1"> | ||
<h1>Dice Notation Analyzer</h1> | ||
<p> | ||
Determine the appropriate dice notation for skill set rolls and | ||
visualizes the impact of luck. Gain valuable insights into | ||
chance's influence on game play outcomes. | ||
</p> | ||
<DiceAnalyzer /> | ||
</Paper> | ||
</main> | ||
); | ||
} |
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,18 +1,20 @@ | ||
import { Button, Link } from '@cats-cradle/design-system/dist/main'; | ||
import { Paper, Button, Link, FontAwesomeIcon, faArrowRight } from '@cats-cradle/design-system/dist/main'; | ||
|
||
export default function HomePage() { | ||
return ( | ||
<main className="container"> | ||
<h1>Cats Cradle</h1> | ||
<h2>Latest</h2> | ||
<h3>Archetypes</h3> | ||
<p> | ||
Attention, game masters! Introducing our latest tool designed exclusively for you. | ||
Dive into the world of character archetypes with ease. | ||
Uncover diverse options, check out base stats, and seamlessly explore backstories—all in one place. | ||
No-frills, just a straightforward way to look at the data. Raise a <Link href='https://github.com/hxtree/cats-cradle/pulls'>pull request</Link> to suggest changes. | ||
</p> | ||
<Button href="/archetypes" color="secondary">Try It!</Button> | ||
<Paper elevation="1"> | ||
<h1>Cats Cradle</h1> | ||
<h2>Latest</h2> | ||
<h3>Archetypes</h3> | ||
<p> | ||
Attention, game masters! Introducing our latest tool designed exclusively for you. | ||
Dive into the world of character archetypes with ease. | ||
Uncover diverse options, check out base stats, and seamlessly explore backstories—all in one place. | ||
No-frills, just a straightforward way to look at the data. Raise a <Link href='https://github.com/hxtree/cats-cradle/pulls'>pull request</Link> to suggest changes. | ||
</p> | ||
<Button href="/archetypes" color="secondary">Try It <FontAwesomeIcon icon={faArrowRight}/></Button> | ||
</Paper> | ||
</main> | ||
); | ||
} |
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
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,14 @@ | ||
import './style.module.scss' | ||
|
||
export type PaperProps = { | ||
children: React.ReactNode; | ||
elevation: string; | ||
}; | ||
|
||
export const Paper = (props: PaperProps): JSX.Element => { | ||
const { elevation, children } = props; | ||
|
||
return (<div className={`paper elevation-${elevation}`}>{children}</div>) | ||
}; | ||
|
||
export default Paper; |
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,8 @@ | ||
@import '../../styles/utils/color-pallette'; | ||
|
||
.paper { | ||
background-color: $color-white; | ||
box-shadow: rgba(0, 0, 0, 0.22) 0px 4px 30px 0px; | ||
padding: 4rem 4.5rem; | ||
border-radius: 2.25rem; | ||
} |
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
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