Hello from MCP server

List Files | Just Commands | Repo | Logs

← back |
<template>
  <BaseLayout title="Pricebook Platform">
    <!--
    <template #header-buttons>
      <ion-button fill="clear">
        <ion-icon :icon="notificationsOutline" />
      </ion-button>
    </template>
    -->

    <div class="hero-section">
      <div class="hero-content">
        <h1>Get Started</h1>
        <p>Choose an option below to continue</p>
      </div>
    </div>

    <ion-grid :fixed="true">
      <ion-row>
        <ion-col>
          <div class="flex-grid">
            <div class="flex-item" v-for="item in startItems">
              <RouterLink :to="item.href" style="text-decoration: none">
                <ion-card class="ion-no-margin">
                  <ion-card-content> {{ item.name }} </ion-card-content>
                </ion-card>
              </RouterLink>
            </div>
          </div>
        </ion-col>
      </ion-row>
    </ion-grid>
  </BaseLayout>
</template>

<script setup lang="ts">
import { ref } from "vue";
import BaseLayout from "@/components/BaseLayout.vue";
import {
  IonButton,
  IonIcon,
  IonGrid,
  IonRow,
  IonCol,
  IonCard,
  IonCardContent,
} from "@ionic/vue";
import { notificationsOutline } from "ionicons/icons";

const startItems = ref([
  {
    name: "Start Session",
    desc: "Start session with a customer",
    href: "/session/start",
    icon: "",
  },
  {
    name: "Profile",
    desc: "See your dashbaord",
    href: "/profile",
    icon: "",
  },
  {
    name: "Create An Organization",
    desc: "Create your org",
    href: "/organization/create",
    icon: "",
  },
]);
</script>

<style scope>
.hero-section {
  background: linear-gradient(
    135deg,
    var(--ion-color-primary) 0%,
    var(--ion-color-secondary) 100%
  );
  padding: 2rem 1rem;
  text-align: center;
  color: white;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

.flex-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px;
}

.flex-item {
  flex: 1 1 calc(50% - 2px); /* 50% width minus half the gap */
  min-width: 0; /* Prevents flex items from overflowing */
}

/* Responsive: single column on small screens */
@media (max-width: 576px) {
  .flex-item {
    flex: 1 1 100%;
  }
}

@media (min-width: 576px) {
  .flex-item {
    max-width: calc(50% - 2px);
  }
}
</style>