From 7cd819115a4985946ea00ed420ac8e8ee367cd3c Mon Sep 17 00:00:00 2001 From: Thorn Walli Date: Mon, 23 Sep 2024 18:05:10 +0200 Subject: [PATCH] chore(playground): added github url --- .github/workflows/next.yml | 1 + playground/src/App.vue | 5 ++ playground/src/components/GithubCorner.vue | 87 ++++++++++++++++++++++ 3 files changed, 93 insertions(+) create mode 100644 playground/src/components/GithubCorner.vue diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml index 07cad47..7648d85 100644 --- a/.github/workflows/next.yml +++ b/.github/workflows/next.yml @@ -101,6 +101,7 @@ jobs: touch playground/dist/.nojekyll env: BASE_URL: /vue-semantic-structure/playground/ + VITE_GITHUB_URL: https://github.com/basics/vue-semantic-structure - name: Archive Production Artifact uses: actions/upload-artifact@v4 with: diff --git a/playground/src/App.vue b/playground/src/App.vue index 5183e25..c884861 100644 --- a/playground/src/App.vue +++ b/playground/src/App.vue @@ -149,6 +149,8 @@ + + @@ -157,6 +159,9 @@ import DebugContainer from '@/components/DebugContainer.vue'; import DebugHeadline from '@/components/DebugHeadline.vue'; import DebugContainerComposable from '@/components/composable/DebugContainer.vue'; import DebugHeadlineComposable from '@/components/composable/DebugHeadline.vue'; +import GithubCorner from './components/GithubCorner.vue'; + +const GITHUB_URL = import.meta.env.VITE_GITHUB_URL;