Skip to content

Commit 8b17bc9

Browse files
authored
Replaced all the css into tailwind css on DonationSection component (#1770)
1 parent f6f3a81 commit 8b17bc9

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

components/ReusableSections/DonateSection/DonateSection.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { s3 } from 'common/constants/urls';
22
import Container from 'components/Container/Container';
33
import LinkButton from 'components/Buttons/LinkButton/LinkButton';
44
import Heading from 'components/Heading/Heading';
5-
import styles from './DonateSection.module.css';
65

76
function DonateSection() {
87
return (
@@ -18,7 +17,7 @@ function DonateSection() {
1817

1918
<p>Thank you for supporting our mission!</p>
2019

21-
<LinkButton href="/donate" theme="primary" className={styles.topMargin}>
20+
<LinkButton href="/donate" theme="primary" className="mt-4">
2221
Donate Now
2322
</LinkButton>
2423
</Container>

components/ReusableSections/DonateSection/DonateSection.module.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

components/ReusableSections/DonateSection/__tests__/__snapshots__/DonateSection.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ exports[`DonateSection should render with no props passed passed 1`] = `
1919
Thank you for supporting our mission!
2020
</p>
2121
<LinkButton
22-
className="topMargin"
22+
className="mt-4"
2323
fullWidth={false}
2424
href="/donate"
2525
theme="primary"

0 commit comments

Comments
 (0)