The weeb for the next gen discord boat - Wamellow wamellow.com
bot discord
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix some leaderboard files

Luna ac2dd7b4 95964499

+8 -10
+2 -2
app/leaderboard/[guildId]/icon.tsx app/leaderboard/[guildId]/icon.component.tsx
··· 15 15 ...props 16 16 }: Props) { 17 17 switch (type) { 18 - case "messages": 19 - return <MessagesIcon height={cn("0.9em", className)} {...props} />; 20 18 case "voiceminutes": 21 19 return <VoiceIcon height="0.9em" className={cn("mt-1 ml-1", className)} {...props} />; 22 20 case "invites": 23 21 return <InvitesIcon height="0.9em" className={cn("mt-1.5", className)} {...props} />; 22 + default: 23 + return <MessagesIcon height={cn("0.9em", className)} {...props} />; 24 24 } 25 25 }
+3 -3
app/leaderboard/[guildId]/open-graph.png/route.tsx
··· 7 7 import { truncate } from "@/utils/truncate"; 8 8 9 9 import { getGuild, getTopMembers } from "../api"; 10 - import Icon from "../icon"; 10 + import Icon from "../icon.component"; 11 11 import { LeaderboardProps } from "../layout"; 12 12 13 13 export const revalidate = 3600; // 1 hour ··· 26 26 27 27 return new ImageResponse( 28 28 ( 29 - <div tw="bg-[#0d0f11] p-18 flex flex-col w-full h-full text-6xl text-white"> 29 + <div tw="bg-[#07050c] p-18 flex flex-col w-full h-full text-6xl text-white"> 30 30 <div tw="flex mb-6"> 31 - <span tw="text-3xl bg-violet-400/75 opacity-80 pt-2 px-4 rounded-xl" style={{ fontWeight: 500 }}>Leaderboard</span> 31 + <span tw="text-3xl bg-[#2c2146] text-[#895af6] opacity-80 pt-2 px-4 rounded-xl" style={{ fontWeight: 500 }}>Leaderboard</span> 32 32 </div> 33 33 <div tw="flex mb-3 items-center"> 34 34 <img
+1 -1
app/leaderboard/[guildId]/page.tsx
··· 8 8 import SadWumpusPic from "@/public/sad-wumpus.gif"; 9 9 10 10 import { getDesign, getGuild, getPagination, getTopMembers } from "./api"; 11 - import Icon from "./icon"; 11 + import Icon from "./icon.component"; 12 12 import Pagination from "./pagination.component"; 13 13 14 14 interface LeaderboardProps {
+2 -4
app/leaderboard/[guildId]/pagination.component.tsx
··· 7 7 import LoginButton from "@/components/login-button"; 8 8 import { getCanonicalUrl } from "@/utils/urls"; 9 9 10 - function Pagination( 10 + export default function Pagination( 11 11 { 12 12 guildId, 13 13 searchParams, ··· 45 45 /> 46 46 ); 47 47 48 - } 49 - 50 - export default Pagination; 48 + }