Skip to content

Commit 617bb1d

Browse files
committed
refactor: update site branding and content for HyperZoneLogin migration
1 parent 3a610e5 commit 617bb1d

63 files changed

Lines changed: 126531 additions & 4199 deletions

Some content is hidden

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# build output
22
dist/
3+
ref/
34

45
# generated types
56
.astro/

README.md

Lines changed: 33 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,119 +1,64 @@
1-
# papermc.io [![Discord](https://img.shields.io/discord/289587909051416579.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/papermc) ![License](https://img.shields.io/github/license/PaperMC/website)
1+
# HyperZoneLogin Website
22

3-
The official [PaperMC](https://papermc.io) website — built with **Astro 6**, powered by **Bun**, and styled using **Tailwind CSS v4**. Content in this repository is published to [papermc.io](https://papermc.io) for viewing.
3+
The official website source for the HyperZoneLogin project.
44

5-
---
5+
This site is built with **Astro 6**, uses **Svelte** for interactive widgets, and is styled with **Tailwind CSS v4**.
66

7-
## 🚀 Getting Started
8-
9-
How to get the project running on your local machine for development.
7+
## Getting Started
108

119
### Prerequisites
1210

13-
- [Node 24](https://nodejs.org)
14-
- [Bun](https://bun.com/)
11+
- [Node.js](https://nodejs.org/)
12+
- [Bun](https://bun.sh/)
1513

1614
### Local Development
1715

18-
1. Clone the repository. If you plan to make changes, create a fork first!
19-
20-
```bash
21-
git clone --branch feat/astro https://github.com/PaperMC/website.git
22-
cd website
23-
```
24-
25-
2. Install all required dependencies.
26-
27-
```bash
28-
bun install
29-
```
30-
31-
3. Start the development server.
32-
33-
```bash
34-
bun run dev
35-
```
36-
37-
The site will be available at:
38-
👉 http://localhost:4321
39-
40-
### Building
41-
4216
```bash
43-
bun run build
17+
bun install
18+
bun run dev
4419
```
4520

46-
This command builds a production-ready deployment into the `dist` directory. These files are ready to be deployed on Cloudflare Pages.
21+
By default, Astro serves the site on `http://localhost:4321`.
4722

48-
### Preview the production build
23+
### Production Build
4924

5025
```bash
26+
bun run build
5127
bun run preview
5228
```
5329

54-
## 🧱 Project Structure
55-
56-
```
57-
website/
58-
├─ src/
59-
│ ├─ pages/ # Astro route files
60-
│ ├─ components/ # Astro & Svelte components (islands)
61-
│ ├─ layouts/ # Shared layout templates
62-
│ ├─ styles/ # Tailwind v4 theme tokens
63-
│ └─ content/ # Markdown or MDX content
64-
├─ public/ # Static assets (favicon, icons, etc.)
65-
├─ astro.config.mjs # Astro configuration
66-
├─ tailwind.config.ts
67-
├─ bun.lock
68-
└─ package.json
69-
```
70-
71-
## 💡 Development Notes
30+
## Project Focus
7231

73-
This project uses Astro 6, which introduces faster rebuilds, partial hydration improvements, and first-class hybrid rendering.
32+
This website introduces HyperZoneLogin and its module ecosystem:
7433

75-
Svelte is used for dynamic islands and component interactivity.
34+
- proxy-layer login orchestration for Velocity
35+
- official + third-party Yggdrasil authentication
36+
- offline account support
37+
- profile and skin handling
38+
- migration tooling for legacy login plugins
7639

77-
Tailwind v4 leverages the new @theme token system for consistent color and typography design.
40+
## Main Directories
7841

79-
Bun handles dependency management and script execution, replacing Node for faster dev cycles.
80-
81-
Pages are statically generated by default, with selective SSR where necessary.
82-
83-
## 📚 Learn More
84-
85-
🌌 [Astro 6 Documentation](https://docs.astro.build)
86-
87-
🎨 [Tailwind CSS v4 Docs](https://tailwindcss.com/docs)
88-
89-
[Bun Docs](https://bun.sh/docs)
90-
91-
## 🛠️ Contributing
92-
93-
Fork the repository and create a new branch:
94-
95-
```bash
96-
git checkout -b feat/my-change
42+
```text
43+
src/pages/ Route pages
44+
src/components/ Reusable UI and interactive islands
45+
src/content/ News/updates content (MDX)
46+
src/layouts/ Shared page layout
47+
public/ Static assets
48+
ref/HyperzoneLogin/ Reference project source and docs
9749
```
9850

99-
Make your edits and run locally:
51+
## Content and Language
10052

101-
```bash
102-
bun run dev
103-
```
53+
- Public-facing website content is written in English.
54+
- Route compatibility pages are kept for older links.
10455

105-
Ensure the build passes:
56+
## Contributing
10657

107-
```bash
108-
bun run build
109-
```
58+
Open issues or pull requests on the project repositories:
11059

111-
Submit a pull request targeting the main branch.
60+
- https://github.com/HyperZoneLogin/HyperzoneLogin
11261

11362
## License
11463

115-
The supporting code is
116-
[MIT](https://github.com/PaperMC/website/blob/main/LICENSE) licensed.
117-
118-
The PaperMC logomark is subject to its [own terms](https://docs.papermc.io/misc/assets) and does not
119-
inherit a license from any of the projects it represents.
64+
Website code is provided under the repository license in `LICENSE`.

astro.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ import cloudflare from "@astrojs/cloudflare";
88
import mdx from "@astrojs/mdx";
99

1010
const GIT_COMMIT_HASH = (process.env.GITHUB_SHA || "").trim().slice(0, 7) || execSync("git rev-parse --short HEAD").toString().trim();
11+
const SITE_URL = process.env.SITE_URL || "https://hyperzonelogin.pages.dev";
1112

1213
export default defineConfig({
13-
site: "https://papermc.io",
14+
site: SITE_URL,
1415

1516
vite: {
1617
plugins: [tailwindcss()],

bun.lock

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

public/assets/logo/256x.png

1.07 MB
Loading

public/favicon.ico

0 Bytes
Binary file not shown.

public/robots.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ Disallow: /repository/
55
Disallow: /repo/
66
Disallow: /api/
77

8-
Sitemap: https://papermc.io/sitemap-index.xml
8+
Sitemap: https://hyperzonelogin.pages.dev/sitemap-index.xml

0 commit comments

Comments
 (0)