Skip to content

Commit

Permalink
UI fix (#2)
Browse files Browse the repository at this point in the history
* fix(mobile): widen buttons for navigation

* fix(page/periodic): remove flickering when searching for element and
detect device type with `bowser` for initial render only

* test(snapshot): updated snapshot with bigger buttons on mobile
  • Loading branch information
GervinFung authored Mar 24, 2024
1 parent 9c5a767 commit 672db46
Show file tree
Hide file tree
Showing 143 changed files with 244 additions and 253 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ cache

# local env files
.env
.env.development
.env.testing
.env.productions
.env.staging
.env.production

# vercel
.vercel
Expand Down
5 changes: 1 addition & 4 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ cache

# local env files
.env
.env.development
.env.testing
.env.productions
.env.staging
.env.production

# vercel
.vercel
Expand Down
2 changes: 2 additions & 0 deletions config/.env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NEXT_PUBLIC_NODE_ENV=development
NEXT_PUBLIC_ORIGIN=http://localhost:3000
2 changes: 0 additions & 2 deletions config/.env.production

This file was deleted.

2 changes: 2 additions & 0 deletions config/.env.testing
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NEXT_PUBLIC_NODE_ENV=testing
NEXT_PUBLIC_ORIGIN=http://localhost:8081
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@the-periodic-table/web",
"name": "@periotable/web",
"version": "0.0.0",
"author": "PoolOfDeath20",
"private": true,
Expand All @@ -14,6 +14,7 @@
"@fontsource-variable/jetbrains-mono": "^5.0.19",
"@mui/joy": "5.0.0-beta.28",
"@poolofdeath20/util": "^0.7.1",
"bowser": "^2.11.0",
"cors": "^2.8.5",
"next": "^14.1.0",
"next-seo": "^6.4.0",
Expand All @@ -32,7 +33,6 @@
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"axios": "^1.6.7",
"ci-info": "^4.0.0",
"eslint": "^8.56.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
Expand Down
Loading

0 comments on commit 672db46

Please sign in to comment.