This commit is contained in:
Max Lynch
2020-12-20 23:02:27 -06:00
parent fdef2842ef
commit 8b2df11c87
9 changed files with 41 additions and 23 deletions
+3 -2
View File
@@ -1,13 +1,14 @@
import { homeItems } from "../../data";
import PostCard from "../Card";
import Content from "../Content";
const Home = () => {
return (
<div class="py-32">
<Content>
{homeItems.map(i => (
<PostCard {...i} />
))}
</div>
</Content>
)
}
+3 -2
View File
@@ -1,10 +1,11 @@
import { homeItems } from "../../data";
import Content from "../Content";
const Profile = () => {
return (
<div class="py-32">
<Content>
<h2>Profile</h2>
</div>
</Content>
)
}
+4 -2
View File
@@ -1,8 +1,10 @@
import Content from "../Content";
const Settings = () => {
return (
<div class="py-32">
<Content className="p-4">
<h2>Settings</h2>
</div>
</Content>
)
}