<template>
  <div class="navbar-wrap">
    <div class="left-wrap">
      <a-space class="cursor-pointer" @click="router.push('/')">
        <img src="@/assets/logo.svg" alt="" />
      </a-space>
    </div>
    <div class="flex-1">
      <NavbarMenu />
    </div>
    <RightSide />
  </div>
</template>

<script setup>
import NavbarMenu from './components/navbar-menu';
import RightSide from './components/right-side';

import router from '@/router';
</script>
<style scoped lang="scss">
.navbar-wrap {
  display: flex;
  justify-content: space-between;
  height: 100%;
  background-color: var(--color-bg-2);
  border-bottom: 1px solid var(--color-border);
  .left-wrap {
    display: flex;
    align-items: center;
    padding-left: 20px;
  }
  .arco-dropdown-option-suffix {
    display: none;
  }
  .enterprises-doption {
    .arco-dropdown-option-content {
      padding: 0 !important;
      border-radius: 8px;
    }
    &:not(.arco-dropdown-option-disabled):hover {
      background-color: transparent;
      .arco-dropdown-option-content {
        background: var(--BG-200, #f2f3f5);
      }
    }
  }
}
</style>
