code alignment
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<script setup>
|
||||
import { useLayout } from '@/layout/composables/layout';
|
||||
import { useAuth } from '@websanova/vue-auth/src/v3.js';
|
||||
import { computed, ref } from 'vue';
|
||||
import {useAuth } from '@websanova/vue-auth/src/v3.js';
|
||||
//import logo from '@/assets/Logo_Apollo_Transparent.png';
|
||||
import logo from '@/assets/apollo.jpg';
|
||||
const auth = useAuth();
|
||||
const auth = useAuth();
|
||||
|
||||
const { isDarkTheme } = useLayout();
|
||||
const username = ref('');
|
||||
const username = ref('');
|
||||
const password = ref('');
|
||||
const logoSrc = ref(logo);
|
||||
|
||||
@@ -40,13 +40,13 @@ const login = () => {
|
||||
style="border-radius: 56px; padding: 0.3rem; background: linear-gradient(180deg, var(--primary-color) 10%, rgba(33, 150, 243, 0) 30%)">
|
||||
<div class="w-full bg-surface-0 dark:bg-surface-900 py-20 px-8 sm:px-20" style="border-radius: 53px">
|
||||
<div class="text-center mb-8">
|
||||
|
||||
|
||||
<img :src="logoSrc" alt="Logo" class="logo-image mx-auto" />
|
||||
|
||||
|
||||
<!--span style="font-size: 24px;" class="text-surface-600 dark:text-surface-200 font-medium">Welcome to Apollo- The Knowledge Source</span-->
|
||||
<div style="text-align: center; padding: 20px;">
|
||||
<span style="font-size: 36px; font-weight: bold; color: #3b7a57;">Welcome to Apollo</span><br>
|
||||
<span style="font-size: 24px; color: #555;">The Knowledge Source</span>
|
||||
<span style="font-size: 36px; font-weight: bold; color: #3b7a57;">Welcome to Apollo</span><br>
|
||||
<span style="font-size: 24px; color: #555;">The Knowledge Source</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -90,9 +90,12 @@ const login = () => {
|
||||
|
||||
.logo-image {
|
||||
border-radius: 50%;
|
||||
width: 220px; /* Adjust the size as needed */
|
||||
height: 220px; /* Adjust the size as needed */
|
||||
object-fit: cover; /* Ensures the logo scales nicely within the circle */
|
||||
width: 220px;
|
||||
/* Adjust the size as needed */
|
||||
height: 220px;
|
||||
/* Adjust the size as needed */
|
||||
object-fit: cover;
|
||||
/* Ensures the logo scales nicely within the circle */
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user