summaryrefslogtreecommitdiff
path: root/src/components/AppBar.js
diff options
context:
space:
mode:
authorRafi Zadanly <rafizadanly@gmail.com>2022-12-29 09:04:39 +0700
committerRafi Zadanly <rafizadanly@gmail.com>2022-12-29 09:04:39 +0700
commit69d7bd767f1b720ea5d1d5124374281e3449a48d (patch)
tree350252a6fadc9427c15cbd87756babde4fc8dbb9 /src/components/AppBar.js
parent753e2468be9f8b339fe3b206603752a9d0100803 (diff)
no message
Diffstat (limited to 'src/components/AppBar.js')
-rw-r--r--src/components/AppBar.js15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/components/AppBar.js b/src/components/AppBar.js
index 68a93f64..869e4fff 100644
--- a/src/components/AppBar.js
+++ b/src/components/AppBar.js
@@ -1,5 +1,4 @@
-import { HeartIcon, HomeIcon } from "@heroicons/react/24/outline";
-import { ChevronLeftIcon } from "@heroicons/react/24/solid";
+import { ArrowLeftIcon, HeartIcon, HomeIcon } from "@heroicons/react/24/outline";
import Head from "next/head";
import { useRouter } from "next/router";
import Link from "./Link";
@@ -12,12 +11,14 @@ const AppBar = ({ title }) => {
<Head>
<title>{ title } - Indoteknik</title>
</Head>
- <div className="flex justify-between px-4 py-5 border-b border-gray_r-6">
+ <div className="flex justify-between pr-4 py-5 border-b border-gray_r-6 bg-gray_r-1">
{/* --- Start Title */}
- <button type="button" onClick={() => router.back()} className="flex gap-x-2 items-center text-gray_r-12">
- <ChevronLeftIcon className="w-6 stroke-2"/>
- <h1>{ title }</h1>
- </button>
+ <div className="flex items-center">
+ <button type="button" onClick={() => router.back()} className="text-gray_r-12 px-4">
+ <ArrowLeftIcon className="w-6 stroke-2"/>
+ </button>
+ <h1 className="text-h-md">{ title }</h1>
+ </div>
{/* --- End Title */}
{/* --- Start Icons */}