dsfoisadfje

Untitled

Nov 14th, 2024
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Navbar.jsx
  2. import React from "react";
  3. import { Link } from "react-router-dom";
  4.  
  5. function Navbar() {
  6.   return (
  7.     <>
  8.       <div className="flex flex-row justify-between items-center px-20 py-4 bg-pastelblue">
  9.         {/* TITLE */}
  10.         <Link to="/" className="text-darkgreen text-3xl poppins-bold hover:text-pastelgreen transition duration-300">
  11.           Ripple & Refresh
  12.         </Link>
  13.         {/* PAGES */}
  14.         <div className="flex flex-row gap-8 poppins-semibold text-2xl text-darkblue">
  15.           <Link to="/map" className="hover:text-pastelgreen transition duration-300">map</Link>
  16.           <Link to="/rsvp" className="hover:text-pastelgreen transition duration-300">rsvp</Link>
  17.           <Link to="/activity" className="hover:text-pastelgreen transition duration-300">
  18.             activity
  19.           </Link>
  20.         </div>
  21.       </div>
  22.       {/* Horizontal line separator */}
  23.       <hr className="w-full border-t-2 border-pastelgreen border-opacity-50" />
  24.     </>
  25.   );
  26. }
  27.  
  28. export default Navbar;
  29.  
Advertisement
Add Comment
Please, Sign In to add comment