Hello from MCP server

List Files | Just Commands | Repo | Logs

← back |
<template>
  <BaseLayout title="Technician">
    <div class="to-tech-container">
      <div class="message-section">
        <h1 class="message-text">Please hand the device to the technician</h1>
      </div>

      <!-- Action Button -->
      <div class="action-section">
        <button class="continue-button" @click="goToServiceCall">Continue</button>
      </div>
    </div>
  </BaseLayout>
</template>

<script setup lang="ts">
import { useRouter } from "vue-router";
import BaseLayout from "@/components/BaseLayout.vue";

const router = useRouter();

const goToServiceCall = () => {
  router.push("/invoice");
};
</script>

<style scoped>
.to-tech-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 20px;
}

.message-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.message-text {
  color: var(--ion-text-color);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.action-section {
  width: 100%;
  max-width: 600px;
  padding: 40px 20px;
}

.continue-button {
  width: 100%;
  background-color: var(--ion-color-primary);
  border: none;
  border-radius: 12px;
  padding: 24px 32px;
  color: var(--ion-color-primary-contrast);
  font-size: 32px;
  font-weight: 600;
  font-variant: small-caps;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.continue-button:hover {
  background-color: var(--ion-color-primary-shade);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.continue-button:active {
  transform: scale(0.98);
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .message-text {
    font-size: 36px;
  }

  .continue-button {
    font-size: 24px;
    padding: 20px 24px;
  }
}
</style>