From 5041ec9dc6ad98ac7bf513af7b909d6b1916c7ac Mon Sep 17 00:00:00 2001 From: wancat Date: Fri, 1 Mar 2024 22:48:21 +0800 Subject: [PATCH] Contact --- app/src/components/ContactButton.vue | 28 ++++++++++++ app/src/config.js | 9 +--- app/src/views/LandingPage.vue | 66 +++++++++++----------------- 3 files changed, 54 insertions(+), 49 deletions(-) create mode 100644 app/src/components/ContactButton.vue diff --git a/app/src/components/ContactButton.vue b/app/src/components/ContactButton.vue new file mode 100644 index 0000000..c264443 --- /dev/null +++ b/app/src/components/ContactButton.vue @@ -0,0 +1,28 @@ + + diff --git a/app/src/config.js b/app/src/config.js index 1f70f2c..73879c5 100644 --- a/app/src/config.js +++ b/app/src/config.js @@ -1,11 +1,4 @@ export const surveyUrl = '/api/v1/survey' export const bugReportUrl = '/api/v1/bug-report' export const facebookUrl = 'https://www.facebook.com/LinuxOdyssey' -export const GitHubUrl = 'https://github.com/linux-odyssey/linux-odyssey' - -export default { - surveyUrl, - bugReportUrl, - facebookUrl, - GitHubUrl, -} +export const githubUrl = 'https://github.com/linux-odyssey/linux-odyssey' diff --git a/app/src/views/LandingPage.vue b/app/src/views/LandingPage.vue index f639c72..8db69bb 100644 --- a/app/src/views/LandingPage.vue +++ b/app/src/views/LandingPage.vue @@ -1,6 +1,7 @@