formatting

This commit is contained in:
timothycarambat 2025-05-05 11:41:27 -07:00
parent 4f23e44756
commit 421d7980ac
13 changed files with 32 additions and 30 deletions

View File

@ -33,9 +33,9 @@ export default function AutoSpeak() {
return (
<div className="flex flex-col gap-y-0.5 my-4">
<h2 className="text-sm leading-6 font-semibold text-white">
<p className="text-sm leading-6 font-semibold text-white">
{t("customization.chat.auto_speak.title")}
</h2>
</p>
<p className="text-xs text-white/60">
{t("customization.chat.auto_speak.description")}
</p>

View File

@ -30,9 +30,9 @@ export default function AutoSubmit() {
return (
<div className="flex flex-col gap-y-0.5 my-4">
<h2 className="text-sm leading-6 font-semibold text-white">
<p className="text-sm leading-6 font-semibold text-white">
{t("customization.chat.auto_submit.title")}
</h2>
</p>
<p className="text-xs text-white/60">
{t("customization.chat.auto_submit.description")}
</p>

View File

@ -63,9 +63,9 @@ export default function CustomAppName() {
className="flex flex-col gap-y-0.5 mt-4"
onSubmit={updateCustomAppName}
>
<h2 className="text-sm leading-6 font-semibold text-white">
<p className="text-sm leading-6 font-semibold text-white">
{t("customization.items.app-name.title")}
</h2>
</p>
<p className="text-xs text-white/60">
{t("customization.items.app-name.description")}
</p>

View File

@ -70,9 +70,9 @@ export default function CustomLogo() {
return (
<div className="flex flex-col gap-y-0.5 my-4">
<h2 className="text-sm leading-6 font-semibold text-white">
<p className="text-sm leading-6 font-semibold text-white">
{t("customization.items.logo.title")}
</h2>
</p>
<p className="text-xs text-white/60">
{t("customization.items.logo.description")}
</p>

View File

@ -62,9 +62,9 @@ export default function CustomMessages() {
return (
<div className="flex flex-col gap-y-0.5 my-4">
<h2 className="text-sm leading-6 font-semibold text-white">
<p className="text-sm leading-6 font-semibold text-white">
{t("customization.items.welcome-messages.title")}
</h2>
</p>
<p className="text-xs text-white/60">
{t("customization.items.welcome-messages.description")}
</p>

View File

@ -41,17 +41,17 @@ export default function CustomSiteSettings() {
onChange={() => setHasChanges(true)}
onSubmit={handleSiteSettingUpdate}
>
<h2 className="text-sm leading-6 font-semibold text-white">
<p className="text-sm leading-6 font-semibold text-white">
{t("customization.items.browser-appearance.title")}
</h2>
</p>
<p className="text-xs text-white/60">
{t("customization.items.browser-appearance.description")}
</p>
<div className="w-fit">
<h2 className="text-sm leading-6 font-medium text-white mt-2">
<p className="text-sm leading-6 font-medium text-white mt-2">
{t("customization.items.browser-appearance.tab.title")}
</h2>
</p>
<p className="text-xs text-white/60">
{t("customization.items.browser-appearance.tab.description")}
</p>
@ -76,9 +76,9 @@ export default function CustomSiteSettings() {
</div>
<div className="w-fit">
<h2 className="text-sm leading-6 font-medium text-white mt-2">
<p className="text-sm leading-6 font-medium text-white mt-2">
{t("customization.items.browser-appearance.favicon.title")}
</h2>
</p>
<p className="text-xs text-white/60">
{t("customization.items.browser-appearance.favicon.description")}
</p>

View File

@ -51,9 +51,9 @@ export default function FooterCustomization() {
return (
<div className="flex flex-col gap-y-0.5 my-4">
<h2 className="text-sm leading-6 font-semibold text-white">
<p className="text-sm leading-6 font-semibold text-white">
{t("customization.items.sidebar-footer.title")}
</h2>
</p>
<p className="text-xs text-white/60">
{t("customization.items.sidebar-footer.description")}
</p>

View File

@ -12,9 +12,9 @@ export default function LanguagePreference() {
return (
<div className="flex flex-col gap-y-0.5 my-4">
<h2 className="text-sm leading-6 font-semibold text-white">
<p className="text-sm leading-6 font-semibold text-white">
{t("customization.items.display-language.title")}
</h2>
</p>
<p className="text-xs text-white/60">
{t("customization.items.display-language.description")}
</p>

View File

@ -8,9 +8,9 @@ export function MessageDirection() {
return (
<div className="flex flex-col gap-y-0.5 my-4">
<h2 className="text-sm leading-6 font-semibold text-white">
<p className="text-sm leading-6 font-semibold text-white">
{t("customization.items.chat-message-alignment.title")}
</h2>
</p>
<p className="text-xs text-white/60">
{t("customization.items.chat-message-alignment.description")}
</p>

View File

@ -30,9 +30,9 @@ export default function ShowScrollbar() {
return (
<div className="flex flex-col gap-y-0.5 my-4">
<h2 className="text-sm leading-6 font-semibold text-white">
<p className="text-sm leading-6 font-semibold text-white">
{t("customization.items.show-scrollbar.title")}
</h2>
</p>
<p className="text-xs text-white/60">
{t("customization.items.show-scrollbar.description")}
</p>

View File

@ -58,9 +58,9 @@ export default function SupportEmail() {
className="flex flex-col gap-y-0.5 mt-4"
onSubmit={updateSupportEmail}
>
<h2 className="text-sm leading-6 font-semibold text-white">
<p className="text-sm leading-6 font-semibold text-white">
{t("customization.items.support-email.title")}
</h2>
</p>
<p className="text-xs text-white/60">
{t("customization.items.support-email.description")}
</p>

View File

@ -7,9 +7,9 @@ export default function ThemePreference() {
return (
<div className="flex flex-col gap-y-0.5 my-4">
<h2 className="text-sm leading-6 font-semibold text-white">
<p className="text-sm leading-6 font-semibold text-white">
{t("customization.items.theme.title")}
</h2>
</p>
<p className="text-xs text-white/60">
{t("customization.items.theme.description")}
</p>

View File

@ -88,7 +88,6 @@ export const CHECKLIST_ITEMS = () => [
showNewWsModal = noop,
}) => {
if (workspaces.length === 0) {
debugger;
showToast(t("main-page.noWorkspaceError"), "warning", {
clear: true,
});
@ -160,7 +159,10 @@ export const CHECKLIST_ITEMS = () => [
title: t("main-page.checklist.tasks.visit_community.title"),
description: t("main-page.checklist.tasks.visit_community.description"),
action: t("main-page.checklist.tasks.visit_community.action"),
handler: () => window.open(paths.communityHub.website(), "_blank"),
handler: () => {
window.open(paths.communityHub.website(), "_blank");
return true;
},
icon: UsersThree,
},
];