github.com/AOSC-Dev/website-2023
Find a file
2025-10-10 18:07:55 -07:00
.github/workflows chore: remove test related code in deploy.yaml 2025-09-09 15:12:11 +08:00
.vscode feat: 删除 textValue 用法替换为t() 2025-09-30 14:51:29 +08:00
app fix(router): scroll to top on regular navigations 2025-08-20 21:16:23 +08:00
assets fix: text align left for markdown content 2025-10-02 20:44:23 +08:00
components feat: add ero page 2025-10-10 18:07:55 -07:00
composables feat: add ero page 2025-10-10 18:07:55 -07:00
content fix(news/2025-10-04): 修正网站重构公告新闻类别 2025-10-05 10:55:37 +08:00
deploy feat: better docker test environment 2025-10-10 18:07:55 -07:00
developUtils fix: 修复 e2c0e504edfb795a8a09ab19b07e3a40d387bbad 带来的链接问题 2025-09-30 14:51:29 +08:00
i18n feat: add ero page 2025-10-10 18:07:55 -07:00
layouts feat: add ero page 2025-10-10 18:07:55 -07:00
middleware fix: errors and warnings reported by eslint 2025-07-25 21:31:51 +08:00
pages feat: better docker test environment 2025-10-10 18:07:55 -07:00
plugins fix: remove v-pangu directive and add spaceWord utility for better performance 2025-07-25 21:31:51 +08:00
public chore: update jumbotron images 2025-10-02 22:12:56 +08:00
server test 2024-10-11 19:16:15 +08:00
stores feat: implement anchor scrolling and highlighting for async components 2025-08-20 16:52:25 +08:00
utils fix(utils/animation.ts): 将板块高亮动画提速至 500ms 2025-10-03 23:40:51 +08:00
.dockerignore feat: better docker test environment 2025-10-10 18:07:55 -07:00
.gitignore test 2024-10-11 19:16:15 +08:00
.prettierignore fix: 修复路由 /aosc-os/relnote/asahi 英文下的界面 2025-07-28 16:11:44 +08:00
.prettierrc chore: modify the behavior of the formatting program and rerun it npx prettier --write 2025-07-25 21:31:51 +08:00
app.vue feat: add ero page 2025-10-10 18:07:55 -07:00
compose.yml feat: add Docker files for offline testing 2025-10-10 18:07:55 -07:00
content.config.ts chore: i18n 的 code 和 content 的 code 交互方式修改,方便后续使用 2025-09-04 11:29:54 +08:00
Dockerfile feat: better docker test environment 2025-10-10 18:07:55 -07:00
error.vue feat: add ero page 2025-10-10 18:07:55 -07:00
eslint.config.mjs chore: run eslint --fix 2025-07-25 21:31:51 +08:00
nuxt.config.ts feat: better docker test environment 2025-10-10 18:07:55 -07:00
package-lock.json chore: add iconify-json packages to dev deps 2025-10-02 23:10:05 +08:00
package.json chore: add iconify-json packages to dev deps 2025-10-02 23:10:05 +08:00
README.md feat: update README files for Docker related changes 2025-10-10 18:07:55 -07:00
README.zh-cn.md feat: update README files for Docker related changes 2025-10-10 18:07:55 -07:00
tsconfig.json test 2024-10-11 19:16:15 +08:00

AOSC Portal

简体中文自述文件 >>

The Portal website for AOSC since 2024, built using Nuxt.

At a glance

The main design goal for this new website is to maximise information density on a single screen space, utilising both multi-column and conventional navigation systems. It also seeks to depart from a conventional "FOSS community" aesthetic by emphasizing vivid and product-oriented presentation for prospective and current users.

In terms of visual styling, this website intentionally seeks to re-create a 2000s Web 1.0 aesthetic (whilst adopting modern technological frameworks and layout optimisations). Inspiration for the site layout comes from Microsoft's Windows home page from 2001 - 2004:

This website is not yet optimised for mobile, legacy (Afterglow-targeted), and functionally-limited browsers. We are currently evaluating plans to implement a purpose-specific site to help with these scenarios.

Deployment and testing

This website is deployed to our Web server using a GitHub workflow. The paste backend is deployed to paste.aosc.io using paste-server-rs.

To test the website locally, you would need a Node.js + NPM toolchain. To install Node.js + NPM on AOSC OS:

oma install nodejs

Install dependencies:

npm install

Then, build and preview the website locally:

npm run generate
npm run preview

If you need to test the paste page, please set PASTE_API=http://localhost:2334 in your environmental variables or the .env file. For the deployment of paste-server-rs, please refer to website-utils.

If you need to test nginx related configuration or test the complete preview in an independent environment, please use:

docker compose up --build

Submitting news

All news articles are written in Markdown and stored in /content/{language}/news, with extra assets (images, etc.) stored in /public/.... All assets should be referenced from the site (/..., not https://...).

News articles should contain a header:

---
categories:
  - journals
title: "安记冰室・九月上"
date: 2024-09-19T23:00:00+08:00
important: false
home: true
---
  • categories (enum):
    • advisories: User advisories (usually AOSC OS-related).
    • news: Community news about events, sponsorships, etc.
    • journals: Community journals (entitled Coffee Break).
    • minutes: Contributor meeting records.
  • title (string): News title.
  • date (string): Publication date to be presented as-is.
  • important (boolean): Highlight as important.
  • home (boolean): Whether to list in the news highlight section at the Portal home.

Localising news articles

To localize a news article, just add a file with the same name to the corresponding language folder such as /content/zh-cn/, i.e.:

/content/zh-cn/news/2024-09-18-aosc-os-relnote.md