From f5620a6b451a2ae2f54be6087ff854ab91540f67 Mon Sep 17 00:00:00 2001 From: shillerben Date: Tue, 12 Sep 2023 23:41:10 -0500 Subject: [PATCH] Use cdn for images --- app.config.ts | 3 +++ nuxt.config.ts | 4 ++++ pages/Projects.vue | 10 +++++++++- pages/index.vue | 23 +++++++++++++++++------ public/portrait.png | Bin 0 -> 676731 bytes 5 files changed, 33 insertions(+), 7 deletions(-) create mode 100644 app.config.ts create mode 100644 public/portrait.png diff --git a/app.config.ts b/app.config.ts new file mode 100644 index 0000000..f3ae5ff --- /dev/null +++ b/app.config.ts @@ -0,0 +1,3 @@ +export default defineAppConfig({ + cdnURL: "https://d3iqwa7wbnqnz1.cloudfront.net", +}) diff --git a/nuxt.config.ts b/nuxt.config.ts index 83e8496..d487a9c 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -5,3 +5,7 @@ export default defineNuxtConfig({ '@nuxtjs/tailwindcss' ] }) + + // app: { + // cdnURL: "https://d3iqwa7wbnqnz1.cloudfront.net" + // }, \ No newline at end of file diff --git a/pages/Projects.vue b/pages/Projects.vue index cf6e5d3..ed77404 100644 --- a/pages/Projects.vue +++ b/pages/Projects.vue @@ -10,8 +10,16 @@ and on my GitHub.

+ - diff --git a/pages/index.vue b/pages/index.vue index 71c1ebd..a742705 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,20 +1,30 @@ -