summaryrefslogtreecommitdiff
path: root/src/components/user_account_dropdown_menu.tsx
blob: b70aa4ea528bc2971e58dc9b7d2c250fdc85cf7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { PersonFill, DoorOpenFill, CardList } from "react-bootstrap-icons";

export default function UserAccountDropdownMenu() {
  return(
    <div id="userAccountDropdownMenu" className="hidden bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600">
      <ul className="relative py-2 text-sm text-gray-700 dark:text-gray-200">
        <li className="flex">
          <i className="px-1 my-2"><PersonFill size={16} color="#394490"/></i>
          <a href="/account" className="block px-2 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white">Cuenta</a>
        </li>
        <li className="flex">
          <i className="px-1 my-2"><CardList size={16} color="#394490"/></i>
          <a href="#" className="block px-2 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white">Historial de pedidos</a>
        </li>
      </ul>
      <div className="flex py-2">
       <i className="px-1 my-2"><DoorOpenFill size={16} color="#394490"/></i> 
        <a href="#" className="flex block px-2 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white">Cerrar sesión</a>
      </div>
    </div>
  );
}