From 00100b089f476f88f48bfd85bb399d05e282c62c Mon Sep 17 00:00:00 2001 From: eggy Date: Fri, 1 Mar 2024 15:50:04 -0500 Subject: [PATCH] feat: add scrolling welcome title css only! --- components/HeaderLoop.vue | 101 ++++++++++++++++++++++++++++++++++++++ pages/index.vue | 4 +- 2 files changed, 104 insertions(+), 1 deletion(-) create mode 100644 components/HeaderLoop.vue diff --git a/components/HeaderLoop.vue b/components/HeaderLoop.vue new file mode 100644 index 0000000..8df0791 --- /dev/null +++ b/components/HeaderLoop.vue @@ -0,0 +1,101 @@ + + + + + diff --git a/pages/index.vue b/pages/index.vue index 121a3d3..faac3cb 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -4,12 +4,14 @@ import About from "@/components/index/about.vue"; //definePageMeta({ layout: "withtop" }); useTitle("Home", "Personal website!"); + +const welcomeStrings = ["Welcome!", "Bienvenue!", "欢迎!"];