fix client
All checks were successful
Deploy on Master Change / deploy (push) Successful in 1m15s

This commit is contained in:
2026-07-13 10:13:05 +07:00
parent b4c3155564
commit 0583c7869a
11 changed files with 29 additions and 12 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "frontend",
"version": "0.0.0",
"version": "1.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "frontend",
"version": "0.0.0",
"version": "1.1.0",
"dependencies": {
"pdfjs-dist": "^3.11.174"
},

View File

@@ -1,7 +1,7 @@
{
"name": "frontend",
"private": true,
"version": "0.0.0",
"version": "1.1.0",
"scripts": {
"dev": "vite",
"build": "vite build",

View File

@@ -1 +1 @@
967eadb7b0ec47c936144695be4b0b15
39a3c87a78e46d8e7ef5f5042d044ee3

View File

@@ -140,6 +140,10 @@ body {
line-height: 1.2;
}
.login-brand-name .app-version {
font-size: 0.72em;
}
.login-brand-sub {
font-size: 0.72rem;
font-weight: 500;
@@ -224,6 +228,15 @@ body {
line-height: 1.2;
}
.app-version {
font-size: 0.68em;
font-weight: 700;
color: var(--accent);
letter-spacing: 0;
margin-left: 0.2rem;
vertical-align: middle;
}
.brand-sub {
font-size: 0.62rem;
font-weight: 500;

View File

@@ -19,6 +19,7 @@ if (typeof window.go.main.App === 'undefined') {
}
const brandLogoHtml = `<img src="${logoUrl}" alt="Simple Care" class="brand-logo-img" />`;
const APP_VERSION = '1.1';
// Trạng thái cục bộ
let loggedIn = false;
@@ -126,7 +127,7 @@ function renderLoginPrompt() {
<div class="login-brand-row">
${brandLogoHtml}
<div class="login-brand-text">
<div class="login-brand-name">Simple Care</div>
<div class="login-brand-name">Simple Care <span class="app-version">v${APP_VERSION}</span></div>
<div class="login-brand-sub">Rikkei Education</div>
</div>
</div>
@@ -498,7 +499,7 @@ function renderDashboard() {
<div class="brand">
${brandLogoHtml}
<div class="brand-text">
<span class="brand-name">Simple Care</span>
<span class="brand-name">Simple Care <span class="app-version">v${APP_VERSION}</span></span>
<span class="brand-sub">Rikkei Education</span>
</div>
</div>