Refactored mobile footer in Template component to include copyright notice, language selection dropdown, and client information for enhanced user experience and responsiveness.
This commit is contained in:
parent
79d1251357
commit
2f192baba6
@ -285,10 +285,30 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
|
|||||||
</Flex>
|
</Flex>
|
||||||
)}
|
)}
|
||||||
</Flex>
|
</Flex>
|
||||||
|
{isMobile && (
|
||||||
{client.name && isMobile && (
|
<Flex gap={"middle"} justify="center" align="center">
|
||||||
<Flex justify="center" style={{ marginTop: "18px" }}>
|
<div>
|
||||||
{clientInfo}
|
<Text>© 2025</Text>
|
||||||
|
</div>
|
||||||
|
{enabledLanguages.length > 1 && (
|
||||||
|
<>
|
||||||
|
<Text>|</Text>
|
||||||
|
<Dropdown menu={languageItems} trigger={["hover"]}>
|
||||||
|
<Text>
|
||||||
|
<Space>
|
||||||
|
{currentLanguage.label}
|
||||||
|
<GlobalOutlined />
|
||||||
|
</Space>
|
||||||
|
</Text>
|
||||||
|
</Dropdown>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
{client.name && (
|
||||||
|
<>
|
||||||
|
<Text>|</Text>
|
||||||
|
<Flex justify="center">{clientInfo}</Flex>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</Flex>
|
</Flex>
|
||||||
)}
|
)}
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user