Updated the style of the buttons
This commit is contained in:
@@ -8,6 +8,8 @@ import Navbar from "@/components/Navbar";
|
||||
import Icon from "@mdi/react";
|
||||
import {mdiPlus} from "@mdi/js";
|
||||
import Link from "next/link";
|
||||
import clsx from "clsx";
|
||||
import {infoButtonStyle} from "@/constants/buttonStyles";
|
||||
|
||||
const inter = Inter({subsets: ["latin"]});
|
||||
|
||||
@@ -24,7 +26,7 @@ export default function Home() {
|
||||
<Navbar />
|
||||
<div className="w-full h-full p-4 relative">
|
||||
<Link href="/exam">
|
||||
<button className="btn btn-primary gap-2 right-4 absolute">
|
||||
<button className={clsx("btn gap-2 right-4 absolute", infoButtonStyle)}>
|
||||
<Icon path={mdiPlus} color="white" size={1} />
|
||||
New Exam
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user