Split out CSS into separate files
This commit is contained in:
@ -1,8 +1,16 @@
|
||||
import "./About.css";
|
||||
|
||||
import React from "react";
|
||||
|
||||
import contentHTML from "./About.md";
|
||||
|
||||
const About = () => (
|
||||
<div className="wrapper" dangerouslySetInnerHTML={{ __html: contentHTML }} />
|
||||
);
|
||||
function About() {
|
||||
return (
|
||||
<div
|
||||
className="wrapper"
|
||||
dangerouslySetInnerHTML={{ __html: contentHTML }}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
export default About;
|
||||
|
Reference in New Issue
Block a user