From ae30c8ffa80956cdeba360aa8cb4b43b1f4dc3d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 26 Jul 2022 17:31:44 +0300 Subject: [PATCH] Figma link added to demoactions --- src/AppDemoActions.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/AppDemoActions.vue b/src/AppDemoActions.vue index f7250bf23..eb245a137 100644 --- a/src/AppDemoActions.vue +++ b/src/AppDemoActions.vue @@ -6,6 +6,11 @@ + @@ -46,6 +51,12 @@ export default { scrollToDocs() { document.getElementById('app-doc').scrollIntoView({behavior: 'smooth'}); }, + viewOnFigma() { + if (this.$appState.darkTheme) + window.open('https://www.figma.com/file/LJBqVfMpK8xY6KR2KIc8RK/Preview-%7C-Dark-%7C-PrimeOne-2022-%7C-1.0.0?node-id=806%3A36648', '_blank'); + else + window.open('https://www.figma.com/file/c3BuENd8nGcyPmn7ADieee/Preview-%7C-PrimeOne-2022-%7C-1.0.0?node-id=806%3A36648', '_blank'); + }, viewOnGitHub() { EventBus.emit('view-github'); }