Created
May 21, 2024 04:01
-
-
Save SarahElson/bba176f16b896f5867927ece986df2f0 to your computer and use it in GitHub Desktop.
How to Use CSS Modules With React Applications
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import styles from './HeroText.module.css' | |
import Button from '../Button/Button' | |
export default function HeroText() { | |
return ( | |
<div className={styles.half}> | |
<h1 className={styles.leading}>Next-Generation Mobile Apps and Cross Browser Testing Cloud</h1> | |
<div className={styles.buttoncontainer}> | |
<Button text={'Start free with Google'} type={'primary'} /> | |
<Button text={'Start free with Email'} type={'secondary'} /> | |
</div> | |
</div> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment