new logo added

This commit is contained in:
sumedh
2024-09-05 13:04:24 +05:30
parent f7940c244c
commit 24e4d3093e
9 changed files with 47 additions and 13 deletions

View File

@@ -25,7 +25,7 @@
>
<template #header>
<div class="flex items-center justify-between gap-4 p-4">
<span class="text-xl font-bold">Code Repository</span>
<span class="text-xl font-bold">Knowledge Source Git Code Repository</span>
<div class="flex items-center gap-2 flex-grow">
<IconField class="flex-grow">
<InputIcon>

View File

@@ -2,11 +2,14 @@
import { useLayout } from '@/layout/composables/layout';
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 { isDarkTheme } = useLayout();
const username = ref('');
const password = ref('');
const logoSrc = ref(logo);
const logoUrl = computed(() => {
return `/layout/images/${isDarkTheme ? 'logo-white' : 'logo-dark'}.svg`;
@@ -37,20 +40,26 @@ 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">
<span class="text-surface-600 dark:text-surface-200 font-medium">Welcome to Apollo- The Knowledge
Source</span>
<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>
</div>
</div>
<div>
<label for="email1"
class="block text-surface-900 dark:text-surface-0 text-xl font-medium mb-2">Username</label>
<InputText id="email1" type="text" placeholder="Username" class="w-full md:w-[30rem] mb-8"
style="padding: 1rem" v-model="username" />
style="padding: 1rem; width: 100%;" v-model="username" />
<label for="password1"
class="block text-surface-900 dark:text-surface-0 font-medium text-xl mb-2">Password</label>
<Password id="password1" v-model="password" placeholder="Password" :toggleMask="true" class="w-full mb-4"
inputClass="w-full" :inputStyle="{ padding: '1rem' }"></Password>
inputClass="w-full" :inputStyle="{ padding: '1rem', width: '100%' }"></Password>
<!--div class="flex items-center justify-between mb-8 gap-8">
<div class="flex items-center">
@@ -78,4 +87,12 @@ const login = () => {
transform: scale(1.6);
margin-right: 1rem;
}
.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 */
display: block;
}
</style>