Commit Graph

150 Commits

Author SHA1 Message Date
Nikita Karamov 88fb903120
Improve button padding 2023-09-02 22:40:45 +02:00
Nikita Karamov e6c4c42590
Hide "Prevously used" if there are no previously used instances 2023-09-02 22:40:38 +02:00
Nikita Karamov 2bc66c7f04
Update to Astro v3 2023-09-02 22:15:57 +02:00
Nikita Karamov dedb96ba91
Disable title translation 2023-09-02 22:01:49 +02:00
Nikita Karamov 0f95c6ec58
Add OG tags 2023-09-02 21:57:01 +02:00
Nikita Karamov 603871f20e
Improve a11y of language selector 2023-09-02 21:57:01 +02:00
Nikita Karamov 725d7316c4
Replace /api/share with / + errors 2023-09-02 21:57:01 +02:00
Nikita Karamov 9828b123d9
Move form to page 2023-09-02 21:57:00 +02:00
Nikita Karamov 12aa0823d9
Move non-form content to Layout 2023-09-02 21:57:00 +02:00
Nikita Karamov 6fdeee1269
Better API code structure 2023-09-02 21:57:00 +02:00
Nikita Karamov 4f3488c427
Add <noscript> to indicate that saving instances will not work 2023-09-02 21:57:00 +02:00
Nikita Karamov a5c41729c1
Update licence to AGPL-3.0-only 2023-09-02 21:57:00 +02:00
Nikita Karamov e24b89bba7
Fix translations 2023-09-02 21:57:00 +02:00
Nikita Karamov e2208315d4
Improve caching 2023-09-02 21:56:59 +02:00
Nikita Karamov fc8b44849c
Fix TypeScript issue 2023-09-02 21:56:59 +02:00
Nikita Karamov 3a656ec38e
Minimize ESLint config 2023-09-02 21:56:58 +02:00
Nikita Karamov ca7a2d8045
Prepare translation files for use with Weblate 2023-09-02 21:56:57 +02:00
Nikita Karamov e352afb5d9
Translated using Weblate (Russian)
Currently translated at 100.0% (24 of 24 strings)

Translation: Share₂Fedi/Site
Translate-URL: https://translate.codeberg.org/projects/share2fedi/site/ru/
2023-09-02 21:56:57 +02:00
Nikita Karamov 449d3476e8
Translated using Weblate (French)
Currently translated at 100.0% (24 of 24 strings)

Translation: Share₂Fedi/Site
Translate-URL: https://translate.codeberg.org/projects/share2fedi/site/fr/
2023-09-02 21:56:57 +02:00
Nikita Karamov 4ed9e335ac
Translated using Weblate (Spanish)
Currently translated at 100.0% (24 of 24 strings)

Translation: Share₂Fedi/Site
Translate-URL: https://translate.codeberg.org/projects/share2fedi/site/es/
2023-09-02 21:56:57 +02:00
Nikita Karamov d1d54b9937
Translated using Weblate (German)
Currently translated at 100.0% (24 of 24 strings)

Translation: Share₂Fedi/Site
Translate-URL: https://translate.codeberg.org/projects/share2fedi/site/de/
2023-09-02 21:56:56 +02:00
Nikita Karamov d434abbae0
Translated using Weblate (English)
Currently translated at 100.0% (24 of 24 strings)

Translation: Share₂Fedi/Site
Translate-URL: https://translate.codeberg.org/projects/share2fedi/site/en/
2023-09-02 21:56:56 +02:00
Nikita Karamov 258a63cfc1
Move translations to JSON files 2023-09-02 21:56:56 +02:00
Sunny Ripert 0799c98659
Add lang URL parameter 2023-09-02 21:56:56 +02:00
pre-commit-ci[bot] 8ea6921b12
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-02 21:56:56 +02:00
Sunny Ripert b92420bcbd
Translate to French and Spanish 2023-09-02 21:56:56 +02:00
Nikita Karamov 7834875ae2
Translate licence and privacy policy 2023-09-02 21:56:56 +02:00
Nikita Karamov e6d32be03a
Make licence and privacy look better 2023-09-02 21:56:55 +02:00
Nikita Karamov 0a6b2f7ae2
Rewrite licence and privacy as components 2023-09-02 21:56:55 +02:00
Nikita Karamov cee4a55937
Improve layout for mobile devices 2023-09-02 21:56:55 +02:00
Nikita Karamov 84af92f7e7
Remove Pleroma support
Apparently, there is no endpoint in Pleroma-FE that we could use :(

See also: https://github.com/kytta/share2fedi/issues/44
2023-09-02 21:56:55 +02:00
Nikita Karamov fee8aa0a3b
Set favicon.ico's 'sizes' to 32x32
> sizes="any" for ICO file was replaced to sizes="32x32" to fix bug when Chrome downloaded both ICO and SVG files.
2023-09-02 21:56:55 +02:00
Nikita Karamov 8c47346470
Fix pre-commit.ci 2023-09-02 21:56:54 +02:00
Nikita Karamov ccc2f2376e
Add Russian locale 2023-09-02 21:56:54 +02:00
Nikita Karamov 89bb338065
Implement translations
See also: https://github.com/kytta/share2fedi/pull/43
Co-authored-by: Sunny Ripert <sunny@sunfox.org>
2023-09-02 21:56:54 +02:00
Nikita Karamov 31d95aa834
Remove 'New' badge 2023-09-02 21:56:54 +02:00
Nikita Karamov 8439c8835d
Add GlitchCafe support 2023-09-02 21:56:53 +02:00
Nikita Karamov 762dd8051b
Add Misskey forks support 2023-09-02 21:56:53 +02:00
Nikita Karamov 6971f4e40f
Add Fedibird support 2023-09-02 21:56:53 +02:00
Nikita Karamov af241cfce9
Refactor /api/detect/[] 2023-09-02 21:56:53 +02:00
Nikita Karamov 256aa8fbd0
Improve /api/instances 2023-09-02 21:56:53 +02:00
Nikita Karamov 08c71218b2
Remove unused file 2023-09-02 21:56:53 +02:00
Nikita Karamov 9dc393e529
Simplify HTML 2023-09-02 21:56:53 +02:00
Nikita Karamov e84fed7952
Load and cache popular instances 2023-09-02 21:56:52 +02:00
Nikita Karamov 870406209e
Rewrite nanostore for saved instances 2023-09-02 21:56:52 +02:00
Nikita Karamov d6363e10f9
Fix Astro.generator 2023-09-02 21:56:52 +02:00
Nikita Karamov eb185b7ea1
Update stylelint 2023-09-02 21:56:51 +02:00
Nikita Karamov 7c2b270789
Remove unnecessary .ts extension 2023-09-02 21:56:51 +02:00
Nikita Karamov 47426d5dc7
Normalize domains in store 2023-09-02 21:56:51 +02:00
Nikita Karamov ce3e19626f
Normalize domain on /api/share 2023-09-02 21:56:50 +02:00