From 96775ebcf3ad0c2fccad47ef6493f4d74338d354 Mon Sep 17 00:00:00 2001 From: Alex <49969959+alexzhang1030@users.noreply.github.com> Date: Thu, 1 Dec 2022 11:08:09 +0800 Subject: [PATCH] feat: add offline check (#247) Co-authored-by: Anthony Fu --- components/common/OfflineChecker.vue | 17 +++++++++++++++++ components/nav/NavBottom.vue | 2 +- layouts/default.vue | 9 +++++++-- locales/en-US.json | 3 ++- locales/zh-CN.json | 3 ++- styles/vars.css | 4 +++- 6 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 components/common/OfflineChecker.vue diff --git a/components/common/OfflineChecker.vue b/components/common/OfflineChecker.vue new file mode 100644 index 00000000..71c299a3 --- /dev/null +++ b/components/common/OfflineChecker.vue @@ -0,0 +1,17 @@ + + + diff --git a/components/nav/NavBottom.vue b/components/nav/NavBottom.vue index ea6fbbe2..3fedd35b 100644 --- a/components/nav/NavBottom.vue +++ b/components/nav/NavBottom.vue @@ -3,7 +3,7 @@