Skip to content

Commit

Permalink
feat(client): improved page transitions, translations and components
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivo committed Apr 20, 2023
1 parent 3a84a83 commit cf91a86
Show file tree
Hide file tree
Showing 18 changed files with 327 additions and 335 deletions.
1 change: 0 additions & 1 deletion apps/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"clsx": "^1.2.1",
"contentlayer": "^0.3.1",
"date-fns": "^2.29.3",
"framer-motion": "^10.12.4",
"github-slugger": "^2.0.0",
"i18next": "^22.4.14",
"lucide-react": "^0.127.0",
Expand Down
4 changes: 3 additions & 1 deletion apps/client/public/locales/en-US/common.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{}
{
"loading": "Loading..."
}
122 changes: 0 additions & 122 deletions apps/client/public/locales/en-US/features.json

This file was deleted.

64 changes: 64 additions & 0 deletions apps/client/public/locales/en-US/forms.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"submit": {
"download": "Download command list",
"run": "Run dynamic"
},
"file-pdb": {
"title": "Molecule (.pdb)",
"errors": {
"no-pdb": "Select a .pdb molecule file"
}
},
"file-itp": {
"title": "Ligand (.itp)",
"errors": {
"no-itp": "Select a ligand .itp file"
}
},
"file-gro": {
"title": "Ligand (.gro,.pdb)",
"errors": {
"no-gro": "Select a ligand .gro or .pdb file"
}
},
"force-field": {
"title": "Force Field",
"placeholder": "Select a force field",
"errors": {
"no-force-field": "Select a force field"
}
},
"water-model": {
"title": "Water Model",
"placeholder": "Select a water model",
"errors": {
"no-water-model": "Select a water model"
}
},
"box-type": {
"title": "Box Type",
"placeholder": "Select a box type",
"errors": {
"no-box-type": "Select a box type"
}
},
"box-distance": {
"title": "Box Distance (mm)",
"errors": {
"distance-doesnt-match": "Should be a number, decimal or not."
}
},
"neutralize": {
"title": "Neutralize system"
},
"ignore": {
"title": "Ignore hydrogens"
},
"double": {
"title": "Use double precision"
},
"run": {
"title": "Run in our servers"
},
"options": "Options"
}
27 changes: 27 additions & 0 deletions apps/client/public/locales/en-US/running.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"title": "Your Dynamic is Running",
"taskId": "Task ID",
"description": "Info",
"type": "Model",
"molecule": "Molecule",
"createdAt": "Generated at",
"logs": {
"title": "Realtime Execution Logs"
},
"steps": {
"topology": "Topology Definition",
"solvate": "Defining Box and Solvating",
"ions": "Adding Ions",
"minimizationsteepdesc": "Min: Steep Descent",
"minimizationconjgrad": "Min: Conjugate Gradient",
"equilibrationnvt": "Restrict: NVT",
"equilibrationnpt": "Restrict: NPT",
"productionmd": "Produce: MD",
"analyzemd": "Analysis: MD",
"title": "Steps"
},
"not-running": {
"title": "There is no dynamic running",
"description": "Seems like you don't have any dynamic running in our servers. Start one clicking a button below."
}
}

0 comments on commit cf91a86

Please sign in to comment.