diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-28 13:42:44 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-29 11:19:25 +0100 |
| commit | 0643532d5a5adeebf712fb7e0fecf5181baf8e77 (patch) | |
| tree | 73ab53e132a07c2e03b7d696d2d7d4264467ea76 /frontend/src/components/home | |
| parent | 93fa55749c40ed1f1a7bee9157bce81708988656 (diff) | |
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.
Diffstat (limited to 'frontend/src/components/home')
| -rw-r--r-- | frontend/src/components/home/ContactSection.js | 2 | ||||
| -rw-r--r-- | frontend/src/components/home/ContentSection.js | 2 | ||||
| -rw-r--r-- | frontend/src/components/home/JumbotronHeader.js | 2 | ||||
| -rw-r--r-- | frontend/src/components/home/ScreenshotSection.js | 2 |
4 files changed, 4 insertions, 4 deletions
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 }) => ( <div id={name} className={classNames(name + '-section', 'content-section')}> 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 = () => ( <section className="jumbotron-header"> 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 }) => ( <ContentSection name={name} title={title}> |
