Browse Source

feat(gui): add join cloud button

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4296/head
Pranav C 2 years ago
parent
commit
0d98971c4b
  1. 1
      packages/nc-gui/components.d.ts
  2. 2
      packages/nc-gui/components/dashboard/TreeView.vue
  3. 10
      packages/nc-gui/components/general/JoinCloud.vue

1
packages/nc-gui/components.d.ts vendored

@ -219,6 +219,7 @@ declare module '@vue/runtime-core' {
MdiWhatsapp: typeof import('~icons/mdi/whatsapp')['default']
MdiXml: typeof import('~icons/mdi/xml')['default']
MiCircleWarning: typeof import('~icons/mi/circle-warning')['default']
PhCloudLightningDuotone: typeof import('~icons/ph/cloud-lightning-duotone')['default']
PhFileCsv: typeof import('~icons/ph/file-csv')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']

2
packages/nc-gui/components/dashboard/TreeView.vue

@ -421,6 +421,8 @@ function openTableCreateDialog() {
<LazyGeneralHelpAndSupport class="color-transition px-2 text-gray-500 cursor-pointer select-none hover:text-accent" />
<GeneralJoinCloud class="color-transition px-2 text-gray-500 cursor-pointer select-none hover:text-accent" />
<GithubButton
class="ml-2 py-1"
href="https://github.com/nocodb/nocodb"

10
packages/nc-gui/components/general/JoinCloud.vue

@ -0,0 +1,10 @@
<template>
<a
v-e="['c:navbar:join-cloud']"
class="flex items-center space-x-1 w-full cursor-pointer pl-3 py-1.5 !text-current !no-underline !hover:(text-primary bg-primary bg-opacity-5)"
href="https://docs.google.com/forms/d/e/1FAIpQLSfKLe8Rcrq0uo2_jM5W1kbVBbzDiQ3IvlP8Iov61FTekVAvzA/viewform?usp=pp_url"
>
<PhCloudLightningDuotone class="mr-1" />
Join NocoDB Cloud
</a>
</template>
Loading…
Cancel
Save