Last active
March 16, 2022 04:42
-
-
Save ashimon83/293f48797a5e928642c6b78c373d7626 to your computer and use it in GitHub Desktop.
next-svg
This file contains 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 Cat from '../svgs/cat.svg' | |
export default function Home() { | |
return ( | |
<div className="container"> | |
<marquee>SVG Cat!</marquee> | |
<Cat /> | |
<style jsx>{` | |
.container { | |
width: 600px; | |
margin: 100px auto; | |
} | |
`}</style> | |
</div> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment