Commit Graph

12 Commits

Author SHA1 Message Date
Shubhankar Shandilya baecb48fff Fix-Favicon-appears-boxed-in-Google-results issue-759 (#1226)
Co-authored-by: Your Name <you@example.com>
2024-05-04 12:27:51 +09:00
Conor Golden 74924375a7 Added title, description, and og-image to og:metadata (#1113) (#1203)
* Added new design

* lint fixes

* Brought in design text

* readjusted vertial gap and randomized carousel

* linted

* Added process url to fetch

* Added shadows and extra fonts

* Removed old fonts

* Removed text box shadowing

* fixed fetch

* Removed italics
2024-04-23 01:20:34 +09:00
Alex Bates 4cf3e416e5 Use Next.js 13 app directory & Tailwind CSS (#626)
- Use Next.js 13 app directory for all routes except projects
- Add Tailwind (resolves #619) and use it for most components
- New footer
- Adjust navbar (logotype, buttons moved to right)
- Improve the styling of the search box
- New /settings/account page
- /credits grabs contributors list for this repo from GitHub's API
- ResolveĀ #634
- New welcome page header with scrolling platform icons
2023-01-03 12:41:05 +00:00
Alex Bates b46b318d38 #539 again (#541)
* Revert "Revert "Frontend performance/accessiblity tweaks (#539)" (#540)"

This reverts commit 01a6ad58d5.

* don't use swc
* make useCompilation error detecting more resilient
* add browserslist
* supply sizes prop to UserAvatar Image
* be less specific about error type
2022-09-19 14:42:59 +01:00
Ethan Roseman 01a6ad58d5 Revert "Frontend performance/accessiblity tweaks (#539)" (#540)
This reverts commit be2bb90c01.
2022-09-17 16:13:43 -04:00
Alex Bates be2bb90c01 Frontend performance/accessiblity tweaks (#539)
* update eslint for next.config.js

* add webpack-bundle-analyzer

* use next/future/image

* improve text contrast in various places

* render scratch page on server

* fix username color on user page

* add title to commit hash

* fix apple-touch-icon

* remove user-scalable=no

* oops
2022-09-17 15:15:03 -04:00
alex 9b31c9ebb8 Add family page & diff label editor (#438)
* add 'parent' url to TerseScratchSerializer

* add family page

* link to family in AboutScratch

* bump react-laag

* ui to edit diff label

* use User-Agent Client Hints API if supported

* fix pwa icons

* use carets instead of slashes between breadcrumbs

* use breadcrumbs on project function page

* fix save problem

* allow diff_label on compile

* a

* change placeholder

* new diff flags fix

* diff flags stuff

Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2022-04-13 23:21:40 +09:00
alex 7757386396 Migrate to Next.js + big style update (#154)
* Backend changes to diff from label rather than 0, also possibly fix #109

* implement diff_label frontend & fix assemble_asm

* Log stack trace if asm-differ fails

* don't return { obj } from api

* slight change in stub func code

* GET /compilers returns arches for compilers

* GET /compilers returns arches for compilers

* keep compiler_ids

* Obtain ido from download script, add comment for permuter api support

* Clean m2c wrapper code, add left pointer style, add test

* fix 3 tests

* list arches from api

* fix cookies in DEBUG

SameSite=None is incompatible with Secure, and this causes some browsers
to ignore the cookie altogether.

* fix test

Regression due to changing API to not return { "user": User } but
rather just the User object itself.

* fix create scratch without glabel

This works around a backend bug

* add label select on scratch creation

* show compilers/presets for current arch only

- fixes #92
- fixes #132

* fix mypy issues

* use react instead of preact

* hold pages in src/pages/

This matches NextJS file structure; the names of files reflect their routing paths.

* migrate to NextJS

* use next-pwa

* statically generate user page

* fix github login

* add loading progress bar

* arch on scratch

* nav redesign

* use .env.local instead of local.env

* fix unset compiler not considering arch

* add discord server to readme

* big styling update

* add footer

* move compiler dir into components

* use lib dir

* fix ts error

* describe deployment

* dont use NEXT_PUBLIC_* in .env

* add storybook

* document storybook

* make AsyncButton loading state pretty

* remove sharp

* custom monaco editor react component

* ci: build frontend

* allow nextjs to build despite ignored typescript errors

* ci

* remove react-loading-skeleton

* oops

* don't request public_repo github scope

* give AsyncButton error popup its arrow back

* try fix monaco problem

* oops

* fix monaco red bg for real this time

Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2021-10-13 00:49:23 +09:00
alex 847f201cdc Merge branch 'main' into github 2021-09-03 23:15:22 +01:00
alex f2764ea2db frog 2021-09-03 11:49:46 +01:00
alex 706996d71a user pages + use typescript
Partially fixes #99 (needs CI).
Partially implements #105 (still needs scratch list).
2021-08-27 22:54:16 +01:00
Alex Bates 85e29b2080 use preact 2021-07-05 20:05:42 +01:00