-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: add sitemap, web manifest, and internationalization (i18n) …
…configuration
- Loading branch information
Showing
6 changed files
with
361 additions
and
297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
mr.touno.io | ||
dvgamerr.app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,32 @@ | ||
import { defineConfig } from 'astro/config'; | ||
import robotsTxt from 'astro-robots-txt'; | ||
import sitemap from "@astrojs/sitemap"; | ||
|
||
import webmanifest from "astro-webmanifest"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
site: 'https://mr.touno.io', | ||
integrations: [ robotsTxt() ], | ||
site: 'https://dvgamerr.app', | ||
integrations: [ | ||
robotsTxt(), | ||
sitemap({ | ||
i18n: { | ||
defaultLocale: 'en', | ||
locales: { | ||
en: 'en-US', | ||
th: 'th-TH' | ||
}, | ||
}, | ||
}), | ||
webmanifest({ | ||
name: 'Kananek Thongkam | Full Stack Engineer', | ||
icon: 'public/icon.webp', // source for favicon & icons | ||
short_name: 'dvgamerr', | ||
description: 'Hey there, My name is Kananek T. and I\'m a Full Stack Engineer.', | ||
start_url: '/', | ||
theme_color: '#3068d9', | ||
background_color: '#f8f8f8', | ||
display: 'standalone', | ||
}) | ||
] | ||
}); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.