File tree Expand file tree Collapse file tree 10 files changed +4
-173
lines changed Expand file tree Collapse file tree 10 files changed +4
-173
lines changed Original file line number Diff line number Diff line change 1
1
import styled , { css } from 'styled-components' ;
2
2
import * as m from '@/styles/_mixins' ;
3
3
import {
4
- $white ,
5
4
$error ,
6
5
$darkBgColor ,
7
6
$primaryContentColor ,
8
- $lightBgColor ,
9
- $boxShadow ,
10
7
} from '@/styles/_variables' ;
11
8
12
9
const ResponseOnErrorMsg = styled . div `
@@ -142,127 +139,3 @@ export default {
142
139
SubscribeInput,
143
140
TextArea,
144
141
} ;
145
-
146
- // .contact {
147
- // background-color: $light-bg-color;
148
- // height: 42rem;
149
- // position: relative;
150
- // margin-bottom: -10rem;
151
- // @include mobile {
152
- // margin-bottom: 3rem;
153
- // }
154
-
155
- // &__formAndDecorations {
156
- // @include tablet {
157
- // display: flex;
158
- // flex-wrap: wrap;
159
- // justify-content: center;
160
- // position: absolute;
161
- // bottom: 48%;
162
- // right: 4%;
163
- // z-index: 11;
164
- // }
165
-
166
- // @include desktop {
167
- // bottom: 52%;
168
- // right: 8%;
169
- // }
170
- // }
171
-
172
- // &__yellowBracket {
173
- // -webkit-transform: scaleX(-1);
174
- // transform: scaleX(-1);
175
-
176
- // @include mobile {
177
- // display: none;
178
- // }
179
-
180
- // @include tablet {
181
- // position: absolute;
182
- // top: 28%;
183
- // right: 120%;
184
- // width: 8rem;
185
- // }
186
-
187
- // @include desktop {
188
- // top: 25%;
189
- // right: 120%;
190
- // }
191
-
192
- // @include desktop-breakpoint-plus {
193
- // top: 25%;
194
- // right: 140%;
195
- // }
196
- // }
197
-
198
- // &__yellowColon {
199
- // @include tablet {
200
- // position: absolute;
201
- // top: -10%;
202
- // right: -5%;
203
- // }
204
-
205
- // @include desktop {
206
- // right: -15%;
207
- // }
208
- // }
209
-
210
- // @include desktop-breakpoint-minus {
211
- // img {
212
- // display: none;
213
- // }
214
- // }
215
-
216
- // &__form {
217
-
218
- // }
219
-
220
- // &__errorMessage {
221
-
222
- // }
223
-
224
- // &__input {
225
-
226
- // }
227
-
228
- // &__message {
229
-
230
- // }
231
-
232
- // &__subscribe {
233
-
234
- // }
235
-
236
- // &__subscribeInput {
237
-
238
- // }
239
-
240
- // @include desktop {
241
- // height: 32rem;
242
- // }
243
-
244
- // &__response_message {
245
- // position: absolute;
246
- // right: 8%;
247
- // bottom: -5%;
248
- // margin: auto;
249
-
250
- // @include mobile {
251
- // position: unset;
252
- // margin-top: 1rem;
253
- // padding: 0 2rem;
254
- // }
255
-
256
- // @include small-mobile {
257
- // max-width: fit-content;
258
- // }
259
- // }
260
-
261
- // &__respseonErrorMessage {
262
- // }
263
-
264
- // @include mobile {
265
- // height: unset;
266
- // padding-bottom: 2rem;
267
- // }
268
- // }
Original file line number Diff line number Diff line change @@ -79,22 +79,3 @@ export default {
79
79
PostContainer,
80
80
BlogContainer,
81
81
} ;
82
-
83
- // .blogContainer {
84
- // display: flex;
85
- // flex-direction: column;
86
- // margin: 3rem 0;
87
- // }
88
-
89
- // .blogSearch {
90
- // display: flex;
91
- // padding-top: 2.5rem;
92
- // justify-content: space-between;
93
- // flex-direction: column-reverse;
94
- // align-items: flex-start;
95
-
96
- // @include desktop {
97
- // align-items: center;
98
- // flex-direction: row;
99
- // }
100
- // }
Original file line number Diff line number Diff line change 1
- // import styles from '@/styles/SearchBar.module.scss';
2
1
import S from './styles' ;
3
2
import { useRef } from 'react' ;
4
3
Original file line number Diff line number Diff line change 1
1
import styled , { css } from 'styled-components' ;
2
2
import * as m from '@/styles/_mixins' ;
3
- import {
4
- $white ,
5
- $primaryContentColor ,
6
- $black ,
7
- $transparent ,
8
- $darkBgColor ,
9
- } from '@/styles/_variables' ;
3
+ import { $transparent } from '@/styles/_variables' ;
10
4
11
5
const SearchBar = styled . div `
12
6
display: flex;
@@ -37,7 +31,7 @@ const SubmitButton = styled.button`
37
31
text-indent: -999px;
38
32
overflow: hidden;
39
33
width: 1.5rem;
40
- border: 1px solid transparent;
34
+ border: 1px solid ${ $ transparent} ;
41
35
background: url('/images/svg/search.svg');
42
36
background-size: cover;
43
37
background-repeat: no-repeat;
Original file line number Diff line number Diff line change @@ -5,14 +5,12 @@ import S from './styles';
5
5
export default function ButtonLink ( {
6
6
link,
7
7
children,
8
- styles,
9
8
$colorScheme,
10
9
openNewTab,
11
10
} ) {
12
11
return (
13
12
< S . ButtonLink
14
13
href = { link }
15
- style = { styles }
16
14
$colorScheme = { $colorScheme }
17
15
target = { openNewTab ? '_blank' : undefined }
18
16
rel = 'noopener noreferrer'
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import * as m from '@/styles/_mixins';
3
3
import {
4
4
$white ,
5
5
$primaryContentColor ,
6
- $black ,
7
6
$transparent ,
8
7
} from '@/styles/_variables' ;
9
8
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import * as m from '@/styles/_mixins';
3
3
import {
4
4
$white ,
5
5
$primaryContentColor ,
6
- $black ,
7
6
$transparent ,
8
7
$darkBgColor ,
9
8
} from '@/styles/_variables' ;
Original file line number Diff line number Diff line change @@ -2,13 +2,7 @@ import styled, { css } from 'styled-components';
2
2
import Image from 'next/image' ;
3
3
import Container from '@/components/containers/Container/Container' ;
4
4
import * as m from '@/styles/_mixins' ;
5
- import {
6
- $white ,
7
- $primaryContentColor ,
8
- $primaryAccentColor ,
9
- $darkBgColor ,
10
- $boxShadow ,
11
- } from '@/styles/_variables' ;
5
+ import { $white , $darkBgColor } from '@/styles/_variables' ;
12
6
13
7
const Footer = styled . footer `
14
8
background-color: ${ $darkBgColor } ;
Original file line number Diff line number Diff line change @@ -2,11 +2,7 @@ import styled, { css } from 'styled-components';
2
2
import Container from '@/components/containers/Container/Container' ;
3
3
import Image from 'next/image' ;
4
4
import * as m from '@/styles/_mixins' ;
5
- import {
6
- $white ,
7
- $primaryContentColor ,
8
- $primaryAccentColor ,
9
- } from '@/styles/_variables' ;
5
+ import { $white , $primaryAccentColor } from '@/styles/_variables' ;
10
6
11
7
const Header = styled . div `
12
8
display: flex;
Original file line number Diff line number Diff line change 8
8
$transparent ,
9
9
$darkBgColor ,
10
10
$primaryContentColor ,
11
- $primaryAccentColor ,
12
- $headingFont ,
13
11
$boxShadow ,
14
12
$boxShadowBottom ,
15
13
$lgDesktopBreakpoint ,
You can’t perform that action at this time.
0 commit comments