From 6cb399e7267ae78e3e498bdbf5f51678ffb2cd45 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Tue, 21 Feb 2023 23:24:14 +0100
Subject: feat: Many things

Configure sanity in same project as the app
Implement type safe sanity schema
Read localised documents
Strip down design
---
 src/components/card-v4.svelte | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

(limited to 'src/components/card-v4.svelte')

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);
 	}
-- 
cgit v1.3

