23 Commits

Author SHA1 Message Date
Sasha Sorokin
61fd6f1741
Fix Turnstile unable to read the siteKey (#1728)
It seems that Nuxt Turnstile's way of setting the key in `runtimeConfig`
is broken and doesn't work properly, resulting in an error in runtime,
because it has to be set. This commit sets the key in `runtimeConfig`
manually instead, which seems to fix the issue.
2024-06-14 23:26:45 -04:00
Geometrically
612eb64a83
fix broken navrow (#1725) 2024-06-14 15:29:35 -07:00
Prospector
1d9fe0c03d
Add new links card and feature flag system for incremental dev. (#1714)
* Add new links card and feature flag system for incremental dev.

* Switch to env variable for dev flags

* Add members card

* fix order of creators card

* Fix owner icon color and bring org owner to top of list

* lint + other fixes

* Revamp feature flag system, add flag config page

* Add button to flags page in dev mode

* fix env overrides

* make typescript happy with the refs
2024-06-11 19:46:07 -07:00
Geometrically
611bec38b4
Pre-generate homepage (#1699)
* Pregenerate homepage:

* fix lint
2024-05-03 14:48:14 -07:00
Prospector
5a166d2455
Change to non-interactive turnstile (#1678) 2024-04-18 16:36:26 -07:00
Mysterious_Dev
071ecb284e
Add apple touch icon to head (#1453) 2024-01-18 08:57:20 -08:00
Sasha Sorokin
6d70ced93a
Add Omorphia locale files loading (#1447)
Implements loading of all locale files shipped with Omorphia package by
globbing and registering them during the `vintl:extendOptions` hook.

Also updated VIntl for Nuxt to ensure those files are properly loaded.
Previous version of VIntl for Nuxt had a somewhat broken module ID
tracking, preventing Omorphia locale files to be properly transformed
during the build; at least on systems like Windows, don't know about
*nix. The tracking approach was replaced in 1.8.0, and it seems to be
working now.
2023-12-04 19:48:12 -07:00
Sasha Sorokin
82f0bdfc18
Add handling for locale files parsing errors (#1408) 2023-11-12 11:49:05 -05:00
Emma Alexia Triphora
fc64719bb8
SEO cleanup (#1367)
* SEO/Metadata cleanup

May split rules changes into its own PR

* Revert rules/terms changes as they are now on a separate branch

* Update [searchProjectType].vue

* Update terms.vue
2023-09-22 11:45:03 -05:00
Sasha Sorokin
bd4da4f365
Improve i18n-related SEO (#1366) 2023-09-16 21:07:52 -04:00
Sasha Sorokin
d8f33641a5
Enable all locales on staging instances (#1336) 2023-08-23 15:18:58 -04:00
Sasha Sorokin
467b0fa988
Add the language setting page (#1210)
* Add initial language picker prototype

* Heap o' improvements and Pirate tongue

* Move .visually-hidden to shared utils and add copyright notice

* Add a little space before categories names

* Simplify search to input focus logic

* Remove larger font size and padding from the search field

* Some refactors

* Braw's descent into madness

Thanks web development!

In seriousness though, tried to make the list more accessible. Making it
fully accessible feels like unbearable task, so at least that.

* Litol refactoring

* Extract new strings and remove old ones

* Update @vintl/nuxt to 1.3.0

This fixes the bug where default locale won't be saved.

* A buncha refactorings and cleanup

* Scuttle the Pirate lingo

'Twas employed 'ere for testin' purposes, but fear not, for it shall be
returnin' in the days to come. Should ye require it fer testin', simply
roll back this here commit.

* Clean languages source file

* Change "US" to "United States"

I think it would make distinguishing two languages simpler as now
there's more than one letter of difference (US/UK vs United States/
United Kingdom).
2023-08-21 13:26:39 -04:00
falseresync
0ffe8ef102
Refine the auth design; clean up the layout and styles there (#1240)
* Refine the auth design; clean up the layout and styles there

* It doesn't really sing, does it

* Tweak auth form spacing and wording

* Final tweaks to improved auth design

* Merge

* fix lockfile

---------

Co-authored-by: Prospector <prospectordev@gmail.com>
2023-08-18 12:00:44 -07:00
Geometrically
f5cf1ca08c
Update legal docs (#1260)
* Update legal docs

* add app

* fix homepage
2023-08-05 17:27:35 -07:00
Prospector
34d63f3557
Update master with new auth (#1236)
* Begin UI for threads and moderation overhaul

* Hide close button on non-report threads

* Fix review age coloring

* Add project count

* Remove action buttons from queue page and add queued date to project page

* Hook up to actual data

* Remove unused icon

* Get up to 1000 projects in queue

* prettier

* more prettier

* Changed all the things

* lint

* rebuild

* Add omorphia

* Workaround formatjs bug in ThreadSummary.vue

* Fix notifications page on prod

* Fix a few notifications and threads bugs

* lockfile

* Fix duplicate button styles

* more fixes and polishing

* More fixes

* Remove legacy pages

* More bugfixes

* Add some error catching for reports and notifications

* More error handling

* fix lint

* Add inbox links

* Remove loading component and rename member header

* Rely on threads always existing

* Handle if project update notifs are not grouped

* oops

* Fix chips on notifications page

* Import ModalModeration

* finish threads

* New authentication (#1234)

* Initial new auth work

* more auth pages

* Finish most

* more

* fix on landing page

* Finish everything but PATs + Sessions

* fix threads merge bugs

* fix cf pages ssr

* fix most issues

* Finish authentication

* Fix merge

---------

Co-authored-by: triphora <emma@modrinth.com>
Co-authored-by: Jai A <jaiagr+gpg@pm.me>
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2023-07-20 11:19:42 -07:00
Geometrically
65791a58e9
Fix CF Pages on linkify (#1231) 2023-07-04 12:15:14 -07:00
Geometrically
6e0f22323b
Fix pages env vars (#1230)
* Fix pages env vars

* bring back vercel json
2023-07-03 18:08:05 -07:00
Geometrically
4c8c35a25a
move to cloudflare workers (#1229)
* move to cloudflare workers

* remove junk
2023-07-03 17:23:19 -07:00
Sasha Sorokin
de991041c4
Add internationalization support (#738) 2023-06-11 14:08:16 -04:00
Sasha Sorokin
20d1c4d242
Switch to bundler TypeScript moduleResolution (#1170) 2023-06-11 13:33:38 -04:00
Geometrically
063585f563
Improve landing page performance (#1180)
* Improve landing page performance

* fix build
2023-06-08 15:42:18 -07:00
Geometrically
273a69258a
Fix wrong func being parsed, md parser (#1169) 2023-05-28 16:00:25 -04:00
Mikhail Oleynikov
732f88ff51
Renovate config files (#1117)
* Renovate the config files

* Return Vue and TS ESLint plugins

* Revert Prettier config
Add typing to ESLint config
Re-revert package.json

* Re-add ESLint plugin for Prettier
(it went missing during merge, oops)

* Try to fix CI by explicit dependency

* Try to fix CI by explicit dependency x2

* Try to fix CI magically
Additionally, remove unneeded jsconfig.json

* Brawaru found the reason

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>

---------

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
2023-05-06 12:17:43 -07:00