diff --git a/src/components/demo.vue b/src/components/demo.vue index 9c7cd73..856ee72 100644 --- a/src/components/demo.vue +++ b/src/components/demo.vue @@ -12,13 +12,14 @@ nextcloudClass: [], jellyfinClass: [], backbuttonClass: [], + subdomainClass: [], isDemonstrationEnded: false, }), methods: { demonstration() { const upClass = ['w-20', 'p-4', 'opacity-100', 'animate-upApp', 'rounded-xl'] const downClass = ['opacity-0', 'w-0', 'p-0'] - const openClass = ['w-full', 'h-full', 'p-20', 'rounded-t-none', 'bg-gradient-to-r', 'from-violet-100', 'to-indigo-100'] + const openClass = ['w-full', 'h-full', 'p-20', 'rounded-b-xl', 'bg-gradient-to-r', 'from-violet-100', 'to-indigo-100'] const closeClass = ['w-20', 'p-4', 'opacity-100', 'animate-upApp', 'rounded-xl', 'm-2'] function delay(time) { @@ -48,6 +49,8 @@ if (i == 5) this.nextcloudClass.push('animate-openApp') if (i == 6) this.nextcloudClass = openClass if (i == 6) this.subDomain = 'nextcloud.' + if (i == 6) this.subdomainClass = [''] + if (i == 6) this.subdomainClass = ['animate-click'] //close if (i == 7) this.terminalContent = '' if (i == 9) this.backbuttonClass = ['animate-click'] @@ -71,6 +74,8 @@ if (i == 16) this.nextcloudClass = downClass if (i == 17) this.jellyfinClass = openClass if (i == 17) this.subDomain = 'jellyfin.' + if (i == 6) this.subdomainClass = [''] + if (i == 6) this.subdomainClass = ['animate-click'] //close if (i == 20) this.backbuttonClass = ['animate-click'] if (i == 21) this.jellyfinClass = this.nextcloudClass = closeClass @@ -115,31 +120,40 @@
+
{{ terminalContent }}