diff --git a/amplify.yml b/amplify.yml new file mode 100644 index 0000000..242eaa9 --- /dev/null +++ b/amplify.yml @@ -0,0 +1,16 @@ +version: 1 +frontend: + phases: + preBuild: + commands: + - nvm use 18 + - corepack enable + - npx --yes nypm i + build: + commands: + - yarn run build + - aws s3 sync .amplify-hosting/static/_nuxt/ s3://is-smm-beaten-yet-public-data/_nuxt/ + artifacts: + baseDirectory: .amplify-hosting + files: + - '**/*' diff --git a/public/img/mario.png b/assets/img/mario.png similarity index 100% rename from public/img/mario.png rename to assets/img/mario.png diff --git a/constants/levelData.ts b/constants/levelData.ts index 8489bda..882679e 100644 --- a/constants/levelData.ts +++ b/constants/levelData.ts @@ -1,5 +1,4 @@ -export const DATA_ROOT_URL = - 'https://is-smm-beaten-yet-public-data.s3.us-west-2.amazonaws.com/levels'; +export const DATA_ROOT_URL = 'https://static.issmmbeatenyet.com/levels'; export const COUNTRIES = [ { value: 'JP', name: 'Japan' }, diff --git a/nuxt.config.ts b/nuxt.config.ts index a6f6995..e9aa710 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -2,6 +2,9 @@ import colors from 'tailwindcss/colors'; // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ + app: { + cdnURL: 'https://static.issmmbeatenyet.com/', + }, devtools: { enabled: true }, css: [ '~/assets/css/main.scss', diff --git a/pages/index.vue b/pages/index.vue index 6f95ee1..42fc699 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -76,6 +76,7 @@ $size: 30px;