Fix welcome page welcome text selection (#1508)

This commit is contained in:
Chenlei Hu
2024-11-11 11:13:59 -05:00
committed by GitHub
parent 73bdbddf90
commit 64ef0f18b1
2 changed files with 8 additions and 2 deletions

View File

@@ -2,6 +2,10 @@ import { createI18n } from 'vue-i18n'
const messages = { const messages = {
en: { en: {
welcome: {
title: 'Welcome to ComfyUI',
getStarted: 'Get Started'
},
install: { install: {
installLocation: 'Install Location', installLocation: 'Install Location',
migration: 'Migration', migration: 'Migration',

View File

@@ -4,11 +4,13 @@
> >
<div class="flex flex-col items-center justify-center gap-8 p-8"> <div class="flex flex-col items-center justify-center gap-8 p-8">
<!-- Header --> <!-- Header -->
<h1 class="animated-gradient-text text-glow">Welcome to ComfyUI</h1> <h1 class="animated-gradient-text text-glow select-none">
{{ $t('welcome.title') }}
</h1>
<!-- Get Started Button --> <!-- Get Started Button -->
<Button <Button
label="Get Started" :label="$t('welcome.getStarted')"
icon="pi pi-arrow-right" icon="pi pi-arrow-right"
iconPos="right" iconPos="right"
size="large" size="large"