WIP: sub view heading adjustments

This commit is contained in:
Jose Olarte III
2025-10-01 18:38:43 +08:00
parent a6d282e59b
commit 88778a167c
3 changed files with 41 additions and 60 deletions

View File

@@ -1,26 +1,24 @@
<template>
<!-- CONTENT -->
<section id="Content" class="p-6 pb-24 max-w-3xl mx-auto">
<div class="mb-2">
<h1 class="text-2xl text-center font-semibold relative px-7">
<!-- Back -->
<a
class="text-lg text-center px-2 py-1 absolute -left-2 -top-1"
@click="handleBack"
>
<font-awesome icon="chevron-left" class="fa-fw" />
</a>
<!-- Quick Help -->
<a
class="text-2xl text-center text-blue-500 px-2 py-1 absolute -right-2 -top-1"
@click="toastQRCodeHelp()"
>
<font-awesome icon="circle-question" class="fa-fw" />
</a>
<!-- Sub View Heading -->
<div class="flex gap-4 items-center mb-8">
<!-- Back -->
<a class="text-lg text-center leading-none p-1" @click="handleBack">
<font-awesome icon="chevron-left" class="w-[1em]" />
</a>
<h1 class="grow text-xl text-center font-semibold leading-none">
Share Contact Info
</h1>
<!-- Quick Help -->
<a
class="block text-sm text-center text-white bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] p-1.5 rounded-full"
@click="toastQRCodeHelp()"
>
<font-awesome icon="question" class="block text-center w-[1em]" />
</a>
</div>
<div v-if="!givenName" :class="nameWarningClasses">