💄 Style Navlink, primary buttons and headings

This commit is contained in:
nikolark committed 2022-03-06 15:16:16 +01:00
1 parent 13cc0d92a2
commit f775446224
9 files changed
+82 -23

No files matched your search

+4 -1
View File
@@ -15,6 +15,7 @@ export const UserList = () => {
const users = showAll ? allUsers : allUsers.filter((u) => activeUserFilter(u));
return (
<div>
<h2>Folk</h2>
<button type="button" onClick={() => setShowAll(!showAll)}>
{showAll ? "Skjul gamliser" : "Vis alle"}
</button>
@@ -28,7 +29,9 @@ export const UserList = () => {
))}
</ul>
<br />
<Link to="/users/create">Opprett ny</Link>
<Link to="/users/create" className="btn-primary">
Opprett ny
</Link>
</div>
);
};