commit 1550ac158100eeab3765bdaf1e0dced4e8e81105 parent e4b5b9c088f31c5730a9495d6f2f7f956f29111d Author: Damian Myrda <damian@prime8.dev> Date: Sat, 31 Jan 2026 18:44:46 -0600 refactor: move website contents to project root Diffstat:
77 files changed, 28 insertions(+), 48 deletions(-)
diff --git a/website/.gitignore b/.gitignore diff --git a/website/.prettierignore b/.prettierignore diff --git a/website/.prettierrc b/.prettierrc diff --git a/website/Dockerfile b/Dockerfile diff --git a/README.md b/README.md @@ -1,20 +1,36 @@ -# prime8dev +# web -Personal website at [prime8.dev](https://prime8.dev). +Astro web application for [prime8.dev](https://prime8.dev). -## Structure +## Stack -- [web](web/) - Astro web application +- **Astro** - Static site generator with SSR +- **TypeScript** - Type-safe code +- **Bun** - Package manager and runtime +- **Docker** - Containerization -## Deployment +## Development -The `cloud_config.yml` provides cloud-init configuration for provisioning a new server with: +Install dependencies: -- SSH hardening -- Fail2ban -- UFW firewall -- Dokploy installation +```sh +bun install +``` -## License +Run development server: -[AGPL-3.0](LICENSE) +```sh +bun run dev +``` + +Build for production: + +```sh +bun run build +``` + +Build the Docker image: + +```sh +docker build -t prime8dev . +``` diff --git a/website/astro.config.mjs b/astro.config.mjs diff --git a/website/bun.lock b/bun.lock diff --git a/website/env.example b/env.example diff --git a/website/eslint.config.js b/eslint.config.js diff --git a/website/package.json b/package.json diff --git a/website/public/amplifier/logo.svg b/public/amplifier/logo.svg diff --git a/website/public/favicon.png b/public/favicon.png Binary files differ. diff --git a/website/public/mandolin/company.jpeg b/public/mandolin/company.jpeg Binary files differ. diff --git a/website/public/mandolin/company_silly.jpeg b/public/mandolin/company_silly.jpeg Binary files differ. diff --git a/website/public/mandolin/employee_polaroids.jpeg b/public/mandolin/employee_polaroids.jpeg Binary files differ. diff --git a/website/public/mandolin/logo.svg b/public/mandolin/logo.svg diff --git a/website/public/mandolin/moment_polaroids.jpeg b/public/mandolin/moment_polaroids.jpeg Binary files differ. diff --git a/website/public/me.jpg b/public/me.jpg Binary files differ. diff --git a/website/public/robots.txt b/public/robots.txt diff --git a/website/public/site.webmanifest b/public/site.webmanifest diff --git a/website/src/blogs/building-my-portfolio.md b/src/blogs/building-my-portfolio.md diff --git a/website/src/blogs/index.ts b/src/blogs/index.ts diff --git a/website/src/config/about.ts b/src/config/about.ts diff --git a/website/src/config/contact.ts b/src/config/contact.ts diff --git a/website/src/config/experience.ts b/src/config/experience.ts diff --git a/website/src/config/index.ts b/src/config/index.ts diff --git a/website/src/config/projects.ts b/src/config/projects.ts diff --git a/website/src/config/tabs.ts b/src/config/tabs.ts diff --git a/website/src/constants/calendar.ts b/src/constants/calendar.ts diff --git a/website/src/constants/env.ts b/src/constants/env.ts diff --git a/website/src/constants/external/wakatime.ts b/src/constants/external/wakatime.ts diff --git a/website/src/constants/ui/boot.ts b/src/constants/ui/boot.ts diff --git a/website/src/constants/ui/scroll.ts b/src/constants/ui/scroll.ts diff --git a/website/src/constants/ui/tags.ts b/src/constants/ui/tags.ts diff --git a/website/src/constants/website.ts b/src/constants/website.ts diff --git a/website/src/external/git.ts b/src/external/git.ts diff --git a/website/src/external/wakatime.ts b/src/external/wakatime.ts diff --git a/website/src/layouts/Layout.astro b/src/layouts/Layout.astro diff --git a/website/src/layouts/components/Article.astro b/src/layouts/components/Article.astro diff --git a/website/src/layouts/components/Footer.astro b/src/layouts/components/Footer.astro diff --git a/website/src/layouts/components/Header.astro b/src/layouts/components/Header.astro diff --git a/website/src/layouts/components/Lightbox.astro b/src/layouts/components/Lightbox.astro diff --git a/website/src/layouts/tabs/About.astro b/src/layouts/tabs/About.astro diff --git a/website/src/layouts/tabs/Blog.astro b/src/layouts/tabs/Blog.astro diff --git a/website/src/layouts/tabs/Experience.astro b/src/layouts/tabs/Experience.astro diff --git a/website/src/layouts/tabs/Projects.astro b/src/layouts/tabs/Projects.astro diff --git a/website/src/pages/404.astro b/src/pages/404.astro diff --git a/website/src/pages/blog/[slug].astro b/src/pages/blog/[slug].astro diff --git a/website/src/pages/experience/[id].astro b/src/pages/experience/[id].astro diff --git a/website/src/pages/index.astro b/src/pages/index.astro diff --git a/website/src/pages/projects/[id].astro b/src/pages/projects/[id].astro diff --git a/website/src/pages/sitemap.xml.ts b/src/pages/sitemap.xml.ts diff --git a/website/src/schemas/blog.ts b/src/schemas/blog.ts diff --git a/website/src/schemas/experience.ts b/src/schemas/experience.ts diff --git a/website/src/schemas/index.ts b/src/schemas/index.ts diff --git a/website/src/schemas/person.ts b/src/schemas/person.ts diff --git a/website/src/schemas/project.ts b/src/schemas/project.ts diff --git a/website/src/schemas/website.ts b/src/schemas/website.ts diff --git a/website/src/tabs/about.ts b/src/tabs/about.ts diff --git a/website/src/tabs/blog.ts b/src/tabs/blog.ts diff --git a/website/src/tabs/experience.ts b/src/tabs/experience.ts diff --git a/website/src/tabs/projects.ts b/src/tabs/projects.ts diff --git a/website/src/ui/boot.ts b/src/ui/boot.ts diff --git a/website/src/ui/dom.ts b/src/ui/dom.ts diff --git a/website/src/ui/help.ts b/src/ui/help.ts diff --git a/website/src/ui/index.ts b/src/ui/index.ts diff --git a/website/src/ui/keyboard.ts b/src/ui/keyboard.ts diff --git a/website/src/ui/router.ts b/src/ui/router.ts diff --git a/website/src/ui/status.ts b/src/ui/status.ts diff --git a/website/src/ui/tabs.ts b/src/ui/tabs.ts diff --git a/website/src/utils/duration.ts b/src/utils/duration.ts diff --git a/website/src/utils/markdown.ts b/src/utils/markdown.ts diff --git a/website/src/utils/period.ts b/src/utils/period.ts diff --git a/website/src/utils/sleep.ts b/src/utils/sleep.ts diff --git a/website/src/utils/tags.ts b/src/utils/tags.ts diff --git a/website/tsconfig.json b/tsconfig.json diff --git a/website/README.md b/website/README.md @@ -1,36 +0,0 @@ -# web - -Astro web application for [prime8.dev](https://prime8.dev). - -## Stack - -- **Astro** - Static site generator with SSR -- **TypeScript** - Type-safe code -- **Bun** - Package manager and runtime -- **Docker** - Containerization - -## Development - -Install dependencies: - -```sh -bun install -``` - -Run development server: - -```sh -bun run dev -``` - -Build for production: - -```sh -bun run build -``` - -Build the Docker image: - -```sh -docker build -t prime8dev . -```