[feat] add back button
This commit is contained in:
parent
df3901191b
commit
59decc3962
5 changed files with 38 additions and 5 deletions
9
components/FixedButton.jsx
Normal file
9
components/FixedButton.jsx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
const FixedButton = ({ children, onClick }) => (
|
||||
<button
|
||||
onClick={onClick}
|
||||
className="fixed top-2 -left-2 md:left-10 flex justify-center items-center rounded-full p-4 transition duration-300 ease-in-out z-50 transparent">
|
||||
{children}
|
||||
</button>
|
||||
);
|
||||
|
||||
export default FixedButton;
|
||||
|
|
@ -178,7 +178,7 @@ const Navbar = () => {
|
|||
isNavOpen ? "bg-transparent" : "backdrop-filter backdrop-blur-md"
|
||||
} inset-0 bg-opacity-50 flex flex-row justify-between items-center h-16 z-50 `}>
|
||||
<div className="">
|
||||
<h1 className="text-2xl">Alvalens</h1>
|
||||
<h1 className="text-2xl ml-2 md:ml-0">Alvalens</h1>
|
||||
</div>
|
||||
<div className="flex flex-row items-center">
|
||||
<button
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue