Skip to content

Commit 6ea8b83

Browse files
committed
remove commented and dead code
1 parent badf78f commit 6ea8b83

File tree

10 files changed

+4
-173
lines changed

10 files changed

+4
-173
lines changed

components/ContactUsForm/styles.js

Lines changed: 0 additions & 127 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
import styled, { css } from 'styled-components';
22
import * as m from '@/styles/_mixins';
33
import {
4-
$white,
54
$error,
65
$darkBgColor,
76
$primaryContentColor,
8-
$lightBgColor,
9-
$boxShadow,
107
} from '@/styles/_variables';
118

129
const ResponseOnErrorMsg = styled.div`
@@ -142,127 +139,3 @@ export default {
142139
SubscribeInput,
143140
TextArea,
144141
};
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-
// }

components/blog/BlogPostsContainer/styles.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -79,22 +79,3 @@ export default {
7979
PostContainer,
8080
BlogContainer,
8181
};
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-
// }

components/blog/SearchBar/SearchBar.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// import styles from '@/styles/SearchBar.module.scss';
21
import S from './styles';
32
import { useRef } from 'react';
43

components/blog/SearchBar/styles.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
import styled, { css } from 'styled-components';
22
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';
104

115
const SearchBar = styled.div`
126
display: flex;
@@ -37,7 +31,7 @@ const SubmitButton = styled.button`
3731
text-indent: -999px;
3832
overflow: hidden;
3933
width: 1.5rem;
40-
border: 1px solid transparent;
34+
border: 1px solid ${$transparent};
4135
background: url('/images/svg/search.svg');
4236
background-size: cover;
4337
background-repeat: no-repeat;

components/buttons/ButtonLink/ButtonLink.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ import S from './styles';
55
export default function ButtonLink({
66
link,
77
children,
8-
styles,
98
$colorScheme,
109
openNewTab,
1110
}) {
1211
return (
1312
<S.ButtonLink
1413
href={link}
15-
style={styles}
1614
$colorScheme={$colorScheme}
1715
target={openNewTab ? '_blank' : undefined}
1816
rel='noopener noreferrer'

components/buttons/ButtonLink/styles.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import * as m from '@/styles/_mixins';
33
import {
44
$white,
55
$primaryContentColor,
6-
$black,
76
$transparent,
87
} from '@/styles/_variables';
98

components/buttons/SubmitButton/styles.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import * as m from '@/styles/_mixins';
33
import {
44
$white,
55
$primaryContentColor,
6-
$black,
76
$transparent,
87
$darkBgColor,
98
} from '@/styles/_variables';

components/layout/Footer/styles.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@ import styled, { css } from 'styled-components';
22
import Image from 'next/image';
33
import Container from '@/components/containers/Container/Container';
44
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';
126

137
const Footer = styled.footer`
148
background-color: ${$darkBgColor};

components/layout/Hero/styles.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@ import styled, { css } from 'styled-components';
22
import Container from '@/components/containers/Container/Container';
33
import Image from 'next/image';
44
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';
106

117
const Header = styled.div`
128
display: flex;

components/layout/Nav/styles.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import {
88
$transparent,
99
$darkBgColor,
1010
$primaryContentColor,
11-
$primaryAccentColor,
12-
$headingFont,
1311
$boxShadow,
1412
$boxShadowBottom,
1513
$lgDesktopBreakpoint,

0 commit comments

Comments
 (0)