feat: update environment variables, enhance login functionality with password hashing, and improve UI components for better user experience

This commit is contained in:
yuanhau 2025-05-12 14:45:02 +08:00
parent 26d3998a70
commit 98869d5fce
10 changed files with 105 additions and 29 deletions

View file

@ -1,4 +1,5 @@
<script setup lang="ts">
import EmojiConvertor from "emoji-js";
import { gsap } from "gsap";
import { TextPlugin } from "gsap/TextPlugin";
gsap.registerPlugin(TextPlugin);
@ -15,6 +16,8 @@ const messages = [
"BlindSpec",
];
const emoji = new EmojiConvertor();
onMounted(() => {
const tl = gsap.timeline({ repeat: -1 });
messages.forEach((message) => {
@ -76,7 +79,7 @@ onMounted(() => {
<div
class="flex flex-col justify-center items-center align-middle bg-[#C9C9C9]/60 rounded-xl shadow-lg p-5 m-5 w-[300px] h-[200px]"
>
<h1 class="text-8xl mt-0">🤔</h1>
<h1 class="text-8xl mt-0">{{ emoji.replace_colons(':thinking_face:') }}</h1>
<h2 class="text-xl font-bold">Why?</h2>
<span class="text-sm"
>{{ t("home.whydes")}}</span
@ -85,7 +88,7 @@ onMounted(() => {
<div
class="flex flex-col justify-center items-center align-middle bg-[#C9C9C9]/60 rounded-xl shadow-lg p-5 m-5 w-[300px] h-[200px]"
>
<h1 class="text-8xl mt-0">🧐</h1>
<h1 class="text-8xl mt-0">{{ emoji.replace_colons(':face_with_monocle:') }}</h1>
<h2 class="text-xl font-bold">How?</h2>
<span class="text-sm"
>{{ t("home.howdes")}}</span