From 0643532d5a5adeebf712fb7e0fecf5181baf8e77 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Wed, 28 Oct 2020 13:42:44 +0100 Subject: Use built-in Sass support from Create React App This change updates the frontend to use the built-in Sass support provided by Create React App to simplify the development pipeline. --- frontend/src/components/home/ContactSection.js | 2 +- frontend/src/components/home/ContentSection.js | 2 +- frontend/src/components/home/JumbotronHeader.js | 2 +- frontend/src/components/home/ScreenshotSection.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'frontend/src/components/home') diff --git a/frontend/src/components/home/ContactSection.js b/frontend/src/components/home/ContactSection.js index 095fb939..42bdab8a 100644 --- a/frontend/src/components/home/ContactSection.js +++ b/frontend/src/components/home/ContactSection.js @@ -1,6 +1,6 @@ import React from 'react' import FontAwesome from 'react-fontawesome' -import './ContactSection.css' +import './ContactSection.sass' import ContentSection from './ContentSection' const ContactSection = () => ( diff --git a/frontend/src/components/home/ContentSection.js b/frontend/src/components/home/ContentSection.js index ba2e4ec3..9d4832d9 100644 --- a/frontend/src/components/home/ContentSection.js +++ b/frontend/src/components/home/ContentSection.js @@ -1,7 +1,7 @@ import classNames from 'classnames' import PropTypes from 'prop-types' import React from 'react' -import './ContentSection.css' +import './ContentSection.sass' const ContentSection = ({ name, title, children }) => (
diff --git a/frontend/src/components/home/JumbotronHeader.js b/frontend/src/components/home/JumbotronHeader.js index f7af4cd9..7b410679 100644 --- a/frontend/src/components/home/JumbotronHeader.js +++ b/frontend/src/components/home/JumbotronHeader.js @@ -1,5 +1,5 @@ import React from 'react' -import './JumbotronHeader.css' +import './JumbotronHeader.sass' const JumbotronHeader = () => (
diff --git a/frontend/src/components/home/ScreenshotSection.js b/frontend/src/components/home/ScreenshotSection.js index d0ff54bd..c987d5d0 100644 --- a/frontend/src/components/home/ScreenshotSection.js +++ b/frontend/src/components/home/ScreenshotSection.js @@ -1,7 +1,7 @@ import classNames from 'classnames' import React from 'react' import ContentSection from './ContentSection' -import './ScreenshotSection.css' +import './ScreenshotSection.sass' const ScreenshotSection = ({ name, title, imageUrl, caption, imageIsRight, children }) => ( -- cgit v1.2.3