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