Refactor components and styles.

This commit is contained in:
Mike Cao 2020-08-03 18:12:28 -07:00
parent c5599f1e20
commit a2db27894f
16 changed files with 189 additions and 184 deletions

View file

@ -18,10 +18,10 @@ export default function WebsiteList() {
return (
<div className={styles.container}>
{data &&
data.websites.map(({ website_id, website_uuid, label }) => (
data.websites.map(({ website_id, label }) => (
<div key={website_id}>
<h2>
<Link href={`/${website_uuid}`}>
<Link href={`/website/${website_id}/${label}`}>
<a>{label}</a>
</Link>
</h2>