formatting
This commit is contained in:
parent
4f23e44756
commit
421d7980ac
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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,
|
||||
},
|
||||
];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user