Skip to content

Commit b44cf8a

Browse files
author
FalkWolsky
committed
Small improvements in Branding Settings Page
1 parent 33108fc commit b44cf8a

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

client/packages/lowcoder/src/i18n/locales/en.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2911,8 +2911,8 @@ export const en = {
29112911
"whatsNew": "Enable What's New",
29122912
"saveButton": "Save Settings",
29132913
"errorPageImage" : "Upload an image for the Error Page in SVG or PNG format.",
2914-
"signUpPageImage" : "Upload an image for the Error Page in SVG or PNG format.",
2915-
"loggedOutPageImage" : "Upload an image for the Error Page in SVG or PNG format.",
2914+
"signUpPageImage" : "Upload an image for the Sign Up Page in SVG or PNG format.",
2915+
"loggedOutPageImage" : "Upload an image for the Logged-out Page in SVG or PNG format.",
29162916
"showDocumentationSection": "Documentation Link Settings",
29172917
"showWhatsNewSection" : "Whats New Link Settings",
29182918
"documentationLink": "Documentation Link",

client/packages/lowcoder/src/pages/setting/branding/BrandingSetting.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ export function BrandingSetting() {
268268
</HeaderBack>
269269
</Header>
270270
<DetailContent>
271+
272+
{/* Branding Settings Selection */}
271273
<BrandingSettingContent>
272274
<StyleThemeSettingsCover>
273275
<h2 style={{ color: "#ffffff", marginTop: "8px" }}>{trans("branding.general")}</h2>
@@ -321,7 +323,8 @@ export function BrandingSetting() {
321323
</Card>
322324
</BrandingSettingContent>
323325

324-
<BrandingSettingContent>
326+
{/* General Logos */}
327+
<BrandingSettingContent style={{marginTop : "20px"}}>
325328
<StyleThemeSettingsCover>
326329
<h2 style={{ color: "#ffffff", marginTop: "8px" }}>{trans("branding.logoSection")}</h2>
327330
</StyleThemeSettingsCover>
@@ -370,6 +373,7 @@ export function BrandingSetting() {
370373
</Card>
371374
</BrandingSettingContent>
372375

376+
{/* Colors and Fonts */}
373377
<BrandingSettingContent style={{marginTop : "20px"}}>
374378
<StyleThemeSettingsCover>
375379
<h2 style={{ color: "#ffffff", marginTop: "8px" }}>{trans("branding.colorFontSection")}</h2>
@@ -517,6 +521,7 @@ export function BrandingSetting() {
517521
</Card>
518522
</BrandingSettingContent>
519523

524+
{/* Texts and Images for Standard Pages */}
520525
<BrandingSettingContent style={{marginTop : "20px"}}>
521526
<StyleThemeSettingsCover>
522527
<h2 style={{ color: "#ffffff", marginTop: "8px" }}>{trans("branding.textSection")}</h2>
@@ -635,8 +640,10 @@ export function BrandingSetting() {
635640
</div>
636641

637642
</Card>
643+
</BrandingSettingContent>
638644

639-
645+
{/* Helper Links in left submenu */}
646+
<BrandingSettingContent style={{marginTop : "20px"}}>
640647
<StyleThemeSettingsCover style={{marginTop : "20px"}}>
641648
<h2 style={{ color: "#ffffff", marginTop: "8px" }}>
642649
{trans("branding.showDocumentationSection")}
@@ -662,15 +669,8 @@ export function BrandingSetting() {
662669
<HelpText>{trans("branding.documentationLinkHelp")}</HelpText>
663670
</div>
664671
)}
665-
</Card>
666672

667-
<StyleThemeSettingsCover style={{marginTop : "20px"}}>
668-
<h2 style={{ color: "#ffffff", marginTop: "8px" }}>
669-
{trans("branding.showWhatsNewSection")}
670-
</h2>
671-
</StyleThemeSettingsCover>
672-
<Card>
673-
<div>
673+
<div style={{marginTop : "20px"}}>
674674
<h3>{trans("branding.whatsNew")}</h3>
675675
<Switch
676676
checked={brandingConfig?.config_set?.whatsNew}

0 commit comments

Comments
 (0)