File tree Expand file tree Collapse file tree 2 files changed +21
-7
lines changed
components/service/PreviousPyconkr Expand file tree Collapse file tree 2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 11import React from 'react'
2- import Image from '../../core/Image'
32import { ColorLink , Heading3 , Paragraph } from '../../../assets/styles/typo'
43import { media } from '../../../assets/styles/mixin'
54import styled from 'styled-components'
@@ -19,13 +18,21 @@ const Col = styled.div`
1918 width: 100%;
2019 ` ) }
2120 & + & {
22- margin-left: 1.6rem ;
21+ margin-left: 3rem ;
2322 ${ media . mobile ( `
2423 margin-left: 0;
2524 margin-top: 1.2rem;
2625 ` ) }
2726 }
2827`
28+ const Image = styled . img `
29+ display: inline-flex;
30+ max-width: 400px;
31+ height: auto;
32+ ${ media . mobile ( `
33+ width: 100%;
34+ ` ) }
35+ `
2936const Container = styled . div `
3037 padding-bottom: 2rem;
3138 & + & {
@@ -35,6 +42,9 @@ const Container = styled.div`
3542 ` ) }
3643 }
3744`
45+ const Title = styled ( Heading3 ) `
46+ margin: 0;
47+ `
3848const ParagraphContainer = styled . div `
3949 margin-top: 1rem;
4050`
@@ -67,9 +77,9 @@ const PreviousPyconkrList: React.FC<PreviousPyconkrList> = ({ keys }) => {
6777 />
6878 </ Col >
6979 < Col >
70- < Heading3 >
80+ < Title useGradient = { true } >
7181 { t ( `contentDescription:${ year } .title` ) }
72- </ Heading3 >
82+ </ Title >
7383 < ParagraphContainer >
7484 < Paragraph >
7585 { t (
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react'
22import type { NextPage , GetServerSideProps } from 'next'
33import { useTranslation } from 'react-i18next'
44import { PageName } from '../../data/enums/PageName'
5- import { Heading2 , Paragraph } from '../../assets/styles/typo'
5+ import { Heading2 , Heading3 , Paragraph } from '../../assets/styles/typo'
66import styled from 'styled-components'
77
88const Block = styled . div `
@@ -27,11 +27,15 @@ const About: NextPage = () => {
2727 < Content > { t ( 'label:about.main.desc' ) } </ Content >
2828 </ Block >
2929 < Block >
30- < Heading2 > { t ( 'label:about.slogan.title' ) } </ Heading2 >
30+ < Heading3 useGradient = { true } >
31+ { t ( 'label:about.slogan.title' ) }
32+ </ Heading3 >
3133 < Content > { t ( 'label:about.slogan.desc' ) } </ Content >
3234 </ Block >
3335 < Block >
34- < Heading2 > { t ( 'label:about.diff.title' ) } </ Heading2 >
36+ < Heading3 useGradient = { true } >
37+ { t ( 'label:about.diff.title' ) }
38+ </ Heading3 >
3539 < Content > { t ( 'label:about.diff.desc' ) } </ Content >
3640 </ Block >
3741 </ div >
You can’t perform that action at this time.
0 commit comments