mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-06 08:10:20 +00:00
feat: move button into own component
This commit is contained in:
parent
b77e62e30c
commit
b545987764
1 changed files with 14 additions and 0 deletions
14
frontend/src/lib/components/button/Submit.svelte
Normal file
14
frontend/src/lib/components/button/Submit.svelte
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<script lang="ts">
|
||||||
|
export let value: string;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<input on:click type="submit" {value} />
|
||||||
|
|
||||||
|
<style>
|
||||||
|
input {
|
||||||
|
@apply bg-sspsBlue hover:bg-sspsBlueDark
|
||||||
|
@apply rounded-lg p-3 text-xl font-semibold text-white
|
||||||
|
@apply transition-colors duration-300;
|
||||||
|
@apply w-full;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Loading…
Reference in a new issue