diff --git a/src/components/ButtonComponent/Button.sass b/src/components/ButtonComponent/Button.sass new file mode 100644 index 0000000..a0bdef1 --- /dev/null +++ b/src/components/ButtonComponent/Button.sass @@ -0,0 +1,14 @@ +@use '/src/styles/variables.sass' as vars + +.button + background-color: #5e825f + border: none + border-radius: 4px + color: white + padding: 1rem 2rem + text-align: center + text-decoration: none + display: inline-block + font-size: 16px + margin: 4px 2px + cursor: pointer diff --git a/src/components/ButtonComponent/Button.tsx b/src/components/ButtonComponent/Button.tsx new file mode 100644 index 0000000..6a47a74 --- /dev/null +++ b/src/components/ButtonComponent/Button.tsx @@ -0,0 +1,17 @@ +import './Button.sass' +import { Show } from 'solid-js' + +export default (props: { label?: string; to?: string; onClick?: () => void; }) => { + return <> + + + + + + + + + + + +} \ No newline at end of file