feat(front): improve landing page, and font for clan tag

This commit is contained in:
Hexagonn
2024-11-02 03:03:25 +00:00
committed by GitHub
parent 16e18db06d
commit c276b9969b
16 changed files with 1692 additions and 152 deletions

View File

@@ -107,4 +107,91 @@ export const ParameterInfo: Array<
description:
"If you don't want the default \"I'm not currently doing anything!\" as your idle message, this is the right option.",
},
{
parameter: "showDisplayName",
type: "boolean",
title: "Show Display Name",
description:
"If you don't want to show your display name, this is the right option.",
},
{
parameter: "hideDecoration",
type: "boolean",
title: "Hide Avatar Decoration",
description:
"If you don't want people seeing your Avatar Decoration, this is the right option.",
},
{
parameter: "animatedDecoration",
type: "boolean",
title: "Toggle Animated Avatar Decoration",
description:
"If you have an Animated Avatar Decoration, but don't want it animated, this is the right option.",
options: {
defaultBool: true,
},
},
{
parameter: "hideStatus",
type: "boolean",
title: "Hide Status",
description:
"If you don't want people seeing your status, this is the right option.",
},
{
parameter: "hideTimestamp",
type: "boolean",
title: "Hide Elapsed Time",
description:
"If you don't want people seeing the elapsed time on an activity, this is the right option.",
},
{
parameter: "hideClan",
type: "boolean",
title: "Hide Clan Tag",
description:
"If you don't want people seeing your Guild Tag (formerly known as Clans), this is the right option.",
},
{
parameter: "hideBadges",
type: "boolean",
title: "Hide Badges",
description:
"If you don't want people seeing your Badges, this is the right option.",
},
{
parameter: "hideProfile",
type: "boolean",
title: "Hide Profile",
description:
"If you don't want people seeing your Profile, this is the right option.",
},
{
parameter: "hideActivity",
type: "boolean",
title: "Hide Activity",
description:
"If you don't want people seeing your activity, this is the right option.",
},
{
parameter: "hideSpotify",
type: "boolean",
title: "Hide Spotify",
description:
"If you don't want people seeing your Spotify activity, this is the right option.",
},
{
parameter: "ignoreAppId",
type: "string",
title: "Hide App by ID",
description:
"If you don't want display a specific application, this is the right option. IDs separate by `,`.",
},
{
parameter: "hideDiscrim",
type: "boolean",
title: "Hide Discriminator (DEPRECATED)",
description:
"If you don't want people seeing your Discriminator, this is the right option. (DEPRECATED)",
},
];

View File

@@ -198,7 +198,7 @@ const renderCard = async (body: LanyardTypes.Root, params: Parameters): Promise<
inset: 0;
background-color: #${backgroundColor};
color: ${theme === "dark" ? "#fff" : "#000"};
font-family: 'Century Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
font-family:'Century Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
font-size: 16px;
display: flex;
flex-direction: column;
@@ -303,6 +303,7 @@ const renderCard = async (body: LanyardTypes.Root, params: Parameters): Promise<
gap: 0.25rem;
font-size: 16px;
font-weight: 500;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
height: 100%;
">
<img src="data:image/png;base64,${clanBadge!}" />