+2
-6
src/lib/components/cards/MemberCard.svelte
+2
-6
src/lib/components/cards/MemberCard.svelte
···
20
20
@param {string} handle - The member's full Bluesky handle
21
21
22
22
Usage:
23
-
<MemberCard
24
-
title="Alice"
25
-
href="alice.bsky.social"
26
-
avatar="https://..."
27
-
handle="alice.bsky.social"
28
-
/>
23
+
Pass title, href (Bluesky handle), avatar URL, and handle props.
24
+
The card will display the member's profile with links to various platforms.
29
25
-->
30
26
<script lang="ts">
31
27
// Import external link icon from lucide-svelte icon library
+2
-12
src/lib/components/cards/ProjectCard.svelte
+2
-12
src/lib/components/cards/ProjectCard.svelte
···
20
20
@param {boolean} [disabled] - If true, card is greyed out and non-clickable
21
21
22
22
Usage:
23
-
<ProjectCard
24
-
title="My Project"
25
-
href="https://example.com"
26
-
logo="/logo.png"
27
-
handle="myproject.bsky.social"
28
-
/>
29
-
30
-
<!-- Coming soon project -->
31
-
<ProjectCard
32
-
title="Future Project"
33
-
disabled={true}
34
-
/>
23
+
Import and use with props for title, href, logo, handle, and disabled.
24
+
For coming-soon projects, set disabled to true to grey out the card.
35
25
-->
36
26
<script lang="ts">
37
27
// Import external link icon from lucide-svelte icon library
+1
-1
src/lib/components/layout/Header.svelte
+1
-1
src/lib/components/layout/Header.svelte
+1
-1
src/lib/components/layout/Hero.svelte
+1
-1
src/lib/components/layout/Hero.svelte
+2
-8
src/lib/components/sections/About.svelte
+2
-8
src/lib/components/sections/About.svelte
···
17
17
@param {Array} [items=[]] - Array of items with { label, href? } structure
18
18
19
19
Usage:
20
-
<About
21
-
title="About"
22
-
items={[
23
-
{ label: 'Our Mission', href: '/mission' },
24
-
{ label: 'Contact Us', href: '/contact' },
25
-
{ label: 'Just some text' }
26
-
]}
27
-
/>
20
+
Pass title and items array. Items with href become clickable links,
21
+
items without href are displayed as plain text. Each item needs a label property.
28
22
-->
29
23
<script lang="ts">
30
24
// Import arrow icon for link indicators
+2
-7
src/lib/components/sections/MemberGrid.svelte
+2
-7
src/lib/components/sections/MemberGrid.svelte
···
23
23
- handle: Full handle for display
24
24
25
25
Usage:
26
-
<MemberGrid
27
-
title="Members"
28
-
members={[
29
-
{ title: 'Alice', href: 'alice.bsky.social', avatar: '...', handle: 'alice.bsky.social' },
30
-
{ title: 'Bob', href: 'bob.bsky.social', avatar: '...', handle: 'bob.bsky.social' }
31
-
]}
32
-
/>
26
+
Pass title and members array. Each member object should have title, href,
27
+
avatar, and handle properties. The grid automatically adjusts to screen size.
33
28
-->
34
29
<script lang="ts">
35
30
// Import the MemberCard component for displaying individual members
+2
-7
src/lib/components/sections/ProjectGrid.svelte
+2
-7
src/lib/components/sections/ProjectGrid.svelte
···
25
25
- disabled: If true, card is greyed out (for coming-soon projects)
26
26
27
27
Usage:
28
-
<ProjectGrid
29
-
title="Projects"
30
-
projects={[
31
-
{ title: 'Project A', href: 'https://example.com' },
32
-
{ title: 'Project B', href: '#', disabled: true }
33
-
]}
34
-
/>
28
+
Pass title and projects array. Each project object should have title, optional
29
+
href, logo, handle, and disabled properties. Disabled projects appear greyed out.
35
30
-->
36
31
<script lang="ts">
37
32
// Import the ProjectCard component for displaying individual projects
+3
-11
src/lib/components/ui/Avatar.svelte
+3
-11
src/lib/components/ui/Avatar.svelte
···
21
21
@param {...HTMLAttributes<HTMLDivElement>} restProps - Any additional HTML attributes
22
22
23
23
Usage:
24
-
<!-- With image -->
25
-
<Avatar title="Alice" avatar="https://example.com/avatar.jpg" size={64} />
26
-
27
-
<!-- Without image (uses fallback) -->
28
-
<Avatar title="Bob" size={48} />
29
-
30
-
<!-- With custom size -->
31
-
<Avatar title="Charlie" avatar="..." size="5rem" />
32
-
33
-
<!-- With additional classes -->
34
-
<Avatar title="Dana" avatar="..." class="custom-class" />
24
+
Pass title prop (required), optional avatar URL, size (number or string),
25
+
and any additional HTML div attributes. Component handles image loading errors
26
+
automatically by displaying a fallback icon.
35
27
-->
36
28
<script lang="ts">
37
29
// Import the Lollipop icon from lucide-svelte for the fallback display