diff --git a/src/assets/images/home/design-bg.jpg b/src/assets/images/home/aida-bg.jpg similarity index 100% rename from src/assets/images/home/design-bg.jpg rename to src/assets/images/home/aida-bg.jpg diff --git a/src/utils/tools.ts b/src/utils/tools.ts index dab25f2..2ddd80c 100644 --- a/src/utils/tools.ts +++ b/src/utils/tools.ts @@ -210,4 +210,8 @@ export function FormatBytes(bytes, options: { decimals?: number, unitBig?: boole const i = Math.floor(Math.log(bytes) / Math.log(k)); const value = bytes / Math.pow(k, i); return `${Number(value.toFixed(decimals))} ${sizes[i]}`; +} + +export const openAida = () => { + window.open('https://www.aida.com.hk/', '_blank') } \ No newline at end of file diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 20241e1..ad62926 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -2,7 +2,7 @@
- + @@ -13,7 +13,7 @@ import { computed } from 'vue' import SectionIndex from './section-index.vue' import SectionDesigner from './section-designer.vue' - import SectionDesign from './section-design.vue' + import SectionAida from './section-aida.vue' import SectionDigitalItems1 from './section-digital-items1.vue' import SectionDigitalItems2 from './section-digital-items2.vue' import SectionFooter from './section-footer.vue' diff --git a/src/views/home/section-design.vue b/src/views/home/section-aida.vue similarity index 73% rename from src/views/home/section-design.vue rename to src/views/home/section-aida.vue index 833f868..ade0002 100644 --- a/src/views/home/section-design.vue +++ b/src/views/home/section-aida.vue @@ -1,24 +1,25 @@