diff --git a/public/images/about/graph1.png b/public/images/about/graph1.png deleted file mode 100644 index 4d32a12..0000000 Binary files a/public/images/about/graph1.png and /dev/null differ diff --git a/public/images/about/graph1.svg b/public/images/about/graph1.svg new file mode 100644 index 0000000..7283676 --- /dev/null +++ b/public/images/about/graph1.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/about/graph2.png b/public/images/about/graph2.png deleted file mode 100644 index e622788..0000000 Binary files a/public/images/about/graph2.png and /dev/null differ diff --git a/public/images/about/graph2.svg b/public/images/about/graph2.svg new file mode 100644 index 0000000..1760a17 --- /dev/null +++ b/public/images/about/graph2.svg @@ -0,0 +1,191 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/about/graph3.png b/public/images/about/graph3.png deleted file mode 100644 index e81b0f0..0000000 Binary files a/public/images/about/graph3.png and /dev/null differ diff --git a/public/images/about/graph3.svg b/public/images/about/graph3.svg new file mode 100644 index 0000000..d2055d2 --- /dev/null +++ b/public/images/about/graph3.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/faces/1.jpg b/public/images/faces/1.jpg index fc3bfd1..54999c3 100644 Binary files a/public/images/faces/1.jpg and b/public/images/faces/1.jpg differ diff --git a/public/images/faces/1@2x.jpg b/public/images/faces/1@2x.jpg new file mode 100644 index 0000000..e7c6fd9 Binary files /dev/null and b/public/images/faces/1@2x.jpg differ diff --git a/public/images/faces/2.jpg b/public/images/faces/2.jpg index 0bf4189..6ced451 100644 Binary files a/public/images/faces/2.jpg and b/public/images/faces/2.jpg differ diff --git a/public/images/faces/2@2x.jpg b/public/images/faces/2@2x.jpg new file mode 100644 index 0000000..8c0383f Binary files /dev/null and b/public/images/faces/2@2x.jpg differ diff --git a/public/images/faces/3.jpg b/public/images/faces/3.jpg index 6a420b8..9b7f5d3 100644 Binary files a/public/images/faces/3.jpg and b/public/images/faces/3.jpg differ diff --git a/public/images/faces/3@2x.jpg b/public/images/faces/3@2x.jpg new file mode 100644 index 0000000..80e3cdf Binary files /dev/null and b/public/images/faces/3@2x.jpg differ diff --git a/public/images/faces/4.jpg b/public/images/faces/4.jpg index 465bf8c..42842ef 100644 Binary files a/public/images/faces/4.jpg and b/public/images/faces/4.jpg differ diff --git a/public/images/faces/4@2x.jpg b/public/images/faces/4@2x.jpg new file mode 100644 index 0000000..7b9c0a0 Binary files /dev/null and b/public/images/faces/4@2x.jpg differ diff --git a/public/images/faces/5.jpg b/public/images/faces/5.jpg index 7282404..13233fc 100644 Binary files a/public/images/faces/5.jpg and b/public/images/faces/5.jpg differ diff --git a/public/images/faces/5@2x.jpg b/public/images/faces/5@2x.jpg new file mode 100644 index 0000000..fdef368 Binary files /dev/null and b/public/images/faces/5@2x.jpg differ diff --git a/public/images/faces/6.jpg b/public/images/faces/6.jpg index 4e21970..2c2b1e2 100644 Binary files a/public/images/faces/6.jpg and b/public/images/faces/6.jpg differ diff --git a/public/images/faces/6@2x.jpg b/public/images/faces/6@2x.jpg new file mode 100644 index 0000000..8157558 Binary files /dev/null and b/public/images/faces/6@2x.jpg differ diff --git a/public/images/faces/7.jpg b/public/images/faces/7.jpg index ed44e87..98901f5 100644 Binary files a/public/images/faces/7.jpg and b/public/images/faces/7.jpg differ diff --git a/public/images/faces/7@2x.jpg b/public/images/faces/7@2x.jpg new file mode 100644 index 0000000..0d07ed6 Binary files /dev/null and b/public/images/faces/7@2x.jpg differ diff --git a/public/images/faces/8.jpg b/public/images/faces/8.jpg index c1044c6..e0374b1 100644 Binary files a/public/images/faces/8.jpg and b/public/images/faces/8.jpg differ diff --git a/public/images/faces/8@2x.jpg b/public/images/faces/8@2x.jpg new file mode 100644 index 0000000..5193a84 Binary files /dev/null and b/public/images/faces/8@2x.jpg differ diff --git a/public/images/faces/New Folder With Items/1.jpg b/public/images/faces/New Folder With Items/1.jpg deleted file mode 100644 index 7ff9521..0000000 Binary files a/public/images/faces/New Folder With Items/1.jpg and /dev/null differ diff --git a/public/images/faces/New Folder With Items/3.jpg b/public/images/faces/New Folder With Items/3.jpg deleted file mode 100644 index 6a420b8..0000000 Binary files a/public/images/faces/New Folder With Items/3.jpg and /dev/null differ diff --git a/public/images/faces/New Folder With Items/4.jpg b/public/images/faces/New Folder With Items/4.jpg deleted file mode 100644 index 85e023d..0000000 Binary files a/public/images/faces/New Folder With Items/4.jpg and /dev/null differ diff --git a/public/images/faces/New Folder With Items/6.jpg b/public/images/faces/New Folder With Items/6.jpg deleted file mode 100644 index 03301ab..0000000 Binary files a/public/images/faces/New Folder With Items/6.jpg and /dev/null differ diff --git a/public/images/faces/New Folder With Items/8.jpg b/public/images/faces/New Folder With Items/8.jpg deleted file mode 100644 index 106b986..0000000 Binary files a/public/images/faces/New Folder With Items/8.jpg and /dev/null differ diff --git a/public/images/faces/shapes.png b/public/images/faces/shapes.png deleted file mode 100644 index 151cb2e..0000000 Binary files a/public/images/faces/shapes.png and /dev/null differ diff --git a/public/images/faces/shapes.svg b/public/images/faces/shapes.svg new file mode 100644 index 0000000..f5309cc --- /dev/null +++ b/public/images/faces/shapes.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/public/images/servers/defon-social.png b/public/images/servers/defon-social.png new file mode 100644 index 0000000..1ec5ad2 Binary files /dev/null and b/public/images/servers/defon-social.png differ diff --git a/public/images/servers/defon-social@2x.png b/public/images/servers/defon-social@2x.png new file mode 100644 index 0000000..17e6174 Binary files /dev/null and b/public/images/servers/defon-social@2x.png differ diff --git a/public/images/servers/group-income.png b/public/images/servers/group-income.png new file mode 100644 index 0000000..fadc16e Binary files /dev/null and b/public/images/servers/group-income.png differ diff --git a/public/images/servers/group-income@2x.png b/public/images/servers/group-income@2x.png new file mode 100644 index 0000000..70e3532 Binary files /dev/null and b/public/images/servers/group-income@2x.png differ diff --git a/src/_app.ts b/src/_app.ts index 673dafa..6699985 100644 --- a/src/_app.ts +++ b/src/_app.ts @@ -1,14 +1,22 @@ import type { App } from 'vue' -import { resolvePath } from '@/utils/helpers.js' +import { resolvePath, imgPathToSrcSet } from '@/utils/helpers.js' -const updateAttr = (attrName, el, relPath) => { - el.setAttribute(attrName, resolvePath(relPath)) +const setResolvedPathToAttr = (attrName: string, el: HTMLElement, relPath: string) => { + el.setAttribute(attrName, resolvePath(relPath) || '') } export default (app: App) => { // custom-directives - app.directive('src', (el, binding) => updateAttr('src', el, binding.value)) - app.directive('href', (el, binding) => updateAttr('href', el, binding.value)) + app.directive('src', (el, binding) => { + setResolvedPathToAttr('src', el, binding.value) + }) + app.directive('srcset', (el, binding) => { + el.setAttribute( + 'srcset', + imgPathToSrcSet(binding.value, parseInt(binding.arg || '1')) + ) + }) + app.directive('href', (el, binding) => setResolvedPathToAttr('href', el, binding.value)) // global mixins app.mixin({ diff --git a/src/components/HomeAnimation.vue b/src/components/HomeAnimation.vue index 8b96178..3e1da83 100644 --- a/src/components/HomeAnimation.vue +++ b/src/components/HomeAnimation.vue @@ -12,7 +12,7 @@ - + @@ -611,7 +611,7 @@ export default { .c-main-container { text-align: center; // background: url('/images/temp/homepage-panel1.jpg') no-repeat center #fff; - background: url('/images/faces/shapes.png') no-repeat center #fff; + background: url('/images/faces/shapes.svg') no-repeat center #fff; background-size: 100% auto; flex-direction: row; align-items: center; diff --git a/src/components/Servers.vue b/src/components/Servers.vue index 033f167..3df1d4c 100644 --- a/src/components/Servers.vue +++ b/src/components/Servers.vue @@ -3,7 +3,7 @@ - + {{ server.name }} @@ -16,7 +16,7 @@ - + {{ "" }} Edit the this page on Github to add your server here. @@ -28,11 +28,10 @@
Edit the this page on Github to add your server here.