Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from pvdthings/dev/v0.7.1
Browse files Browse the repository at this point in the history
dev/v0.7.1
  • Loading branch information
dillonfagan authored Jan 11, 2023
2 parents 111f0cd + ad3bb1c commit fd8be16
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 20 deletions.
1 change: 0 additions & 1 deletion src/lib/Foundation.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
export { default as Button } from "./foundation/Button.svelte";
export { default as Card } from "./foundation/Card.svelte";
export { default as Column } from "./foundation/Column.svelte";
export { default as Image } from "./foundation/Image.svelte";
export { default as Link } from "./foundation/Link.svelte";
export { default as Row } from "./foundation/Row.svelte";
export { default as Text } from "./foundation/Text.svelte";
Expand Down
10 changes: 2 additions & 8 deletions src/lib/foundation/Card.svelte
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
<script>
export let style = "h-auto w-auto"
</script>

<div class={style}>
<div class="h-full bg-white brutal hovers-static overflow-hidden">
<slot />
</div>
<div class="h-auto w-auto aspect-square flex flex-col bg-white brutal hovers-static overflow-hidden">
<slot />
</div>
9 changes: 0 additions & 9 deletions src/lib/foundation/Image.svelte

This file was deleted.

4 changes: 2 additions & 2 deletions src/lib/things/Thing.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
import { Card, Image, Text } from "$lib/Foundation.svelte";
import { Card, Text } from "$lib/Foundation.svelte";
export let thing;
Expand All @@ -11,7 +11,7 @@

<div class="flex flex-col {className}">
<Card>
<Image src={thing.image} alt={thing.name} class="aspect-square" />
<img src={thing.image} alt={thing.name} class="h-full w-full object-contain" />
</Card>
<div class="pl-1 pt-2 flex flex-col gap-2 justify-between flex-grow">
<Text display bold smallauto>{thing.name}</Text>
Expand Down

1 comment on commit fd8be16

@vercel
Copy link

@vercel vercel bot commented on fd8be16 Feb 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

app – ./

app-pvdthings.vercel.app
app-dillonfagan-pvdthings.vercel.app
app-nine-delta.vercel.app

Please sign in to comment.