diff --git a/landing/components/sections/DownloadSection.vue b/landing/components/sections/DownloadSection.vue index f6c10f36..b1f4e1c9 100644 --- a/landing/components/sections/DownloadSection.vue +++ b/landing/components/sections/DownloadSection.vue @@ -8,7 +8,7 @@ const { t, locale } = useI18n(); const downloadStore = useDownloadStore(); const { data: releaseData, resolve } = useReleaseDownloads(); const { trackDownloadClick } = useAnalytics(); -const { releaseDownloadUrl } = useGithubRepo(); +const { repoUrl, releaseDownloadUrl } = useGithubRepo(); onMounted(() => downloadStore.init()); @@ -62,6 +62,13 @@ const releaseDate = computed(() => { day: 'numeric', }); }); + +const devBranchUrl = computed(() => `${repoUrl.value}/tree/dev`); +const devBranchNote = computed(() => + locale.value === 'ru' + ? 'Самая свежая версия доступна в ветке dev - можно развернуть локально.' + : 'Freshest version is available on the dev branch - clone and run it locally.', +);