File tree 5 files changed +18
-76
lines changed
Subscribe/BannerSubscribe
5 files changed +18
-76
lines changed Original file line number Diff line number Diff line change 1
1
import Image from 'next/legacy/image' ;
2
+ import { LinkWrapper } from '../LinkWrapper' ;
2
3
import { Logo } from '../Logo' ;
3
4
import { Typography } from '../Typography' ;
4
5
import * as S from './styles' ;
@@ -25,6 +26,14 @@ export const Header = () => (
25
26
< Typography weight = "400" >
26
27
Transformando o mundo através da tecnologia
27
28
</ Typography >
29
+ < S . ContainerButton >
30
+ < LinkWrapper
31
+ href = { process . env . NEXT_PUBLIC_INSCRICOES_URL || '' }
32
+ legacyBehavior
33
+ >
34
+ < S . BannerButton > Inscreva-se!</ S . BannerButton >
35
+ </ LinkWrapper >
36
+ </ S . ContainerButton >
28
37
</ S . ContainerHeading >
29
38
</ S . SectionHeader >
30
39
</ S . ContainerHeader >
Original file line number Diff line number Diff line change @@ -75,3 +75,12 @@ export const ContainerButton = styled.div`
75
75
max-width: 100%;
76
76
}
77
77
` ;
78
+
79
+ export const BannerButton = styled . a `
80
+ color: ${ ( { theme } ) => theme . palette . design . white } !important;
81
+ max-width: 150px;
82
+ padding: 14px 24px !important;
83
+ display: flex;
84
+ background: ${ ( { theme } ) => theme . palette . primary . main } ;
85
+ border-radius: 4px;
86
+ ` ;
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import {
13
13
Subscribe ,
14
14
WhatWeTeach ,
15
15
} from '../components' ;
16
- import { BannerSubscribe } from '../components/Subscribe/BannerSubscribe' ;
17
16
import {
18
17
cousesMock ,
19
18
howWeDoMock ,
@@ -40,7 +39,6 @@ const Home = () => {
40
39
41
40
return (
42
41
< Layout >
43
- < BannerSubscribe />
44
42
< Header />
45
43
< WhatWeTeach { ...whatWeTeachMock } />
46
44
< Courses { ...cousesMock } />
You can’t perform that action at this time.
0 commit comments