<script setup lang="ts">
import { ref } from "vue";
const header = ref<HTMLElement | null>(null);

defineExpose({ header });
</script>
<template>
  <header ref="header">
    <div>
      <slot name="left" />
    </div>
    <div>
      <slot name="right" />
    </div>
  </header>
</template>

<style scoped lang="scss">
header {
  display: flex;
  width: 100vw;
  justify-content: space-between;
  background: var(--gray-white);

  padding: var(--spacing-5) var(--spacing-7);
  border-bottom: 1px solid var(--gray-50);
  > div {
    display: flex;
    align-items: center;
  }
  @media (max-width: 768px) {
    padding: var(--spacing-3) var(--spacing-6);
  }
}
</style>
