diff --git a/packages/nc-gui/assets/nc-icons/youtube2.svg b/packages/nc-gui/assets/nc-icons/youtube2.svg new file mode 100644 index 0000000000..59bf53562a --- /dev/null +++ b/packages/nc-gui/assets/nc-icons/youtube2.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/packages/nc-gui/components/feed/Changelog/Item.vue b/packages/nc-gui/components/feed/Changelog/Item.vue new file mode 100644 index 0000000000..f17473e857 --- /dev/null +++ b/packages/nc-gui/components/feed/Changelog/Item.vue @@ -0,0 +1,61 @@ + + + + + diff --git a/packages/nc-gui/components/feed/Changelog/index.vue b/packages/nc-gui/components/feed/Changelog/index.vue new file mode 100644 index 0000000000..e09483e27e --- /dev/null +++ b/packages/nc-gui/components/feed/Changelog/index.vue @@ -0,0 +1,26 @@ + + + + + diff --git a/packages/nc-gui/components/feed/Navigation.vue b/packages/nc-gui/components/feed/Navigation.vue index 8747e0c284..1659faadb3 100644 --- a/packages/nc-gui/components/feed/Navigation.vue +++ b/packages/nc-gui/components/feed/Navigation.vue @@ -7,6 +7,8 @@ const emits = defineEmits(['update:activeKey']) const activeKey = useVModel(props, 'activeKey', emits) +const { $e } = useNuxtApp() + const navigationElements = [ { key: 'recents', @@ -27,6 +29,38 @@ const navigationElements = [ description: 'Upcoming features', }, ] + +const socialLinks = [ + { + key: 'youtube', + icon: iconMap.youtube, + title: 'NocoDB', + url: 'https://www.youtube.com/@nocodb', + }, + { + key: 'twitter', + icon: iconMap.twitter, + title: '@nocodb', + url: 'https://x.com/nocodb', + }, + { + key: 'discord', + icon: iconMap.discord, + title: 'NocoDB', + url: 'https://discord.gg/5RgZmkW', + }, + { + key: 'reddit', + icon: iconMap.reddit, + title: 'r/NocoDB', + url: 'https://www.reddit.com/r/NocoDB', + }, +] + +const openLink = (url: string, key: string) => { + $e(`c:nocodb:${key}`) + window.open(url, '_blank') +} - + diff --git a/packages/nc-gui/components/feed/View.vue b/packages/nc-gui/components/feed/View.vue index c5ad68f699..5692a6cd61 100644 --- a/packages/nc-gui/components/feed/View.vue +++ b/packages/nc-gui/components/feed/View.vue @@ -4,8 +4,14 @@ const activeKey = ref('recents') diff --git a/packages/nc-gui/utils/iconUtils.ts b/packages/nc-gui/utils/iconUtils.ts index 50e6dc328f..d1941835be 100644 --- a/packages/nc-gui/utils/iconUtils.ts +++ b/packages/nc-gui/utils/iconUtils.ts @@ -531,6 +531,7 @@ import NcMousePointerIcon from '~icons/nc-icons-v2/mouse-pointer.svg' import NcAlignLeftIcon from '~icons/nc-icons-v2/align-left.svg' import NcHeartIcon from '~icons/nc-icons-v2/heart.svg' import NcTrendingUpIcon from '~icons/nc-icons-v2/trending-up.svg' +import NcYoutube2Icon from '~icons/nc-icons/youtube2.svg' import NcSlash1 from '~icons/nc-icons/slash1' @@ -1338,6 +1339,7 @@ export const iconMap = { ncPlaceholderIcon: NcPlaceholderIcon, ncSpanner: NcSpanner, ncScript: NcScript, + youtube: NcYoutube2Icon, } export const getMdiIcon = (type: string): any => {