Skip to content

Commit d19b052

Browse files
committed
convert ContactUsCards to styled components
1 parent 693c1f0 commit d19b052

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

components/ContactUsCards.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import contactCardStyles from '@/styles/ContactUsCards.module.scss';
21
import CardsColumns from './containers/CardColumns/CardsColumns';
32
import RevealContentContainer from './containers/RevealContentContainer/RevealContentContainer';
3+
import styled from 'styled-components';
4+
import { $white } from '@/styles/_variables';
45

56
const cards = [
67
{
@@ -29,12 +30,16 @@ const cards = [
2930
},
3031
];
3132

33+
const ContactCardsContainer = styled.div`
34+
background-color: ${$white};
35+
`;
36+
3237
export default function ContactUsCards() {
3338
return (
34-
<div className={contactCardStyles.contactCards}>
39+
<ContactCardsContainer>
3540
<RevealContentContainer>
3641
<CardsColumns cards={cards} customClass='contact-cards' />
3742
</RevealContentContainer>
38-
</div>
43+
</ContactCardsContainer>
3944
);
4045
}

styles/ContactUsCards.module.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@use './mixins' as *;
2-
@use './variables' as *;
1+
// @use './mixins' as *;
2+
// @use './variables' as *;
33

4-
.contactCards {
5-
background-color: $white;
6-
}
4+
// .contactCards {
5+
// background-color: $white;
6+
// }

styles/pages/contactStyles.js

Whitespace-only changes.

0 commit comments

Comments
 (0)