Skip to content

Commit

Permalink
pkp/pkp-lib#10624 Add ROR and NewTab icons
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed Nov 27, 2024
1 parent 8275447 commit 2d4bcda
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Icon/Icon.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export const IconGallery = {
'NavDoi',
'NavAdmin',
'New',
'NewTab',
'Notifications',
'NotVisible',
'OpenReview',
Expand All @@ -149,6 +150,7 @@ export const IconGallery = {
'ReviewAssignments',
'ReviewRequestDeclined',
'ReviewSent',
'ROR',
'Search',
'Settings',
'Sitemap',
Expand Down
4 changes: 4 additions & 0 deletions src/components/Icon/Icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ import MySubmissions from './icons/MySubmissions.vue';
import NavDoi from './icons/NavDoi.vue';
import NavAdmin from './icons/NavAdmin.vue';
import New from './icons/New.vue';
import NewTab from './icons/NewTab.vue';
import Notifications from './icons/Notifications.vue';
import NotVisible from './icons/NotVisible.vue';
import OpenReview from './icons/OpenReview.vue';
Expand All @@ -97,6 +98,7 @@ import ReinstateReviewer from './icons/ReinstateReviewer.vue';
import ReviewAssignments from './icons/ReviewAssignments.vue';
import ReviewRequestDeclined from './icons/ReviewRequestDeclined.vue';
import ReviewSent from './icons/ReviewSent.vue';
import ROR from './icons/ROR.vue';
import Search from './icons/Search.vue';
import Settings from './icons/Settings.vue';
import Sitemap from './icons/Sitemap.vue';
Expand Down Expand Up @@ -190,6 +192,7 @@ const svgIcons = {
NavDoi,
NavAdmin,
New,
NewTab,
Notifications,
NotVisible,
OpenReview,
Expand All @@ -207,6 +210,7 @@ const svgIcons = {
ReviewAssignments,
ReviewRequestDeclined,
ReviewSent,
ROR,
Search,
Settings,
Sitemap,
Expand Down
11 changes: 11 additions & 0 deletions src/components/Icon/icons/NewTab.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<template>
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M13.75 1.875H18.125V6.25M17.1875 2.8125L12.5 7.5M10.625 3.125H5C4.50272 3.125 4.02581 3.32254 3.67417 3.67417C3.32254 4.02581 3.125 4.50272 3.125 5V15C3.125 15.4973 3.32254 15.9742 3.67417 16.3258C4.02581 16.6775 4.50272 16.875 5 16.875H15C15.4973 16.875 15.9742 16.6775 16.3258 16.3258C16.6775 15.9742 16.875 15.4973 16.875 15V9.375"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</template>
36 changes: 36 additions & 0 deletions src/components/Icon/icons/ROR.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<template>
<svg viewBox="0 0 24 19" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_5753_4959)">
<path
d="M9.90815 1.38672L8.13303 4.10574L6.35645 1.38672H9.90815Z"
fill="#53BAA1"
/>
<path
d="M17.3364 1.38672L15.5613 4.10574L13.7847 1.38672H17.3364Z"
fill="#53BAA1"
/>
<path
d="M6.35645 17.6775L8.13303 14.957L9.90815 17.6775H6.35645Z"
fill="#53BAA1"
/>
<path
d="M13.7847 17.6775L15.5613 14.957L17.3364 17.6775H13.7847Z"
fill="#53BAA1"
/>
<path
d="M21.1589 10.1002C21.7881 9.98315 22.2667 9.70364 22.593 9.26315C22.9208 8.82266 23.0832 8.28705 23.0832 7.65925C23.0832 7.13827 22.9925 6.7051 22.8125 6.35681C22.6325 6.00851 22.3881 5.73193 22.0823 5.52559C21.7764 5.32071 21.4193 5.1729 21.0125 5.0851C20.6057 4.99729 20.1754 4.95339 19.7232 4.95339H16.2754V7.709C16.2476 7.62851 16.2184 7.54949 16.1862 7.47047C15.9476 6.89242 15.614 6.39925 15.1852 5.99242C14.7564 5.58559 14.2501 5.27242 13.6618 5.05437C13.075 4.83632 12.4325 4.72656 11.7359 4.72656C11.0393 4.72656 10.3984 4.83632 9.81007 5.05437C9.22324 5.27242 8.71544 5.58559 8.28666 5.99242C7.90324 6.35681 7.59593 6.79144 7.36471 7.29486C7.33105 6.93339 7.24617 6.62022 7.11007 6.35681C6.93007 6.00851 6.68568 5.73193 6.37983 5.52559C6.07398 5.32071 5.7169 5.1729 5.31007 5.0851C4.90324 4.99729 4.473 4.95339 4.0208 4.95339H0.574463V13.8627H2.5369V10.3007H3.50568L5.36861 13.8627H7.72178L5.45788 10.1002C6.08715 9.98315 6.56568 9.70364 6.89202 9.26315C6.90666 9.24266 6.91983 9.22071 6.93446 9.20022C6.93154 9.269 6.93007 9.33778 6.93007 9.40803C6.93007 10.1207 7.05007 10.7675 7.28861 11.3456C7.52715 11.9236 7.8608 12.4168 8.28958 12.8236C8.7169 13.2305 9.22471 13.5436 9.813 13.7617C10.3998 13.9797 11.0423 14.0895 11.7389 14.0895C12.4354 14.0895 13.0764 13.9797 13.6647 13.7617C14.2515 13.5436 14.7593 13.2305 15.1881 12.8236C15.6154 12.4168 15.9491 11.9236 16.1891 11.3456C16.2213 11.268 16.2506 11.1875 16.2784 11.107V13.8627H18.2408V10.3007H19.2096L21.0725 13.8627H23.4257L21.1589 10.1002ZM5.18715 8.21242C5.08178 8.34705 4.95007 8.4451 4.79056 8.50803C4.63105 8.57095 4.45251 8.609 4.25641 8.62071C4.05885 8.63388 3.873 8.63973 3.69593 8.63973H2.53837V6.61437H3.82178C3.99739 6.61437 4.17885 6.62754 4.36324 6.65242C4.54763 6.67729 4.71154 6.72559 4.85349 6.79729C4.99544 6.869 5.11398 6.97144 5.20617 7.10607C5.29837 7.24071 5.34519 7.42071 5.34519 7.64754C5.34519 7.889 5.29251 8.07778 5.18715 8.21242ZM14.3115 10.5597C14.1813 10.908 13.9954 11.2095 13.751 11.4656C13.5081 11.7217 13.2169 11.9207 12.8759 12.0641C12.5364 12.2075 12.1559 12.2778 11.7374 12.2778C11.3174 12.2778 10.9384 12.2061 10.5989 12.0641C10.2593 11.9222 9.96812 11.7217 9.72373 11.4656C9.4808 11.2095 9.29349 10.908 9.16324 10.5597C9.033 10.2114 8.96861 9.82803 8.96861 9.40803C8.96861 8.99681 9.033 8.61486 9.16324 8.26217C9.29349 7.90949 9.47934 7.60656 9.72373 7.35046C9.96666 7.09437 10.2579 6.89534 10.5989 6.75193C10.9384 6.60998 11.3174 6.53827 11.7374 6.53827C12.1574 6.53827 12.5364 6.60998 12.8759 6.75193C13.2154 6.89388 13.5067 7.09437 13.751 7.35046C13.994 7.60656 14.1813 7.91095 14.3115 8.26217C14.4418 8.61486 14.5062 8.99681 14.5062 9.40803C14.5062 9.82803 14.4418 10.2114 14.3115 10.5597ZM20.8881 8.21242C20.7828 8.34705 20.651 8.4451 20.4915 8.50803C20.332 8.57095 20.1535 8.609 19.9574 8.62071C19.7598 8.63388 19.574 8.63973 19.3969 8.63973H18.2393V6.61437H19.5228C19.6984 6.61437 19.8798 6.62754 20.0642 6.65242C20.2486 6.67729 20.4125 6.72559 20.5545 6.79729C20.6964 6.869 20.815 6.97144 20.9071 7.10607C20.9993 7.24071 21.0462 7.42071 21.0462 7.64754C21.0462 7.889 20.9935 8.07778 20.8881 8.21242Z"
fill="#202826"
/>
</g>
<defs>
<clipPath id="clip0_5753_4959">
<rect
width="24"
height="17.2683"
fill="white"
transform="translate(0 0.898438)"
/>
</clipPath>
</defs>
</svg>
</template>

0 comments on commit 2d4bcda

Please sign in to comment.