670 Commits

Author SHA1 Message Date
Sasha Sorokin
8704d3acb3
Rewrite cosmetics and theme preferences (#1292)
- Cosmetics and theme preferences are now only stored in cookies instead
  of a combination of both cookies and state.

- The theme plugin now supports client hints. This allows the server
  to render a page using the client-preferred theme provided it supplies
  this information (any browser other than Firefox), helping to avoid an
  annoying flash while the page is hydrating.

- The previous workaround using the Nitro plugin has been removed. Its
  functionality is now handled by the Nuxt theme plugin with cleaner
  code.

- All pages and components now use the new plugins.
2024-07-13 19:20:43 +00:00
Sasha Sorokin
ce4250281f
Refactor auth middleware (#1279)
- Switch to TypeScript
- Use early return
- Switch to regular for loop

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-07-11 19:02:00 +00:00
Sasha Sorokin
aecbc714c4
Update @vintl/nuxt to ^1.9.2 (#1286)
This fixes the issue where types for NuxtApp would be incorrect due to
the incorrect Plugin return type by @vintl/nuxt.
2024-07-11 18:58:18 +00:00
Evan Song
c20242cf1c
Fix Cloudflare Pages build (#1285)
* fix(temp): remove box shadows from tailwind config

* fix(temp): "polyfill" global during build process

* refactor: use `import.meta` instead of deprecated `process`

* oops: replace `process.server` as well
2024-07-11 05:17:04 +00:00
Evan Song
04ba76aac8
Add NavTabs component (#1278)
* feat: NavTabs component

* fix: tw config using wrong variable

* fix: actually use the config now

* fix: revert testing
2024-07-10 03:33:50 +00:00
Geometrically
d1bc65c266
Monorepo missing features (#1273)
* fix tauri config

* fix package patch

* regen pnpm lock

* use new workflow

* New GH actions

* Update lockfile

* update scripts

* Fix build script

* Fix missing deps

* Fix assets eslint

* Update libraries lint

* Fix all lint configs

* update lockfile

* add fmt + clippy fails

* Separate App Tauri portion

* fix app features

* Fix lints

* install tauri cli

* update lockfile

* corepack, fix lints

* add store path

* fix unused import

* Fix tests

* Issue templates + port over tauri release

* fix actions

* fix before build command

* Add X86 target

* Update build matrix

* finalize actions

* make debug build smaller

* Use debug build to make cache smaller

* dummy commit

* change proj name

* update file name

* Use release builds for less space use

* Remove rust cache

* Readd for app build

* add merge queue trigger
2024-07-09 15:17:38 -07:00
Evan Song
dab284f339
Frontend Tailwind Fixes + Small Fixes (#1258)
* Fix Tailwind not targeting the src dir

* Merge tw fixes

* Fix footer logo alignment in mobile layout
2024-07-07 18:28:55 -07:00
Norbiros
df76d9a50a
fix(theseus): Fixed scroll behavior bug (#1249) 2024-07-07 13:21:07 -07:00
Evan Song
abec2e48d4
Add TailwindCSS (#1252)
* Setup TailwindCSS

* Fully setup configuration

* Refactor some tailwind variables
2024-07-06 20:57:32 -07:00
Evan Song
0f2ddb452c
Migrate to Turborepo (#1251) 2024-07-04 21:46:29 -07:00
Jai A
9502639447
Finish adding omorphia 2024-07-03 19:12:20 -07:00
Jai A
22779c9dbc
Finish theseus 2024-07-03 16:03:41 -07:00
Jai A
b52467b6d6
Merge remote-tracking branch 'theseus/monorepo-migration' 2024-07-03 13:26:44 -07:00
Jai A
d33a0cd589
Prepare for adding theseus 2024-07-03 13:25:49 -07:00
Jai A
a04cb54d86
Move files in preparation for monorepo migration 2024-07-03 13:23:21 -07:00
Jai A
10785f156f
Add knossos 2024-07-03 13:05:14 -07:00
Jai A
4736fb8e32
Merge remote-tracking branch 'knossos/monorepo-migration' 2024-07-03 11:20:33 -07:00
Jai A
531e7ec73d
prepare for knossos merge 2024-07-03 11:20:25 -07:00
Jai A
ff946b4f2f
Move files in preparation for monorepo migration 2024-07-03 11:13:51 -07:00
Jai A
68f0e68343
Initial monorepo setup 2024-07-03 11:05:58 -07:00