forked from Tampere/vuorovaikutusalusta
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/UI fixes icon changes #27
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
eb07797
removed unused icon
AttePeramaki 8a62e45
Font change to Nunito
AttePeramaki 69a92b0
Kartalla-logo to header
AttePeramaki 2c486b7
Icon fixes and additions
AttePeramaki b97986c
Font placement upped to higher level
AttePeramaki 48b77ac
Removed shadows from non-floating FAPs
AttePeramaki e2ec9c3
separator changed
AttePeramaki 74bff67
added missing Swedish option to appease typescript
AttePeramaki 7bd068d
Shadow/Elevated made to Ubigu styleguides
AttePeramaki f664bd6
Removed unused translations
AttePeramaki File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react'; | ||
import SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon'; | ||
|
||
export default function DocumentCopyIcon(props: SvgIconProps) { | ||
return ( | ||
<SvgIcon {...props}> | ||
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path | ||
d="M2.16193 3.6478V2.0072C2.16193 1.45491 2.60964 1.0072 3.16193 1.0072H4.34279M2.16193 8.27665V11.5775M7.49192 1.0072H9.5787M2.16193 16.0546V17.7407C2.16193 18.293 2.60964 18.7407 3.16193 18.7407H4.57044M12.8796 1.0072H14.0113C14.3626 1.0072 14.6882 1.19156 14.8689 1.49286L15.7715 2.9978M8.76617 22.993H19.8381C20.9426 22.993 21.8381 22.0975 21.8381 20.993V9.80867C21.838 9.46223 21.7004 9.12998 21.4555 8.88492L18.9527 6.38209C18.7076 6.1372 18.3754 5.9996 18.0289 5.99952H8.76617C8.41949 5.99952 8.087 6.13724 7.84185 6.38239C7.59671 6.62753 7.45898 6.96002 7.45898 7.30671V21.6858C7.45898 22.0325 7.59671 22.365 7.84185 22.6101C8.087 22.8553 8.41949 22.993 8.76617 22.993Z" | ||
stroke="currentColor" | ||
fill="none" | ||
strokeOpacity="1" | ||
strokeWidth="1.5" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
</svg> | ||
</SvgIcon> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import React from 'react'; | ||
|
||
export default function KartallaLogo() { | ||
return ( | ||
<svg | ||
width="273" | ||
height="45" | ||
viewBox="0 0 273 45" | ||
fill="none" | ||
stroke="white" | ||
strokeWidth="3.03704" | ||
strokeMiterlimit="1.5" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
xmlns="http://www.w3.org/2000/svg"> | ||
<g clipPath="url(#clip0_1227_158)"> | ||
<path d="M2 6C2 3.79086 3.79086 2 6 2H39C41.2091 2 43 3.79086 43 6V23C43 34.0457 34.0457 43 23 43H22C10.9543 43 2 34.0457 2 23V6Z" fill="#00BFAB" /> | ||
<path fillRule="evenodd" clipRule="evenodd" d="M39.2261 2.00073C40.2124 2.00073 41.1567 2.39256 41.8553 3.09018C42.5538 3.7878 42.9435 4.73424 42.9435 5.72086V22.473C42.9435 27.9025 40.788 33.1096 36.9489 36.9487C33.1094 40.7879 27.9026 42.9449 22.4731 42.9449H22.4725C17.0429 42.9449 11.8358 40.7879 7.9967 36.9487C4.15756 33.1096 2.00085 27.9025 2.00085 22.473V5.72086C2.00085 4.73424 2.39267 3.7878 3.09029 3.09018C3.78791 2.39256 4.73436 2.00073 5.72098 2.00073H39.2261Z" fill="#00BFAB" strokeWidth="2" /> | ||
<path fillRule="evenodd" clipRule="evenodd" d="M22 30H17V8H46.5V30H35C32.521 34.371 27.384 37 22 37V30Z" fill="#009A89" strokeWidth="4" strokeLinejoin="round" /> | ||
</g> | ||
<path d="M2 6C2 3.79086 3.79086 2 6 2H39C41.2091 2 43 3.79086 43 6V23C43 34.0457 34.0457 43 23 43H22C10.9543 43 2 34.0457 2 23V6Z" strokeWidth="2" /> | ||
<g clipPath="url(#clip1_1227_158)"> | ||
<path d="M58.5902 9.99768V33.7744L82.3669 9.99768" /> | ||
<path d="M108.464 33.7739V13.5383C108.464 12.2771 107.704 11.14 106.539 10.6572C105.374 10.1747 104.033 10.4414 103.141 11.3333C95.0783 19.3955 80.7002 33.7739 80.7002 33.7739" /> | ||
<path d="M190.314 33.7739V13.5383C190.314 12.2771 189.554 11.14 188.389 10.6572C187.223 10.1747 185.882 10.4414 184.99 11.3333C176.928 19.3955 162.55 33.7739 162.55 33.7739" /> | ||
<path d="M268.804 33.7739V13.5383C268.804 12.2771 268.044 11.14 266.879 10.6572C265.714 10.1747 264.373 10.4414 263.481 11.3333C255.418 19.3955 241.04 33.7739 241.04 33.7739" /> | ||
<path d="M108.526 24.7881L98.2747 24.7881" /> | ||
<path d="M80.641 33.8162L69.814 22.9891" /> | ||
<path d="M139.638 33.8162L130.689 24.8672" /> | ||
<path d="M190.314 24.7881L180.062 24.7881" /> | ||
<path d="M268.805 24.7881L258.553 24.7881" /> | ||
<path d="M154.33 33.7737V9.99701H143.793" /> | ||
<path d="M118.677 33.7737V9.99701H129.214" /> | ||
<path d="M129.216 9.99731C133.301 9.99731 136.61 13.3093 136.61 17.394C136.61 21.4787 133.301 24.7878 129.216 24.7878H124.735" /> | ||
<path d="M202.09 9.99768V33.7744H217.769" /> | ||
<path d="M225.363 9.99768V33.7744H241.041" /> | ||
<path d="M164.866 9.99707L154.33 9.99707" /> | ||
</g> | ||
<defs> | ||
<clipPath id="clip0_1227_158"> | ||
<path d="M2 6C2 3.79086 3.79086 2 6 2H39C41.2091 2 43 3.79086 43 6V23C43 34.0457 34.0457 43 23 43H22C10.9543 43 2 34.0457 2 23V6Z" fill="white" /> | ||
</clipPath> | ||
<clipPath id="clip1_1227_158"> | ||
<rect width="214.111" height="30.0507" fill="white" transform="translate(56.6666 8.0741)" /> | ||
</clipPath> | ||
</defs> | ||
</svg> | ||
); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react'; | ||
import SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon'; | ||
|
||
export default function OpenInNewIcon(props: SvgIconProps) { | ||
return ( | ||
<SvgIcon {...props}> | ||
<svg viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path | ||
d="M6 1H2C1.44772 1 1 1.44772 1 2V12C1 12.5523 1.44772 13 2 13H12C12.5523 13 13 12.5523 13 12V8M9 1H13M13 1V5M13 1L7 7" | ||
stroke="currentColor" | ||
fill="none" | ||
strokeOpacity="1" | ||
strokeWidth="1.5" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
</svg> | ||
</SvgIcon> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react'; | ||
import SvgIcon, { SvgIconProps } from '@mui/material/SvgIcon'; | ||
|
||
export default function SurveyPageIcon(props: SvgIconProps) { | ||
return ( | ||
<SvgIcon {...props}> | ||
<svg fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path | ||
d="M15.0735 1.99997C14.752 1.67848 14.3159 1.49787 13.8613 1.49787L4.21215 1.49786C3.75749 1.49786 3.32146 1.67848 2.99997 1.99997C2.67849 2.32146 2.49787 2.75749 2.49787 3.21215L2.49778 20.7878C2.49778 21.2424 2.6784 21.6785 2.99988 22C3.32138 22.3214 3.7574 22.5021 4.21207 22.5021L19.7877 22.5C20.2424 22.5 20.6785 22.3193 20.9999 21.9979C21.3213 21.6764 21.502 21.2403 21.502 20.7857L21.5021 8.71214C21.5021 8.2575 21.3214 7.82145 20.9999 7.49997M15.0735 1.99997L20.9999 7.49997M15.0735 1.99997C15.4735 2.39997 15.5244 2.8333 15.4999 2.99997V6.49997H18.9999C19.9999 6.49997 20.5999 7.09997 20.9999 7.49997M12.8571 11.5H17.1428M12.8571 17.5H17.1428M6.3281 17.2064L7.76448 18.6428L10.1585 15.2913M6.3281 11.1791L7.76448 12.6155L10.1585 9.26389" | ||
stroke="currentColor" | ||
fill="none" | ||
strokeOpacity="1" | ||
strokeWidth="1.5" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
/> | ||
</svg> | ||
</SvgIcon> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nit] FYI, usually it's better to use named exports rather than default exports, because it makes it easier to refactor and auto-import the components.
But it seems that all the icons are already using default exports, so maybe it's not worth the effort to change this now...