summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/AppBar.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/components/AppBar.js b/src/components/AppBar.js
index 869e4fff..10a35580 100644
--- a/src/components/AppBar.js
+++ b/src/components/AppBar.js
@@ -11,10 +11,10 @@ const AppBar = ({ title }) => {
<Head>
<title>{ title } - Indoteknik</title>
</Head>
- <div className="flex justify-between pr-4 py-5 border-b border-gray_r-6 bg-gray_r-1">
+ <div className="flex justify-between pr-4 py-1 border-b border-gray_r-6 bg-gray_r-1">
{/* --- Start Title */}
<div className="flex items-center">
- <button type="button" onClick={() => router.back()} className="text-gray_r-12 px-4">
+ <button type="button" onClick={() => router.back()} className="text-gray_r-12 p-4">
<ArrowLeftIcon className="w-6 stroke-2"/>
</button>
<h1 className="text-h-md">{ title }</h1>
@@ -22,8 +22,10 @@ const AppBar = ({ title }) => {
{/* --- End Title */}
{/* --- Start Icons */}
- <div className="flex gap-x-4">
- <HeartIcon className="w-6 stroke-2"/>
+ <div className="flex gap-x-4 items-center">
+ <Link href="/">
+ <HeartIcon className="w-6 stroke-2 text-gray_r-12"/>
+ </Link>
<Link href="/">
<HomeIcon className="w-6 stroke-2 text-gray_r-12"/>
</Link>