-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update project structure with readme
- Loading branch information
Showing
209 changed files
with
277 additions
and
343 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import type { Categories } from '~/common/types'; | ||
|
||
export const categories: Categories = { | ||
ru: [ | ||
{ name: 'user_experience', label: 'Опыт пользователей', sub_category: [ | ||
{ name: 'retail', label: 'Ритейл, рестораны и отели' }, | ||
{ name: 'business_objects', label: 'Бизнес-объекты' }, | ||
{ name: 'tsod', label: 'ЦОД' }, | ||
{ name: 'apartments', label: 'Многоквартирные дома и ЖК' }, | ||
{ name: 'embedded', label: 'Встраиваемые системы и метеостанции' }, | ||
{ name: 'home_automation', label: 'Домашняя автоматизация' }, | ||
] | ||
}, | ||
{ name: 'hardware_selection', label: 'Подбор оборудования' }, | ||
{ name: 'educational', label: 'Обучающие ролики', sub_category: [ | ||
{ name: 'beginners', label: 'Начинающим' }, | ||
{ name: 'node_red', label: 'Автоматизация на Node-RED' }, | ||
{ name: 'ventilation', label: 'Вентиляция' }, | ||
{ name: 'heating', label: 'Отопление' }, | ||
{ name: 'electrics', label: 'Электрика' }, | ||
{ name: 'integrations', label: 'Интеграция со сторонним ПО' }, | ||
{ name: '3rd_party_devices', label: 'Подключение сторонних устройств' }, | ||
] | ||
}, | ||
{ name: 'manufactoring', label: 'О производстве и процессах' }, | ||
], | ||
en: [], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import type { Districts } from '~/common/types'; | ||
|
||
export const districts: Districts = { | ||
ru: [ | ||
{ value: 'moscow', label: 'Москва и область', coordinates: [55.8, 37.5], zoom: 9 }, | ||
{ value: 'spb', label: 'Северо-Западный округ', coordinates: [59.75, 30.5], zoom: 9 }, | ||
{ value: 'center', label: 'Центральный округ', coordinates: [54.21, 37.62], zoom: 12 }, | ||
{ value: 'volga', label: 'Приволжский округ', coordinates: [57.5, 51], zoom: 6 }, | ||
{ value: 'ural', label: 'Уральский округ', coordinates: [56.84, 60.57], zoom: 12 }, | ||
{ value: 'by', label: 'Беларусь', coordinates: [53.95, 27.65], zoom: 9 }, | ||
{ value: 'kg', label: 'Кыргызстан', coordinates: [42.90, 74.5], zoom: 10 }, | ||
], | ||
en: [ | ||
{ value: 'by', label: 'Republic of Belarus', coordinates: [53.95, 27.65], zoom: 12 }, | ||
{ value: 'kg', label: 'Republic of Kyrgyzstan', coordinates: [42.90, 74.5], zoom: 10 }, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import type { Locale } from '@intlify/core-base'; | ||
|
||
export interface Category { | ||
name: string; | ||
label: string; | ||
sub_category?: Category[]; | ||
} | ||
|
||
export interface Categories { | ||
[locale: Locale]: Category[]; | ||
} | ||
|
||
export interface Article { | ||
title: string; | ||
cover: string; | ||
url: string; | ||
date: string; | ||
} | ||
|
||
export interface District { | ||
value: string; | ||
label: string; | ||
coordinates: number[]; | ||
zoom: number; | ||
} | ||
|
||
export interface Districts { | ||
[locale: Locale]: District[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import type { ParsedContent } from '@nuxt/content'; | ||
import type { Ref } from 'vue'; | ||
|
||
export const useLocalizedData = async (path: string): Promise<ParsedContent | Ref<ParsedContent>> => { | ||
export const useLocalizedData = async (path: string, _partial = false): Promise<ParsedContent | Ref<ParsedContent>> => { | ||
const { locale } = useI18n(); | ||
return useAsyncData<any>(path, () => queryContent(path).where({ _partial: false, _locale: locale.value }).findOne()).data; | ||
return useAsyncData<any>(path, () => queryContent(path).where({ _partial, _locale: locale.value }).findOne()).data; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
district: [by] | ||
coordinates: [53.946722375392426, 27.61806785065508] | ||
title: LedFarm.by | ||
logo: /img/partners/integrator/ledfarm.webp | ||
logo: /img/integrators/ledfarm.webp | ||
phone: 375259237554 | ||
website: https://ledfarm.by | ||
email: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
district: [kg] | ||
coordinates: [42.82789274724515, 74.60996178787109] | ||
title: TekoPro LLC | ||
logo: /img/partners/integrator/produmano.webp | ||
logo: /img/integrators/produmano.webp | ||
phone: 996550881155 | ||
website: https://produmano.kg | ||
email: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
district: [by] | ||
coordinates: [53.947585900865356, 27.69945695143718] | ||
title: Private company "TKAllianceBel" | ||
logo: /img/partners/integrator/tk_allians.webp | ||
logo: /img/integrators/tk_allians.webp | ||
phone: 375447987353 | ||
website: https://tk-allians.by | ||
email: [email protected] | ||
|
2 changes: 1 addition & 1 deletion
2
content/en/_partners/software/fiord.md → content/en/_partners/fiord.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
title: FIORD | ||
logo: /img/partners/software/fiord.webp | ||
logo: /img/partners/fiord.webp | ||
phone: 78123236212 | ||
website: https://fiord.com/ | ||
email: [email protected] | ||
|
2 changes: 1 addition & 1 deletion
2
content/en/_partners/software/inpro.md → content/en/_partners/inpro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
title: INTERACTIVE SPACES | ||
logo: /img/partners/software/inpro.webp | ||
logo: /img/partners/inpro.webp | ||
phone: 74997556219 | ||
website: https://inpro.su | ||
email : [email protected] | ||
|
2 changes: 1 addition & 1 deletion
2
content/en/_partners/software/iridi.md → content/en/_partners/iridi.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
title: iRidium mobile | ||
logo: /img/partners/software/iridi.webp | ||
logo: /img/partners/iridi.webp | ||
phone: 74993227329 | ||
website: https://iridi.com | ||
email: [email protected] | ||
|
2 changes: 1 addition & 1 deletion
2
content/en/_partners/software/rapid_scada.md → content/en/_partners/rapid_scada.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
title: LLC "Rapid Software" | ||
logo: /img/partners/software/rapid_scada.webp | ||
logo: /img/partners/rapid_scada.webp | ||
phone: 74732303612 | ||
website: https://rapidscada.org | ||
email: [email protected] | ||
|
2 changes: 1 addition & 1 deletion
2
content/en/_partners/software/rightech.md → content/en/_partners/rightech.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
title: Rightech IoT Cloud | ||
logo: /img/partners/software/rightech.webp | ||
logo: /img/partners/rightech.webp | ||
phone: 74994506525 | ||
website: https://rightech.io | ||
email: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.