diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2023-02-21 23:24:14 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2023-02-21 23:24:14 +0100 |
| commit | 6cb399e7267ae78e3e498bdbf5f51678ffb2cd45 (patch) | |
| tree | b109832a208927821fcfe65bd98ff9e3f391c44c /src/components/card-v4.svelte | |
| parent | 54bbc06bd84437c6b38e2f6c57060f21a8318720 (diff) | |
| download | auroraklinikken.no-6cb399e7267ae78e3e498bdbf5f51678ffb2cd45.tar.xz auroraklinikken.no-6cb399e7267ae78e3e498bdbf5f51678ffb2cd45.zip | |
feat: Many things
Configure sanity in same project as the app
Implement type safe sanity schema
Read localised documents
Strip down design
Diffstat (limited to 'src/components/card-v4.svelte')
| -rw-r--r-- | src/components/card-v4.svelte | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/components/card-v4.svelte b/src/components/card-v4.svelte index ff35492..fccd423 100644 --- a/src/components/card-v4.svelte +++ b/src/components/card-v4.svelte @@ -16,16 +16,13 @@ <PortableText value={description} /> {/if} </p> - <div class="flex flex-wrap gap-3"> - <a href="#0" class="btn btn--subtle">Learn more</a> - <a href="#0" class="btn btn--primary">Buy</a> - </div> + <slot /> </div> </div> <style lang="postcss"> .card { - @apply flex flex-col bg-floor rounded-xl overflow-hidden; + @apply flex flex-col bg-floor rounded-xl overflow-hidden h-max; box-shadow: 0 0 0 1px hsla(230, 13%, 9%, 0.05), 0 0.3px 0.4px hsla(230, 13%, 9%, 0.02), 0 0.9px 1.5px hsla(230, 13%, 9%, 0.045), 0 3.5px 6px hsla(230, 13%, 9%, 0.09); } |
