Compare commits
No commits in common. "14e92cd884b25bf289402f5df52f1b5b4f1ff6cc" and "b559b0b2e4bf25caf7fa798442f4fb58a4ab0ff2" have entirely different histories.
14e92cd884
...
b559b0b2e4
6 changed files with 0 additions and 35 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 4.7 KiB |
|
|
@ -1,15 +0,0 @@
|
|||
.page
|
||||
margin: 2rem
|
||||
height: auto
|
||||
|
||||
.column
|
||||
@extend .page
|
||||
display: flex
|
||||
flex-direction: column
|
||||
text-align: center
|
||||
justify-content: center
|
||||
align-items: center
|
||||
|
||||
.row
|
||||
@extend .column
|
||||
flex-direction: row
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
import './Page.sass'
|
||||
import { Show, Switch, Match } from 'solid-js'
|
||||
|
||||
interface Props {
|
||||
children?: any
|
||||
alignment?: 'row' | 'column'
|
||||
}
|
||||
|
||||
export default (props: Props) => {
|
||||
return (
|
||||
<>
|
||||
<Show when={props.alignment}>
|
||||
<main class={props.alignment}>{props.children}</main>
|
||||
</Show>
|
||||
<Show when={!props.alignment}>
|
||||
<main class="page">{props.children}</main>
|
||||
</Show>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue