Skip to content

Commit

Permalink
Add new image for big material and material (#544)
Browse files Browse the repository at this point in the history
* Add new image for big material and material

Co-authored-by: Julian Schmidt <julian.schmidt@student.hpi.de>
  • Loading branch information
benn02 and Dassderdie authored Jan 22, 2023
1 parent da3acf6 commit c7ba8c1
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 6 deletions.
70 changes: 70 additions & 0 deletions frontend/src/assets/big-material.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion frontend/src/assets/image-sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ Florian Greiz 23
<https://commons.wikimedia.org/wiki/File:RTW_Altenburg.png> (edited)

[material.svg](material.svg):
<https://commons.wikimedia.org/wiki/File:First_aid_kit_(70543)_-_The_Noun_Project.svg> (edited)
Benildur Nickel

[big-material.svg](big-material.svg):
Benildur Nickel

[patient.svg](patient.svg):
<https://commons.wikimedia.org/wiki/File:Person_(63361)_-_The_Noun_Project.svg> (edited)
Expand Down
109 changes: 108 additions & 1 deletion frontend/src/assets/material.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions shared/src/data/default-state/material-templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const standardMaterialTemplate = MaterialTemplate.create(
'standard',
{
url: '/assets/material.svg',
height: 40,
height: 35,
aspectRatio: 1,
},
CanCaterFor.create(2, 0, 0, 'and'),
Expand All @@ -21,9 +21,8 @@ const standardMaterialTemplate = MaterialTemplate.create(
const bigMaterialTemplate = MaterialTemplate.create(
'big',
{
url: '/assets/material.svg',
// Roughly double the area of the standard material
height: 56,
url: '/assets/big-material.svg',
height: 35,
aspectRatio: 1,
},
CanCaterFor.create(2, 2, 0, 'and'),
Expand Down

0 comments on commit c7ba8c1

Please sign in to comment.