diff --git a/apps/website/src/components/dashboard/GuildInfo.astro b/apps/website/src/components/dashboard/GuildInfo.astro new file mode 100644 index 0000000..de06da9 --- /dev/null +++ b/apps/website/src/components/dashboard/GuildInfo.astro @@ -0,0 +1,25 @@ +--- +import { Image } from "astro:assets"; + +interface Props { + id: string; + name: string; + icon: string; +} + +const { id, name, icon } = Astro.props; +--- + +
+ icon + +

+ {name} +

+
diff --git a/apps/website/src/pages/dashboard/guilds/[id].astro b/apps/website/src/pages/dashboard/guilds/[id].astro index cfadc13..fa2a750 100644 --- a/apps/website/src/pages/dashboard/guilds/[id].astro +++ b/apps/website/src/pages/dashboard/guilds/[id].astro @@ -1,4 +1,7 @@ --- +import GuildInfo from "~/components/dashboard/GuildInfo.astro"; +import UserInfo from "~/components/dashboard/UserInfo.astro"; +import Layout from "~/layouts/Layout.astro"; import { getGuild } from "~/lib/guilds"; import { isUserEligible } from "~/lib/user"; @@ -20,4 +23,14 @@ if (!eligible) { } --- -You can manage guild {guild.name} with id {guild.id} + +
+ + +

on

+ + +
+ + You can manage guild {guild.name} with id {guild.id} +