Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 63be0b2

Browse files
committed
chore(footer): general layout align & build production
1 parent 6ccc23c commit 63be0b2

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

deploy/production/web.tar.gz

98 Bytes
Binary file not shown.

src/containers/unit/Footer/DesktopView/GeneralLayout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ type TProps = {
2626
}
2727

2828
const GeneralLayout: FC<TProps> = ({ metric, title = '' }) => {
29+
console.log('the fuck GeneralLayout: ', metric)
2930
return (
3031
<Wrapper>
3132
<InnerWrapper metric={metric}>

src/containers/unit/Footer/styles/desktop_view/general_layout.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
import styled from 'styled-components'
22

33
import type { TMetric } from '@/spec'
4-
import { METRIC } from '@/constant'
54
import { theme } from '@/utils/themes'
65
import css from '@/utils/css'
76

87
export { NoLinkItem } from './article_layout'
98
export { HeartCrabIcon } from './home_layout'
109

1110
export const Wrapper = styled.div`
12-
${css.flexColumn('align-start')};
11+
${css.flexColumn('align-center')};
1312
width: 100%;
14-
${css.fitContentWidth(METRIC.WORKS)};
1513
`
1614
export const InnerWrapper = styled.div<{ metric: TMetric }>`
1715
${css.flex('align-center', 'justify-between')};

0 commit comments

Comments
 (0)