Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
3172a3b
[Impl] Complete 1:1 home page.
coredex-source Nov 2, 2025
7f0731a
Update README.md
coredex-source Nov 2, 2025
53130ac
[Patch] Optimizations
coredex-source Nov 2, 2025
4cbe82c
[Fix] Minor warning patch.
coredex-source Nov 2, 2025
8f0b01e
[Impl] Reimplement downloads page and caching.
coredex-source Nov 2, 2025
1c7b75e
[Enhancement Patch] GASP impl for downloads.
coredex-source Nov 2, 2025
3f99f0c
[Enhancement patch] API and build loading.
coredex-source Nov 2, 2025
9a6342b
[Fix] Astro config
coredex-source Nov 2, 2025
30e7718
[Patch] Sync and fix animations.
coredex-source Nov 2, 2025
93bbe84
[Enhancement] More Animations
coredex-source Nov 2, 2025
6841411
[Enhancement] 302 /downloads/latest
coredex-source Nov 3, 2025
4d82164
[Enhancement + Patch]
coredex-source Nov 3, 2025
2e4b9ab
[Add] Disclaimer to footer.
coredex-source Nov 3, 2025
909774b
[Patch] Fixed javadocs redirect.
coredex-source Nov 3, 2025
379a413
[Enhancement] Theme toggle switch.
coredex-source Nov 3, 2025
5088b55
[Fix] CSS
coredex-source Nov 3, 2025
3930127
[Fix] Theme stuff in CSS
coredex-source Nov 3, 2025
d495999
[Enhancement] Themes!
coredex-source Nov 3, 2025
b9fa3fc
[Patch] Added commit authors.
coredex-source Nov 4, 2025
7ffe4d7
[Enhancement] Localization - commit.1
coredex-source Nov 4, 2025
2cd8b22
[Enhancement] Localization - commit.2
coredex-source Nov 4, 2025
49079a1
[Enhancement] Localization
coredex-source Nov 4, 2025
0e65387
chore: improve polish translations
Toffikk Nov 4, 2025
6cc2f67
chore: improve polish translations v2
Toffikk Nov 4, 2025
c8d79d4
[Patch] Translations.
coredex-source Nov 5, 2025
70e1524
Merge branch 'main' into dev/astro-rewrite
Dueris Nov 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .github/renovate.json

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches:
- "dev/**"
pull_request:
branches:
- "dev/**"

jobs:
build:
name: Build & Test
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install dependencies
run: bun install --frozen-lockfile

- name: Check TypeScript
run: bun astro check

- name: Build project
run: bun run build
env:
NODE_ENV: production
32 changes: 0 additions & 32 deletions .github/workflows/typecheck.yml

This file was deleted.

59 changes: 12 additions & 47 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,55 +1,20 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# build output
/dist
# generated types
.astro/

# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions
node_modules/

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
pnpm-debug.log*

# env files (can opt-in for committing if needed)
.env*

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# cache
/.cache/
# Misc
.DS_Store
/Old

# cursor
.cursor
.cursorrules
/.idea/.gitignore
/.idea/discord.xml
/.idea/GitLink.xml
/.idea/modules.xml
/.idea/vcs.xml
/.idea/Website.iml
/.idea/
#cache
/.cache
56 changes: 56 additions & 0 deletions .gitignore.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem
/Old

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# env files (can opt-in for committing if needed)
.env*

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# cache
/.cache/

# cursor
.cursor
.cursorrules
/.idea/.gitignore
/.idea/discord.xml
/.idea/GitLink.xml
/.idea/modules.xml
/.idea/vcs.xml
/.idea/Website.iml
/.idea/
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"recommendations": ["biomejs.biome", "bradlc.vscode-tailwindcss"]
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
11 changes: 11 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
7 changes: 0 additions & 7 deletions .vscode/settings.json

This file was deleted.

13 changes: 13 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Run Dev Server",
"type": "shell",
"command": "bun run dev",
"isBackground": true,
"problemMatcher": [],
"group": "build"
}
]
}
29 changes: 12 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,26 @@ The official website for CanvasMC, built with modern web technologies.

## Tech Stack

- [Next.js 15](https://nextjs.org/)
- [Next-Plausible](https://next-plausible.vercel.app/)
- [Tailwind CSS v4](https://tailwindcss.com/)
- [Radix UI Primitives](https://www.radix-ui.com/primitives)
- [Lucide Icons](https://lucide.dev/)
- [Zod](https://zod.dev/)
- **Framework**: [Astro](https://astro.build)
- **UI**: [Svelte](https://svelte.dev)
- **CSS**: [Tailwind CSS](https://tailwindcss.com)
- **Animation**: [GSAP](https://gsap.com)
- **Runtime**: [Bun](https://bun.sh)
- **Icons**: [Lucide Icons](https://lucide.dev/)
- **Validation**: [Zod](https://zod.dev/)

## Available Scripts

```sh
> bun run dev
> bun run build
> bun run start
> bun run lint
> bun run lint:fix
> bun run format
> bun run format:fix
> bun run check
> bun run check:fix
> bun run typecheck
> bun install # Install dependencies
> bun run dev # Start dev server at localhost:4321
> bun run build # Build production site to ./dist/
> bun run start # Preview production build locally
```

## Contributors

![Contributors](https://contrib.rocks/image?repo=CraftCanvasMC/Website)
![Contributors](https://contrib.rocks/image?repo=CraftCanvasMC/Website&anon=0&max=100)

## License

Expand Down
18 changes: 18 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { defineConfig } from "astro/config";
import svelte from "@astrojs/svelte";
import tailwindcss from "@tailwindcss/vite";
import node from "@astrojs/node";

export default defineConfig({
output: "server",
adapter: node({
mode: "standalone",
}),
integrations: [svelte()],
vite: {
plugins: [tailwindcss()],
css: {
transformer: "postcss",
},
},
});
Loading