Ignore:
Timestamp:
05/06/26 19:00:44 (2 months ago)
Author:
Andrej <asumanovski@…>
Branches:
master
Children:
42da64d
Parents:
b3d5fed
Message:

Control center page developed

Location:
frontend/src/pages/Dashboard/components
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • frontend/src/pages/Dashboard/components/DashboardSidebar.jsx

    rb3d5fed ra8381b1  
    8989  return (
    9090    <Sidebar
    91       className="py-6"
     91      className="py-6 border-r border-white/10 bg-base-100/60 backdrop-blur-xl"
    9292      closeButtonClassName="fixed top-4 right-4"
    9393      collapsible="none"
     
    114114                    className={
    115115                      isActive
    116                         ? "!bg-green-400 !text-black hover:!bg-green-400 active:!bg-green-400"
    117                         : ""
     116                        ? "bg-green-400! text-black! hover:bg-green-400! active:bg-green-400!"
     117                        : "hover:bg-white/10!"
    118118                    }
    119119                  >
     
    156156                    className={
    157157                      isActive
    158                         ? "!bg-green-400 !text-black hover:!bg-green-400 active:!bg-green-400"
    159                         : ""
     158                        ? "bg-green-400! text-black! hover:bg-green-400! active:bg-green-400!"
     159                        : "hover:bg-white/10!"
    160160                    }
    161161                  >
     
    185185          <Button
    186186            variant="secondary"
    187             className="w-full justify-start gap-2 !bg-green-400 !text-black hover:!bg-green-500"
     187            className="w-full justify-start gap-2 bg-green-400! text-black! hover:bg-green-500!"
    188188            type="button"
    189189            onClick={() => setCustomOpen(true)}
  • frontend/src/pages/Dashboard/components/DashboardTopbar.jsx

    rb3d5fed ra8381b1  
    1010    <>
    1111      {/* Desktop */}
    12       <div className="sticky top-0 z-30 hidden min-h-16 w-full items-center border-b border-base-300 bg-base-100 px-6 lg:flex lg:px-8">
     12      <div className="sticky top-0 z-30 hidden min-h-16 w-full items-center border-b border-white/10 bg-base-100/70 px-6 backdrop-blur-xl lg:flex lg:px-8">
    1313        <div className="mx-auto grid size-full grid-cols-1 items-center justify-end justify-items-end gap-4 lg:grid-cols-[1fr_max-content] lg:justify-between lg:justify-items-stretch">
    1414          <div className="flex items-center gap-3"></div>
     
    1818            <button
    1919              type="button"
    20               className="btn btn-ghost btn-sm"
     20              className="btn btn-ghost btn-sm hover:bg-white/10 transition"
    2121              onClick={onLogout}
    2222              aria-label="Log out"
     
    3030
    3131      {/* Mobile */}
    32       <div className="fixed left-0 right-0 top-0 z-30 flex min-h-16 w-full items-center justify-between border-b border-base-300 bg-base-100 px-6 lg:hidden">
     32      <div className="fixed left-0 right-0 top-0 z-30 flex min-h-16 w-full items-center justify-between border-b border-white/10 bg-base-100/70 px-4 backdrop-blur-xl sm:px-6 lg:hidden">
    3333        <div className="flex items-center gap-4">
    3434          <Link
     
    4444          <button
    4545            type="button"
    46             className="btn btn-ghost btn-sm"
     46            className="btn btn-ghost btn-sm hover:bg-white/10 transition"
    4747            onClick={onLogout}
    4848            aria-label="Log out"
Note: See TracChangeset for help on using the changeset viewer.