feat: build Qiyouxue corporate website
parents
Showing
.env.example
0 → 100644
.gitignore
0 → 100644
.gitlab-ci.yml
0 → 100644
CMS_README.md
0 → 100644
README.md
0 → 100644
astro.config.mjs
0 → 100644
deploy/nginx/qiyouxue.conf
0 → 100644
package-lock.json
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
package.json
0 → 100644
| { | ||
| "name": "qiyouxue-official-site", | ||
| "type": "module", | ||
| "version": "1.0.0", | ||
| "private": true, | ||
| "engines": { | ||
| "node": ">=20.20.0 <21" | ||
| }, | ||
| "scripts": { | ||
| "dev": "node --env-file=.env ./node_modules/astro/astro.js dev", | ||
| "build": "node scripts/build-site.mjs", | ||
| "build:inside-lock": "node scripts/build-site.mjs --inside-lock", | ||
| "build:astro": "astro check && astro build", | ||
| "preview": "astro preview", | ||
| "check": "astro check", | ||
| "test": "node --import tsx/esm --test tests/*.test.ts", | ||
| "start": "node --env-file=.env server.mjs", | ||
| "admin": "npm start", | ||
| "serve": "npm run build && npm start" | ||
| }, | ||
| "dependencies": { | ||
| "@astrojs/node": "9.5.5", | ||
| "@astrojs/sitemap": "^3.7.3", | ||
| "astro": "5.18.2", | ||
| "gray-matter": "^4.0.3", | ||
| "mammoth": "^1.12.0", | ||
| "marked": "^14.1.4", | ||
| "turndown": "^7.2.4", | ||
| "turndown-plugin-gfm": "^1.0.2" | ||
| }, | ||
| "devDependencies": { | ||
| "@astrojs/check": "^0.9.6", | ||
| "@types/turndown": "^5.0.6", | ||
| "docx": "^9.7.1", | ||
| "tsx": "^4.23.1", | ||
| "typescript": "^5.9.3" | ||
| } | ||
| } |
pic/主页大图素材-1.png
0 → 100644
1.56 MB
pic/启优学LOGO-白底.jpg
0 → 100644
905 KB
public/admin/app.js
0 → 100644
public/admin/style.css
0 → 100644
public/favicon.png
0 → 100644
166 KB
public/og-cover.svg
0 → 100644
public/robots.txt
0 → 100644
public/site.webmanifest
0 → 100644
scripts/build-site.mjs
0 → 100644
scripts/site-build.d.mts
0 → 100644
scripts/site-build.mjs
0 → 100644
server.mjs
0 → 100644
src/components/CTA.astro
0 → 100644
src/components/Footer.astro
0 → 100644
src/components/Header.astro
0 → 100644
src/content.config.ts
0 → 100644
src/content/categories.json
0 → 100644
src/data/site.ts
0 → 100644
src/layouts/Base.astro
0 → 100644
src/lib/article-store.ts
0 → 100644
src/lib/articles.ts
0 → 100644
src/lib/cms-api.ts
0 → 100644
src/lib/cms-auth.ts
0 → 100644
src/lib/word-import.ts
0 → 100644
src/pages/404.astro
0 → 100644
src/pages/about/index.astro
0 → 100644
src/pages/admin/index.astro
0 → 100644
src/pages/faq/index.astro
0 → 100644
src/pages/index.astro
0 → 100644
src/pages/join/index.astro
0 → 100644
src/pages/llms-full.txt.ts
0 → 100644
src/pages/llms.txt.ts
0 → 100644
src/pages/uploads/[file].ts
0 → 100644
src/styles/global.css
0 → 100644
tests/auth.test.ts
0 → 100644
File added
tests/imports.test.ts
0 → 100644
tsconfig.json
0 → 100644