diff --git a/default.conf b/default.conf index cd655c6..68a3605 100644 --- a/default.conf +++ b/default.conf @@ -6,10 +6,29 @@ server { root /usr/share/nginx/html; index index.html; + charset utf-8; + location / { + add_header Content-Type "application/html"; try_files $uri $uri/ /index.html; } + location ~* \.(css|js|svg|png|bmp|jpeg|jpg|ico)$ { + expires 30d; + add_header Cache-Control "public, max-age=2592000"; + add_header X-Content-Type-Options "nosniff"; + } + + location = /sitemap.xml { + add_header Content-Type "application/xml"; + try_files $uri /index.html; + } + + location = /robots.txt { + add_header Content-Type "text/plain"; + try_files $uri /index.html; + } + error_page 404 /index.html; location = /40x.html { diff --git a/site/index.html b/site/index.html index b81825a..c7ce196 100644 --- a/site/index.html +++ b/site/index.html @@ -2,6 +2,17 @@ + + + + + + + + - + - + + + + + diff --git a/site/src/assets/__MACOSX/._github-mark b/site/public/assets/__MACOSX/._github-mark similarity index 100% rename from site/src/assets/__MACOSX/._github-mark rename to site/public/assets/__MACOSX/._github-mark diff --git a/site/src/assets/__MACOSX/github-mark/._github-mark-white.png b/site/public/assets/__MACOSX/github-mark/._github-mark-white.png similarity index 100% rename from site/src/assets/__MACOSX/github-mark/._github-mark-white.png rename to site/public/assets/__MACOSX/github-mark/._github-mark-white.png diff --git a/site/src/assets/__MACOSX/github-mark/._github-mark-white.svg b/site/public/assets/__MACOSX/github-mark/._github-mark-white.svg similarity index 100% rename from site/src/assets/__MACOSX/github-mark/._github-mark-white.svg rename to site/public/assets/__MACOSX/github-mark/._github-mark-white.svg diff --git a/site/src/assets/__MACOSX/github-mark/._github-mark.png b/site/public/assets/__MACOSX/github-mark/._github-mark.png similarity index 100% rename from site/src/assets/__MACOSX/github-mark/._github-mark.png rename to site/public/assets/__MACOSX/github-mark/._github-mark.png diff --git a/site/src/assets/__MACOSX/github-mark/._github-mark.svg b/site/public/assets/__MACOSX/github-mark/._github-mark.svg similarity index 100% rename from site/src/assets/__MACOSX/github-mark/._github-mark.svg rename to site/public/assets/__MACOSX/github-mark/._github-mark.svg diff --git a/site/src/assets/favicons/android-chrome-192x192.png b/site/public/assets/favicons/android-chrome-192x192.png similarity index 100% rename from site/src/assets/favicons/android-chrome-192x192.png rename to site/public/assets/favicons/android-chrome-192x192.png diff --git a/site/src/assets/favicons/android-chrome-512x512.png b/site/public/assets/favicons/android-chrome-512x512.png similarity index 100% rename from site/src/assets/favicons/android-chrome-512x512.png rename to site/public/assets/favicons/android-chrome-512x512.png diff --git a/site/src/assets/favicons/apple-touch-icon.png b/site/public/assets/favicons/apple-touch-icon.png similarity index 100% rename from site/src/assets/favicons/apple-touch-icon.png rename to site/public/assets/favicons/apple-touch-icon.png diff --git a/site/src/assets/favicons/browserconfig.xml b/site/public/assets/favicons/browserconfig.xml similarity index 70% rename from site/src/assets/favicons/browserconfig.xml rename to site/public/assets/favicons/browserconfig.xml index f381ea3..a4b7a06 100644 --- a/site/src/assets/favicons/browserconfig.xml +++ b/site/public/assets/favicons/browserconfig.xml @@ -2,7 +2,7 @@ - + #da532c diff --git a/site/src/assets/favicons/favicon-16x16.png b/site/public/assets/favicons/favicon-16x16.png similarity index 100% rename from site/src/assets/favicons/favicon-16x16.png rename to site/public/assets/favicons/favicon-16x16.png diff --git a/site/src/assets/favicons/favicon-32x32.png b/site/public/assets/favicons/favicon-32x32.png similarity index 100% rename from site/src/assets/favicons/favicon-32x32.png rename to site/public/assets/favicons/favicon-32x32.png diff --git a/site/src/assets/favicons/favicon.ico b/site/public/assets/favicons/favicon.ico similarity index 100% rename from site/src/assets/favicons/favicon.ico rename to site/public/assets/favicons/favicon.ico diff --git a/site/src/assets/favicons/mstile-150x150.png b/site/public/assets/favicons/mstile-150x150.png similarity index 100% rename from site/src/assets/favicons/mstile-150x150.png rename to site/public/assets/favicons/mstile-150x150.png diff --git a/site/src/assets/favicons/safari-pinned-tab.svg b/site/public/assets/favicons/safari-pinned-tab.svg similarity index 100% rename from site/src/assets/favicons/safari-pinned-tab.svg rename to site/public/assets/favicons/safari-pinned-tab.svg diff --git a/site/src/assets/favicons/site.webmanifest b/site/public/assets/favicons/site.webmanifest similarity index 70% rename from site/src/assets/favicons/site.webmanifest rename to site/public/assets/favicons/site.webmanifest index c9644e2..64bcf9a 100644 --- a/site/src/assets/favicons/site.webmanifest +++ b/site/public/assets/favicons/site.webmanifest @@ -3,12 +3,12 @@ "short_name": "", "icons": [ { - "src": "/src/assets/favicons/android-chrome-192x192.png", + "src": "/assets/favicons/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, { - "src": "/src/assets/favicons/android-chrome-512x512.png", + "src": "/assets/favicons/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" } diff --git a/site/src/assets/github-mark/github-mark-white.png b/site/public/assets/github-mark/github-mark-white.png similarity index 100% rename from site/src/assets/github-mark/github-mark-white.png rename to site/public/assets/github-mark/github-mark-white.png diff --git a/site/src/assets/github-mark/github-mark-white.svg b/site/public/assets/github-mark/github-mark-white.svg similarity index 100% rename from site/src/assets/github-mark/github-mark-white.svg rename to site/public/assets/github-mark/github-mark-white.svg diff --git a/site/src/assets/github-mark/github-mark.png b/site/public/assets/github-mark/github-mark.png similarity index 100% rename from site/src/assets/github-mark/github-mark.png rename to site/public/assets/github-mark/github-mark.png diff --git a/site/src/assets/github-mark/github-mark.svg b/site/public/assets/github-mark/github-mark.svg similarity index 100% rename from site/src/assets/github-mark/github-mark.svg rename to site/public/assets/github-mark/github-mark.svg diff --git a/site/src/assets/npm-logo-red.svg b/site/public/assets/npm-logo-red.svg similarity index 100% rename from site/src/assets/npm-logo-red.svg rename to site/public/assets/npm-logo-red.svg diff --git a/site/src/assets/react.svg b/site/public/assets/react.svg similarity index 100% rename from site/src/assets/react.svg rename to site/public/assets/react.svg diff --git a/site/src/assets/wavelet.png b/site/public/assets/wavelet.png similarity index 100% rename from site/src/assets/wavelet.png rename to site/public/assets/wavelet.png diff --git a/site/src/components/About.tsx b/site/src/components/About.tsx index 7ea4d97..7f61f68 100644 --- a/site/src/components/About.tsx +++ b/site/src/components/About.tsx @@ -23,7 +23,7 @@ function About() {

- +
- +
- +
- +
- +
- +
- +
- +