-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Individual style files for core layout
Responsive block and text added Use responsive width hook added Update footer structure Global style for layouts General fixes
- Loading branch information
Showing
20 changed files
with
473 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import React from 'react'; | ||
import { Layout, Tooltip } from 'antd'; | ||
import { Flex } from '@styled_comps/blocks' | ||
import { useTheme } from '@core/providers/theme'; | ||
import Text from '@styled_comps/texts'; | ||
import brand from '@app/config/brand'; | ||
import { MailOutlined } from '@ant-design/icons'; | ||
import GhostBlock from '@styled_comps/ghost_block'; | ||
import lc from '@app/config/layout'; | ||
|
||
const FooterBar = () => { | ||
const { token } = useTheme() | ||
return ( | ||
<Flex alignItems='center' justifyContent="space-between" height={lc.footer.heightInPx}> | ||
<Text padding="5px 0"> | ||
© Copyright 2023 {brand.name} All rights reserved. | ||
</Text> | ||
<Text padding="5px 0"> | ||
<GhostBlock displayUntil='md'> | ||
<Tooltip placement="top" title={brand.contactEmail}> | ||
<MailOutlined /> | ||
</Tooltip > | ||
</GhostBlock> | ||
|
||
<GhostBlock displayFrom='md'> | ||
{ brand.contactEmail } | ||
</GhostBlock> | ||
</Text> | ||
</Flex> | ||
) | ||
} | ||
|
||
export default FooterBar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import lc, { breakpoints } from '@app/config/layout'; | ||
import styled, { createGlobalStyle } from 'styled-components'; | ||
import hexToRgba from 'hex-to-rgba'; | ||
|
||
const globalLayoutStyle = createGlobalStyle` | ||
.ant-layout{ | ||
.ant-layout-header { | ||
.ant-menu{ | ||
background: transparent; | ||
border-bottom: none; | ||
} | ||
} | ||
} | ||
` | ||
|
||
export default globalLayoutStyle; |
Oops, something went wrong.