mirror of
https://github.com/dylanbenzi/yellowbird.git
synced 2026-11-27 01:07:01 +00:00
sidebar nav + logo update
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 6483 1738" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><g><path d="M1569.48,716.554l-0,-716.554l247.604,0l0,1304.17l-247.604,-0l-0,-465.446l8.959,-3.439c11.035,-4.236 17.596,-15.622 15.726,-27.294c-5.096,-31.81 -13.449,-62.394 -24.685,-91.434Z" style="fill:#1a1b20;"/><path d="M724.831,1027.33l-0,285.265l-0.678,-0c0,234.721 -190.279,425 -425,425c-62.286,0 -123.812,-13.691 -180.221,-40.104l104.897,-224.027c23.576,11.04 49.291,16.762 75.324,16.762c98.103,-0 177.631,-79.528 177.631,-177.631l0.443,-0l-0,-10.216c-17.116,2.097 -34.545,3.177 -52.227,3.177c-234.721,0 -425,-190.279 -425,-425l0,-426.386l247.604,-0l0,426.386l-0.235,0c0,98.103 79.528,177.631 177.631,177.631c18.176,-0 35.714,-2.73 52.227,-7.802l-0,-596.215l247.604,-0l-0,276.84c-16.196,46.404 -25,96.262 -25,148.16c-0,51.898 8.804,101.756 25,148.16Z" style="fill:#1a1b20;"/><path d="M2125.42,1024.35l0,279.822l-247.604,-0l-0,-1304.17l247.604,0l0,733.988c-15.539,45.556 -23.971,94.39 -23.971,145.179c0,50.788 8.432,99.622 23.971,145.178Z" style="fill:#1a1b20;"/><path d="M4908.12,733.988l-0,-279.821l247.604,-0l0,850l-247.604,-0l-0,-279.822c15.539,-45.556 23.971,-94.39 23.971,-145.178c0,-50.789 -8.432,-99.623 -23.971,-145.179Z" style="fill:#1a1b20;"/><path d="M5641.96,705.18c-11.693,-2.406 -23.682,-3.644 -35.799,-3.644c-98.103,-0 -177.631,79.528 -177.631,177.631c0.003,3.056 0.235,425 0.235,425l-247.604,-0l-0,-425c-0,-234.721 190.279,-425 425,-425c70.864,-0 139.904,17.698 201.21,50.647c-73.027,48.828 -130.996,118.448 -165.411,200.366Z" style="fill:#1a1b20;"/><path d="M2975.42,728.092l0,-273.925l247.605,-0c-0,-0 -0.232,444.04 -0.236,447.096c0,59.866 0.236,147.466 78.591,147.466c78.59,0 78.59,-87.6 78.59,-147.466c-0.003,-3.056 -0.235,-447.096 -0.235,-447.096l247.605,-0l-0,447.096c-0,5.706 -0.058,11.353 -0.171,16.942c0.625,58.139 7.299,130.524 78.526,130.524c78.59,0 78.59,-87.6 78.59,-147.466c-0.003,-3.056 -0.235,-447.096 -0.235,-447.096l247.604,-0l0,447.096c0,265.713 -123.802,405.76 -325.959,402.86c-80.152,-1.151 -147.95,-22.948 -200.59,-65.4c-53.107,44.392 -122.016,66.572 -203.725,65.4c-173.207,-2.486 -288.894,-101.39 -318.476,-296.792c12.066,-40.625 18.545,-83.644 18.545,-128.164c0,-52.987 -9.178,-103.846 -26.029,-151.075Zm0.031,180.4c-0.02,-2.399 -0.031,-4.808 -0.031,-7.229l0,-51.869c0.682,9.837 1.029,19.764 1.029,29.773c0,9.856 -0.336,19.635 -0.998,29.325Z" style="fill:#1a1b20;"/><path d="M4057.09,879.167l0,-879.167l247.604,0l0,492.903c54.001,-24.866 114.091,-38.736 177.396,-38.736c234.564,-0 425,190.436 425,425c0,234.564 -190.436,425 -425,425c-63.305,-0 -123.395,-13.871 -177.396,-38.736c-146.088,-67.269 -247.604,-215.005 -247.604,-386.264Zm247.604,9.212c4.801,93.763 82.449,168.419 177.396,168.419c98.037,-0 177.631,-79.594 177.631,-177.631c-0,-98.038 -79.594,-177.631 -177.631,-177.631c-94.947,-0 -172.595,74.655 -177.396,168.418l0,18.425Z" style="fill:#1a1b20;"/><path d="M2551.45,454.167c234.564,-0 425,190.436 425,425c0,234.564 -190.436,425 -425,425c-234.564,-0 -425,-190.436 -425,-425c0,-234.564 190.436,-425 425,-425Zm0,247.592c97.914,-0 177.408,79.494 177.408,177.408c0,97.914 -79.494,177.408 -177.408,177.408c-97.914,-0 -177.408,-79.494 -177.408,-177.408c0,-97.914 79.494,-177.408 177.408,-177.408Z" style="fill:#1a1b20;"/><circle cx="5031.92" cy="283.333" r="137.5" style="fill:#1a1b20;"/><path d="M6482.04,879.167l-0,-879.167l-247.605,0l0,492.903c-54,-24.866 -114.091,-38.736 -177.395,-38.736c-234.564,-0 -425,190.436 -425,425c-0,234.564 190.436,425 425,425c63.304,-0 123.395,-13.871 177.395,-38.736c146.089,-67.269 247.605,-215.005 247.605,-386.264Zm-247.605,9.212c-4.8,93.763 -82.448,168.419 -177.395,168.419c-98.038,-0 -177.631,-79.594 -177.631,-177.631c-0,-98.038 79.593,-177.631 177.631,-177.631c94.947,-0 172.595,74.655 177.395,168.418l0,18.425Z" style="fill:#1a1b20;"/><path d="M1037.26,1016.25c30.636,25.195 69.852,40.33 112.575,40.33c61.586,-0 118.766,-31.94 151.061,-84.38l210.821,129.831c-77.364,125.625 -214.345,202.141 -361.882,202.141c-234.564,-0 -425,-190.436 -425,-425c-0,-234.564 190.436,-425 425,-425c208.771,-0 386.628,151.633 419.65,357.776l-532.225,204.302Zm226.813,-272.81c-31.057,-26.141 -71.064,-41.676 -114.238,-41.676c-89.63,-0 -163.825,66.611 -175.738,152.987l289.976,-111.311Z" style="fill:#1a1b20;"/></g></svg>
|
||||
|
After Width: | Height: | Size: 4.5 KiB |
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 9480 2487" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><g><path d="M9479.1,1243.36c0,686.229 -557.13,1243.36 -1243.36,1243.36l-6992.38,-0c-686.228,-0 -1243.36,-557.131 -1243.36,-1243.36c0,-686.228 557.131,-1243.36 1243.36,-1243.36l6992.38,0c686.229,0 1243.36,557.131 1243.36,1243.36Z" style="fill:#ffcd00;"/><g><path d="M3068.01,1191.12l-0,-716.554l247.604,0l-0,1304.17l-247.604,-0l-0,-465.445l8.959,-3.439c11.035,-4.237 17.596,-15.623 15.726,-27.294c-5.096,-31.81 -13.449,-62.395 -24.685,-91.435Z" style="fill:#1a1b20;"/><path d="M2223.36,1501.89l-0,285.265l-0.678,0c0,234.721 -190.279,425 -425,425c-62.286,0 -123.812,-13.691 -180.221,-40.103l104.897,-224.027c23.576,11.039 49.291,16.761 75.324,16.761c98.103,0 177.631,-79.528 177.631,-177.631l0.442,0l0,-10.216c-17.115,2.098 -34.544,3.177 -52.226,3.177c-234.721,0 -425,-190.279 -425,-425l-0,-426.386l247.604,-0l0,426.386l-0.235,0c-0,98.103 79.528,177.631 177.631,177.631c18.176,0 35.714,-2.73 52.226,-7.802l0,-596.215l247.605,-0l-0,276.84c-16.196,46.404 -25,96.262 -25,148.16c-0,51.898 8.804,101.756 25,148.16Z" style="fill:#1a1b20;"/><path d="M3623.95,1498.91l0,279.821l-247.604,-0l-0,-1304.17l247.604,0l0,733.988c-15.539,45.556 -23.971,94.391 -23.971,145.179c-0,50.788 8.432,99.623 23.971,145.179Z" style="fill:#1a1b20;"/><path d="M6406.65,1208.55l-0,-279.821l247.604,-0l-0,850l-247.604,-0l-0,-279.821c15.539,-45.556 23.971,-94.391 23.971,-145.179c-0,-50.788 -8.432,-99.623 -23.971,-145.179Z" style="fill:#1a1b20;"/><path d="M7140.49,1179.74c-11.693,-2.406 -23.682,-3.644 -35.799,-3.644c-98.103,0 -177.631,79.528 -177.631,177.631c0.003,3.056 0.235,425 0.235,425l-247.604,-0l-0,-425c-0,-234.721 190.279,-425 425,-425c70.864,-0 139.904,17.698 201.21,50.647c-73.027,48.828 -130.996,118.448 -165.411,200.366Z" style="fill:#1a1b20;"/><path d="M4473.95,1202.65l0,-273.925l247.605,-0c-0,-0 -0.232,444.04 -0.236,447.097c0,59.865 0.236,147.466 78.591,147.466c78.59,-0 78.59,-87.601 78.59,-147.467c-0.003,-3.056 -0.235,-447.096 -0.235,-447.096l247.604,-0l0,447.096c0,5.706 -0.057,11.353 -0.17,16.942c0.625,58.139 7.299,130.525 78.526,130.525c78.59,-0 78.59,-87.601 78.59,-147.466c-0.003,-3.057 -0.235,-447.097 -0.235,-447.097l247.604,-0l0,447.096c0,265.714 -123.802,405.761 -325.959,402.86c-80.152,-1.15 -147.95,-22.948 -200.59,-65.4c-53.107,44.392 -122.016,66.572 -203.725,65.4c-173.207,-2.486 -288.894,-101.39 -318.476,-296.791c12.066,-40.626 18.545,-83.645 18.545,-128.165c-0,-52.986 -9.178,-103.846 -26.029,-151.075Zm0.031,180.4c-0.02,-2.399 -0.031,-4.808 -0.031,-7.229l0,-51.868c0.682,9.836 1.029,19.764 1.029,29.772c-0,9.856 -0.336,19.635 -0.998,29.325Z" style="fill:#1a1b20;"/><path d="M5555.62,1353.73l-0,-879.167l247.604,0l0,492.903c54.001,-24.865 114.091,-38.736 177.396,-38.736c234.564,-0 425,190.436 425,425c-0,234.564 -190.436,425 -425,425c-63.305,-0 -123.395,-13.871 -177.396,-38.736c-146.088,-67.269 -247.604,-215.005 -247.604,-386.264Zm247.604,9.213c4.801,93.762 82.449,168.418 177.396,168.418c98.037,-0 177.631,-79.594 177.631,-177.631c-0,-98.037 -79.594,-177.631 -177.631,-177.631c-94.947,0 -172.595,74.656 -177.396,168.418l0,18.426Z" style="fill:#1a1b20;"/><path d="M4049.98,928.73c234.564,-0 425,190.436 425,425c-0,234.564 -190.436,425 -425,425c-234.564,-0 -425,-190.436 -425,-425c-0,-234.564 190.436,-425 425,-425Zm-0,247.592c97.914,-0 177.408,79.494 177.408,177.408c-0,97.914 -79.494,177.408 -177.408,177.408c-97.914,-0 -177.408,-79.494 -177.408,-177.408c-0,-97.914 79.494,-177.408 177.408,-177.408Z" style="fill:#1a1b20;"/><circle cx="6530.45" cy="757.897" r="137.5" style="fill:#1a1b20;"/><path d="M7980.57,1353.73l-0,-879.167l-247.605,0l0,492.903c-54,-24.865 -114.091,-38.736 -177.395,-38.736c-234.564,-0 -425,190.436 -425,425c-0,234.564 190.436,425 425,425c63.304,-0 123.395,-13.871 177.395,-38.736c146.088,-67.269 247.605,-215.005 247.605,-386.264Zm-247.605,9.213c-4.8,93.762 -82.448,168.418 -177.395,168.418c-98.038,-0 -177.631,-79.594 -177.631,-177.631c-0,-98.037 79.593,-177.631 177.631,-177.631c94.947,0 172.595,74.656 177.395,168.418l0,18.426Z" style="fill:#1a1b20;"/><path d="M2535.79,1490.81c30.636,25.196 69.852,40.33 112.575,40.33c61.586,0 118.766,-31.94 151.061,-84.38l210.821,129.831c-77.364,125.626 -214.346,202.141 -361.882,202.141c-234.564,-0 -425,-190.436 -425,-425c-0,-234.564 190.436,-425 425,-425c208.771,-0 386.627,151.633 419.65,357.776l-532.225,204.302Zm226.813,-272.81c-31.057,-26.141 -71.064,-41.676 -114.238,-41.676c-89.63,-0 -163.825,66.611 -175.738,152.988l289.976,-111.312Z" style="fill:#1a1b20;"/></g></g></svg>
|
||||
|
After Width: | Height: | Size: 4.8 KiB |
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 2487 2487" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><g><path d="M2486.72,1243.36c-0,686.229 -557.131,1243.36 -1243.36,1243.36c-686.228,-0 -1243.36,-557.131 -1243.36,-1243.36c0,-686.228 557.131,-1243.36 1243.36,-1243.36c686.229,0 1243.36,557.131 1243.36,1243.36Z" style="fill:#ffcd00;"/><path d="M1605.78,698.075l-0,858.425l-0.678,-0c0,234.721 -190.279,425 -425,425c-62.287,-0 -123.812,-13.691 -180.221,-40.104l104.897,-224.027c23.576,11.04 49.291,16.762 75.324,16.762c98.103,-0 177.631,-79.528 177.631,-177.631l0.442,-0l0,-10.216c-17.115,2.097 -34.544,3.177 -52.226,3.177c-234.721,-0 -425,-190.279 -425,-425l-0,-426.386l247.604,-0l0,426.386l-0.235,0c-0,98.103 79.528,177.631 177.631,177.631c18.175,-0 35.714,-2.73 52.226,-7.802l0,-596.215l247.605,-0Z" style="fill:#1a1b20;"/></g></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 6483 1738" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path d="M1569.48,716.554l-0,-716.554l247.604,0l0,1304.17l-247.604,-0l-0,-465.446l8.959,-3.439c11.035,-4.236 17.596,-15.622 15.726,-27.294c-5.096,-31.81 -13.449,-62.394 -24.685,-91.434Z" style="fill:#ffcd00;"/><path d="M724.831,1027.33l-0,285.265l-0.678,-0c0,234.721 -190.279,425 -425,425c-62.286,0 -123.812,-13.691 -180.221,-40.104l104.897,-224.027c23.576,11.04 49.291,16.762 75.324,16.762c98.103,-0 177.631,-79.528 177.631,-177.631l0.443,-0l-0,-10.216c-17.116,2.097 -34.545,3.177 -52.227,3.177c-234.721,0 -425,-190.279 -425,-425l0,-426.386l247.604,-0l0,426.386l-0.235,0c0,98.103 79.528,177.631 177.631,177.631c18.176,-0 35.714,-2.73 52.227,-7.802l-0,-596.215l247.604,-0l-0,276.84c-16.196,46.404 -25,96.262 -25,148.16c-0,51.898 8.804,101.756 25,148.16Z" style="fill:#ffcd00;"/><path d="M2125.42,1024.35l0,279.822l-247.604,-0l-0,-1304.17l247.604,0l0,733.988c-15.539,45.556 -23.971,94.39 -23.971,145.179c0,50.788 8.432,99.622 23.971,145.178Z" style="fill:#ffcd00;"/><path d="M4908.12,733.988l-0,-279.821l247.604,-0l0,850l-247.604,-0l-0,-279.822c15.539,-45.556 23.971,-94.39 23.971,-145.178c0,-50.789 -8.432,-99.623 -23.971,-145.179Z" style="fill:#ffcd00;"/><path d="M5641.96,705.18c-11.693,-2.406 -23.682,-3.644 -35.799,-3.644c-98.103,-0 -177.631,79.528 -177.631,177.631c0.003,3.056 0.235,425 0.235,425l-247.604,-0l-0,-425c-0,-234.721 190.279,-425 425,-425c70.864,-0 139.904,17.698 201.21,50.647c-73.027,48.828 -130.996,118.448 -165.411,200.366Z" style="fill:#ffcd00;"/><path d="M2975.42,728.092l0,-273.925l247.605,-0c-0,-0 -0.232,444.04 -0.236,447.096c0,59.866 0.236,147.466 78.591,147.466c78.59,0 78.59,-87.6 78.59,-147.466c-0.003,-3.056 -0.235,-447.096 -0.235,-447.096l247.605,-0l-0,447.096c-0,5.706 -0.058,11.353 -0.171,16.942c0.625,58.139 7.299,130.524 78.526,130.524c78.59,0 78.59,-87.6 78.59,-147.466c-0.003,-3.056 -0.235,-447.096 -0.235,-447.096l247.604,-0l0,447.096c0,265.713 -123.802,405.76 -325.959,402.86c-80.152,-1.151 -147.95,-22.948 -200.59,-65.4c-53.107,44.392 -122.016,66.572 -203.725,65.4c-173.207,-2.486 -288.894,-101.39 -318.476,-296.792c12.066,-40.625 18.545,-83.644 18.545,-128.164c0,-52.987 -9.178,-103.846 -26.029,-151.075Zm0.031,180.4c-0.02,-2.399 -0.031,-4.808 -0.031,-7.229l0,-51.869c0.682,9.837 1.029,19.764 1.029,29.773c0,9.856 -0.336,19.635 -0.998,29.325Z" style="fill:#ffcd00;"/><path d="M4057.09,879.167l0,-879.167l247.604,0l0,492.903c54.001,-24.866 114.091,-38.736 177.396,-38.736c234.564,-0 425,190.436 425,425c0,234.564 -190.436,425 -425,425c-63.305,-0 -123.395,-13.871 -177.396,-38.736c-146.088,-67.269 -247.604,-215.005 -247.604,-386.264Zm247.604,9.212c4.801,93.763 82.449,168.419 177.396,168.419c98.037,-0 177.631,-79.594 177.631,-177.631c-0,-98.038 -79.594,-177.631 -177.631,-177.631c-94.947,-0 -172.595,74.655 -177.396,168.418l0,18.425Z" style="fill:#ffcd00;"/><path d="M2551.45,454.167c234.564,-0 425,190.436 425,425c0,234.564 -190.436,425 -425,425c-234.564,-0 -425,-190.436 -425,-425c0,-234.564 190.436,-425 425,-425Zm0,247.592c97.914,-0 177.408,79.494 177.408,177.408c0,97.914 -79.494,177.408 -177.408,177.408c-97.914,-0 -177.408,-79.494 -177.408,-177.408c0,-97.914 79.494,-177.408 177.408,-177.408Z" style="fill:#ffcd00;"/><circle cx="5031.92" cy="283.333" r="137.5" style="fill:#ffcd00;"/><path d="M6482.04,879.167l-0,-879.167l-247.605,0l0,492.903c-54,-24.866 -114.091,-38.736 -177.395,-38.736c-234.564,-0 -425,190.436 -425,425c-0,234.564 190.436,425 425,425c63.304,-0 123.395,-13.871 177.395,-38.736c146.089,-67.269 247.605,-215.005 247.605,-386.264Zm-247.605,9.212c-4.8,93.763 -82.448,168.419 -177.395,168.419c-98.038,-0 -177.631,-79.594 -177.631,-177.631c-0,-98.038 79.593,-177.631 177.631,-177.631c94.947,-0 172.595,74.655 177.395,168.418l0,18.425Z" style="fill:#ffcd00;"/><path d="M1037.26,1016.25c30.636,25.195 69.852,40.33 112.575,40.33c61.586,-0 118.766,-31.94 151.061,-84.38l210.821,129.831c-77.364,125.625 -214.345,202.141 -361.882,202.141c-234.564,-0 -425,-190.436 -425,-425c-0,-234.564 190.436,-425 425,-425c208.771,-0 386.628,151.633 419.65,357.776l-532.225,204.302Zm226.813,-272.81c-31.057,-26.141 -71.064,-41.676 -114.238,-41.676c-89.63,-0 -163.825,66.611 -175.738,152.987l289.976,-111.311Z" style="fill:#ffcd00;"/></svg>
|
||||
|
After Width: | Height: | Size: 4.5 KiB |
+2
-1
@@ -36,7 +36,8 @@
|
||||
--popover-foreground: 60 9.1% 97.8%;
|
||||
--primary: 47.9 95.8% 53.1%;
|
||||
--primary-foreground: 26 83.3% 14.1%;
|
||||
--secondary: 12 6.5% 15.1%;
|
||||
/* --secondary: 12 6.5% 15.1%; */
|
||||
--secondary: 0 0% 15%;
|
||||
--secondary-foreground: 60 9.1% 97.8%;
|
||||
--muted: 12 6.5% 15.1%;
|
||||
--muted-foreground: 24 5.4% 63.9%;
|
||||
|
||||
@@ -20,6 +20,7 @@ import {
|
||||
PersonStandingIcon,
|
||||
RocketIcon,
|
||||
Settings,
|
||||
SettingsIcon,
|
||||
} from "lucide-react";
|
||||
import {
|
||||
Command,
|
||||
@@ -92,56 +93,33 @@ function Sidebar() {
|
||||
"border-r border-neutral-700 min-h-screen"
|
||||
)}
|
||||
>
|
||||
<div className="flex flex-col min-h-screen p-4">
|
||||
<div
|
||||
className={cn(
|
||||
isCollapsed ? "items-center" : "",
|
||||
"pb-4 px-2 flex flex-col min-h-screen"
|
||||
)}
|
||||
>
|
||||
<div
|
||||
className={cn(
|
||||
isCollapsed ? "bg-background" : "bg-primary h-10 pt-1",
|
||||
"flex justify-center rounded-full"
|
||||
)}
|
||||
className={cn(isCollapsed ? "" : "px-4", "h-16 flex items-center")}
|
||||
>
|
||||
{isCollapsed ? (
|
||||
<Image
|
||||
src={"/yellowbird-circle.svg"}
|
||||
src={"/yellowbird-yellow-circle.svg"}
|
||||
height={40}
|
||||
width={40}
|
||||
alt="yellowbird"
|
||||
/>
|
||||
) : (
|
||||
<Image
|
||||
src={"/yellowbird-black.svg"}
|
||||
height={10}
|
||||
width={120}
|
||||
src={"/yellowbird-yellow-badge.svg"}
|
||||
height={40}
|
||||
width={152.5}
|
||||
alt="yellowbird"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* <Command className="pt-4 rounded-lg bg-background flex-grow">
|
||||
<CommandList className="max-h-full">
|
||||
{menuList.map((menu: any, key: number) => (
|
||||
<CommandGroup heading={!isCollapsed && menu.group} key={key}>
|
||||
{menu.items.map((option: any, optionKey: number) => (
|
||||
<CommandItem
|
||||
key={optionKey}
|
||||
className="flex gap-2 cursor-pointer p-2"
|
||||
>
|
||||
{option.icon}
|
||||
{!isCollapsed && (
|
||||
<span className="text-base">{option.text}</span>
|
||||
)}
|
||||
</CommandItem>
|
||||
))}
|
||||
</CommandGroup>
|
||||
))}
|
||||
</CommandList>
|
||||
</Command> */}
|
||||
|
||||
<div
|
||||
className={cn(
|
||||
isCollapsed ? "pt-2" : "pt-6",
|
||||
"rounded-lg bg-background flex-grow"
|
||||
)}
|
||||
>
|
||||
<div className="flex-grow px-4">
|
||||
<div className="max-h-full">
|
||||
{menuList.map((menu: any, key: number) => (
|
||||
<>
|
||||
@@ -176,41 +154,54 @@ function Sidebar() {
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Button
|
||||
variant="ghost"
|
||||
onClick={() => {
|
||||
setIsCollapsed(!isCollapsed);
|
||||
}}
|
||||
>
|
||||
{!isCollapsed ? (
|
||||
<ArrowLeftToLineIcon height={20} />
|
||||
) : (
|
||||
<ArrowRightToLineIcon height={20} />
|
||||
)}
|
||||
</Button>
|
||||
<div
|
||||
className={cn(
|
||||
!isCollapsed ? "p-2" : "p-0",
|
||||
"border border-neutral-700 rounded-lg flex"
|
||||
)}
|
||||
>
|
||||
<Button variant="default" className="w-10 h-10">
|
||||
Me
|
||||
</Button>
|
||||
{!isCollapsed && (
|
||||
<>
|
||||
<div className="flex-grow pl-2">
|
||||
<p className="text-sm">Dylan Benzi</p>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
dylanbenzi@gmail.com
|
||||
</p>
|
||||
</div>
|
||||
<Button variant="ghost" className="">
|
||||
<LogOutIcon width={20} height={20} className="text-red-500" />
|
||||
</Button>
|
||||
</>
|
||||
)}
|
||||
<div className="flex flex-col gap-2">
|
||||
<div className={cn(isCollapsed ? "flex flex-col" : "flex", "gap-2")}>
|
||||
<Button
|
||||
className="grow"
|
||||
variant="secondary"
|
||||
onClick={() => {
|
||||
setIsCollapsed(!isCollapsed);
|
||||
}}
|
||||
>
|
||||
{!isCollapsed ? (
|
||||
<ArrowLeftToLineIcon height={20} />
|
||||
) : (
|
||||
<ArrowRightToLineIcon height={20} />
|
||||
)}
|
||||
</Button>
|
||||
<Button
|
||||
variant="secondary"
|
||||
className="grow"
|
||||
onClick={() => {
|
||||
router.push("/settings");
|
||||
}}
|
||||
>
|
||||
<SettingsIcon height={20} />
|
||||
</Button>
|
||||
</div>
|
||||
<div
|
||||
className={cn(
|
||||
isCollapsed ? "justify-center" : "",
|
||||
"p-2 bg-secondary rounded-lg flex items-center"
|
||||
)}
|
||||
>
|
||||
<Button variant="default" className="w-8 h-8 rounded-full">
|
||||
Me
|
||||
</Button>
|
||||
{!isCollapsed && (
|
||||
<>
|
||||
<div className="flex-grow pl-2">
|
||||
<p className="text-sm">Dylan Benzi</p>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
dylanbenzi@gmail.com
|
||||
</p>
|
||||
</div>
|
||||
<Button variant="ghost" className="">
|
||||
<LogOutIcon width={20} height={20} className="text-red-500" />
|
||||
</Button>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user