From db5c7aaa22ecb5e96125bbb0e391b20b81c4974c Mon Sep 17 00:00:00 2001 From: ChanatpakornD Date: Mon, 29 Jan 2024 16:38:53 +0700 Subject: [PATCH] feat: members --- src/components/member/Members.svelte | 41 +++++++++++++-------- src/components/member/ProfileCard.svelte | 18 +++++++-- src/components/member/ProfileSection.svelte | 0 src/pages/index.astro | 11 +++--- 4 files changed, 47 insertions(+), 23 deletions(-) delete mode 100644 src/components/member/ProfileSection.svelte diff --git a/src/components/member/Members.svelte b/src/components/member/Members.svelte index c5d4cbe..6415d5f 100644 --- a/src/components/member/Members.svelte +++ b/src/components/member/Members.svelte @@ -5,22 +5,33 @@
-
-

Members

-
-
- {#if !OrgMembers ||OrgMembers.length === 0} -

No Public Members found...

- {:else} - {#each OrgMembers as member} - - {/each} - {/if} +
+
+

Members

+
+
+ {#if !OrgMembers || OrgMembers.length === 0} +

No Public Members found...

+ {:else} + {#each OrgMembers as member} + + {/each} + {/if} +
+ + +
diff --git a/src/components/member/ProfileCard.svelte b/src/components/member/ProfileCard.svelte index ba5b367..b616b87 100644 --- a/src/components/member/ProfileCard.svelte +++ b/src/components/member/ProfileCard.svelte @@ -5,14 +5,19 @@
-
+
+ + diff --git a/src/components/member/ProfileSection.svelte b/src/components/member/ProfileSection.svelte deleted file mode 100644 index e69de29..0000000 diff --git a/src/pages/index.astro b/src/pages/index.astro index 8667258..fa44279 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -16,8 +16,7 @@ const fetchOrgMembers = async () => { console.error(err); } }; -const orgMembers= await fetchOrgMembers(); -console.log(orgMembers); +const orgMembers = await fetchOrgMembers(); --- @@ -33,7 +32,9 @@ console.log(orgMembers); >
-

Information System

+

Information System

Development

logo
-
+