summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorRafi Zadanly <rafizadanly@gmail.com>2022-12-29 09:15:09 +0700
committerRafi Zadanly <rafizadanly@gmail.com>2022-12-29 09:15:09 +0700
commita0dba46d40ac156704c5f75f6e6f2d35126a634e (patch)
tree86bcff948fcb8849dd9f31ce1a84a05047019a18 /src/components
parentf51d3946be44400b9f4b90fe03b79226522d7369 (diff)
no message
Diffstat (limited to 'src/components')
-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>