-
-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8225abd
commit a194d5b
Showing
12 changed files
with
54 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
export { default as Img1 } from "./01.png"; | ||
export { default as Img2 } from "./02.png"; | ||
export { default as Img3 } from "./03.png"; | ||
export { default as Img4 } from "./04.png"; | ||
export { default as Img5 } from "./05.png"; | ||
import Img1 from "./01.png"; | ||
import Img2 from "./02.png"; | ||
import Img3 from "./03.png"; | ||
import Img4 from "./04.png"; | ||
import Img5 from "./05.png"; | ||
|
||
export default [Img1, Img2, Img3, Img4, Img5] as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
import Send from "lucide-svelte/icons/send"; | ||
import Plus from "lucide-svelte/icons/plus"; | ||
import { cn } from "$lib/utils.js"; | ||
import * as Avatars from "$lib/img/avatars/index.js"; | ||
import AvatarImgs from "$lib/img/avatars/index.js"; | ||
import * as Avatar from "$lib/registry/default/ui/avatar/index.js"; | ||
import * as Card from "$lib/registry/default/ui/card/index.js"; | ||
import * as Command from "$lib/registry/default/ui/command/index.js"; | ||
|
@@ -16,27 +16,27 @@ | |
{ | ||
name: "Olivia Martin", | ||
email: "[email protected]", | ||
avatar: Avatars.Img1, | ||
avatar: AvatarImgs[0], | ||
}, | ||
{ | ||
name: "Isabella Nguyen", | ||
email: "[email protected]", | ||
avatar: Avatars.Img3, | ||
avatar: AvatarImgs[2], | ||
}, | ||
{ | ||
name: "Emma Wilson", | ||
email: "[email protected]", | ||
avatar: Avatars.Img5, | ||
avatar: AvatarImgs[4], | ||
}, | ||
{ | ||
name: "Jackson Lee", | ||
email: "[email protected]", | ||
avatar: Avatars.Img2, | ||
avatar: AvatarImgs[1], | ||
}, | ||
{ | ||
name: "William Kim", | ||
email: "[email protected]", | ||
avatar: Avatars.Img4, | ||
avatar: AvatarImgs[3], | ||
}, | ||
] as const; | ||
|
@@ -72,7 +72,7 @@ | |
<Card.Header class="flex flex-row items-center"> | ||
<div class="flex items-center space-x-4"> | ||
<Avatar.Root> | ||
<Avatar.Image src={Avatars.Img1} alt="Image" /> | ||
<Avatar.Image src={AvatarImgs[0]} alt="Image" /> | ||
<Avatar.Fallback>OM</Avatar.Fallback> | ||
</Avatar.Root> | ||
<div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<script lang="ts"> | ||
import * as Avatars from "$lib/img/avatars/index.js"; | ||
import AvatarImgs from "$lib/img/avatars/index.js"; | ||
import * as Avatar from "$lib/registry/default/ui/avatar/index.js"; | ||
import { Button } from "$lib/registry/default/ui/button/index.js"; | ||
import * as Card from "$lib/registry/default/ui/card/index.js"; | ||
|
@@ -22,19 +22,19 @@ | |
{ | ||
name: "Olivia Martin", | ||
email: "[email protected]", | ||
avatar: Avatars.Img3, | ||
avatar: AvatarImgs[2], | ||
permission: permissions[1], | ||
}, | ||
{ | ||
name: "Isabella Nguyen", | ||
email: "[email protected]", | ||
avatar: Avatars.Img5, | ||
avatar: AvatarImgs[4], | ||
permission: permissions[0], | ||
}, | ||
{ | ||
name: "Sofia Davis", | ||
email: "[email protected]", | ||
avatar: Avatars.Img1, | ||
avatar: AvatarImgs[0], | ||
permission: permissions[0], | ||
}, | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
import PaperPlane from "svelte-radix/PaperPlane.svelte"; | ||
import Plus from "svelte-radix/Plus.svelte"; | ||
import { cn } from "$lib/utils.js"; | ||
import * as Avatars from "$lib/img/avatars/index.js"; | ||
import AvatarImgs from "$lib/img/avatars/index.js"; | ||
import * as Avatar from "$lib/registry/new-york/ui/avatar/index.js"; | ||
import * as Card from "$lib/registry/new-york/ui/card/index.js"; | ||
import * as Command from "$lib/registry/new-york/ui/command/index.js"; | ||
|
@@ -16,27 +16,27 @@ | |
{ | ||
name: "Olivia Martin", | ||
email: "[email protected]", | ||
avatar: Avatars.Img1, | ||
avatar: AvatarImgs[0], | ||
}, | ||
{ | ||
name: "Isabella Nguyen", | ||
email: "[email protected]", | ||
avatar: Avatars.Img3, | ||
avatar: AvatarImgs[2], | ||
}, | ||
{ | ||
name: "Emma Wilson", | ||
email: "[email protected]", | ||
avatar: Avatars.Img5, | ||
avatar: AvatarImgs[4], | ||
}, | ||
{ | ||
name: "Jackson Lee", | ||
email: "[email protected]", | ||
avatar: Avatars.Img2, | ||
avatar: AvatarImgs[1], | ||
}, | ||
{ | ||
name: "William Kim", | ||
email: "[email protected]", | ||
avatar: Avatars.Img4, | ||
avatar: AvatarImgs[3], | ||
}, | ||
] as const; | ||
|
@@ -72,7 +72,7 @@ | |
<Card.Header class="flex flex-row items-center"> | ||
<div class="flex items-center space-x-4"> | ||
<Avatar.Root> | ||
<Avatar.Image src={Avatars.Img1} alt="Image" /> | ||
<Avatar.Image src={AvatarImgs[0]} alt="Image" /> | ||
<Avatar.Fallback>OM</Avatar.Fallback> | ||
</Avatar.Root> | ||
<div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<script lang="ts"> | ||
import * as Avatars from "$lib/img/avatars/index.js"; | ||
import AvatarImgs from "$lib/img/avatars/index.js"; | ||
import * as Avatar from "$lib/registry/new-york/ui/avatar/index.js"; | ||
import { Button } from "$lib/registry/new-york/ui/button/index.js"; | ||
import * as Card from "$lib/registry/new-york/ui/card/index.js"; | ||
|
@@ -22,19 +22,19 @@ | |
{ | ||
name: "Olivia Martin", | ||
email: "[email protected]", | ||
avatar: Avatars.Img3, | ||
avatar: AvatarImgs[2], | ||
permission: permissions[1], | ||
}, | ||
{ | ||
name: "Isabella Nguyen", | ||
email: "[email protected]", | ||
avatar: Avatars.Img5, | ||
avatar: AvatarImgs[4], | ||
permission: permissions[0], | ||
}, | ||
{ | ||
name: "Sofia Davis", | ||
email: "[email protected]", | ||
avatar: Avatars.Img1, | ||
avatar: AvatarImgs[0], | ||
permission: permissions[0], | ||
}, | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<script lang="ts"> | ||
import * as Avatars from "$lib/img/avatars/index.js"; | ||
import AvatarImgs from "$lib/img/avatars/index.js"; | ||
import * as Avatar from "$lib/registry/new-york/ui/avatar/index.js"; | ||
import { Button } from "$lib/registry/new-york/ui/button/index.js"; | ||
import * as Card from "$lib/registry/new-york/ui/card/index.js"; | ||
|
@@ -22,19 +22,19 @@ | |
{ | ||
name: "Olivia Martin", | ||
email: "[email protected]", | ||
avatar: Avatars.Img3, | ||
avatar: AvatarImgs[2], | ||
permission: permissions[1], | ||
}, | ||
{ | ||
name: "Isabella Nguyen", | ||
email: "[email protected]", | ||
avatar: Avatars.Img5, | ||
avatar: AvatarImgs[4], | ||
permission: permissions[0], | ||
}, | ||
{ | ||
name: "Sofia Davis", | ||
email: "[email protected]", | ||
avatar: Avatars.Img1, | ||
avatar: AvatarImgs[0], | ||
permission: permissions[0], | ||
}, | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters