Skip to content

Commit d3ad1f2

Browse files
committed
split the content
1 parent cb5ecc3 commit d3ad1f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+223
-1475
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
cache: "pnpm"
3434
- run: pnpm install
3535
- run: pnpm build
36-
- run: chmod a+x ./sitemap-injector.sh && ./sitemap-injector.sh
3736
- run: echo $DOMAIN_NAME > ./dist/CNAME
3837
- uses: peaceiris/actions-gh-pages@v4
3938
with:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# xenitane.github.io
1+
# www.xenitane.xyz
22

33
> my portfolio website.
44

TODO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
- [ ] article about alpine js
66
- [ ] article about experience/stats of differnt languages for AOC
77
- [ ] add exhibits
8-
- [ ] add reads
8+
- [ ] add reads

astro.config.ts

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,37 @@
1-
/** @type {import("astro").AstroUserConfig} */
2-
1+
import sitemap from "@astrojs/sitemap";
32
import tailwindcss from "@tailwindcss/vite";
3+
import compressor from "astro-compressor";
44
import { defineConfig, envField } from "astro/config";
5-
import { integrations, markdownConfig as markdown } from "./config/astrojs.integrations.mjs";
65

76
// https://astro.build/config
87
export default defineConfig({
9-
integrations,
10-
markdown,
11-
site: "https://xenitane.xyz",
12-
trailingSlash: "never",
138
build: { assets: "assets", format: "file" },
149
devToolbar: { enabled: false },
15-
output: "static",
16-
server: function ({ command }) {
17-
return {
18-
host: "0.0.0.0",
19-
port: 4173 + ("dev" === command ? 1000 : 0),
20-
};
21-
},
2210
env: {
2311
schema: {
2412
SITE_URL: envField.string({ context: "client", access: "public", optional: false, url: true }),
2513
CDN_URL: envField.string({ context: "client", access: "public", optional: false, url: true }),
2614
DOMAIN_NAME: envField.string({ context: "client", access: "public", optional: false }),
27-
RESOURCE_URL: envField.string({ context: "client", access: "public", optional: false }),
2815
},
2916
},
30-
vite: {
31-
plugins: [tailwindcss()],
17+
integrations: [
18+
sitemap({
19+
customSitemaps: [
20+
"https://pub.xenitane.xyz/sitemap-index.xml",
21+
"https://project.xenitane.xyz/sitemap-index.xml",
22+
"https://exhibit.xenitane.xyz/sitemap-index.xml",
23+
],
24+
}),
25+
compressor(),
26+
],
27+
output: "static",
28+
server({ command }) {
29+
return {
30+
host: "0.0.0.0",
31+
port: 4173 + ("dev" === command ? 1000 : 0),
32+
};
3233
},
34+
site: "https://www.xenitane.xyz",
35+
trailingSlash: "never",
36+
vite: { plugins: [tailwindcss()] },
3337
});

config/astrojs.integrations.mjs

Lines changed: 0 additions & 77 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "xenitane-xyz",
2+
"name": "www-xenitane-xyz",
33
"type": "module",
44
"version": "0.2.0",
55
"private": true,
@@ -46,6 +46,7 @@
4646
"@fontsource/geist-mono": "^5.2.6",
4747
"@fontsource/geist-sans": "^5.2.5",
4848
"alpinejs": "^3.14.9",
49+
"astro-compressor": "^1.1.2",
4950
"tailwindcss": "^4.1.12"
5051
},
5152
"devDependencies": {

pnpm-lock.yaml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sitemap-injector.sh

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/components/Project.astro

Lines changed: 0 additions & 66 deletions
This file was deleted.

src/components/Publication.astro

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)