Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
188b51bb
Commit
188b51bb
authored
May 10, 2021
by
Eric Rosenbaum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add icons
parent
de85a25d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
11 deletions
+24
-11
src/views/studio/studio-activity.jsx
src/views/studio/studio-activity.jsx
+10
-11
src/views/studio/studio.scss
src/views/studio/studio.scss
+3
-0
static/svgs/studio/activity-curator.svg
static/svgs/studio/activity-curator.svg
+4
-0
static/svgs/studio/activity-edit.svg
static/svgs/studio/activity-edit.svg
+3
-0
static/svgs/studio/activity-project.svg
static/svgs/studio/activity-project.svg
+4
-0
No files found.
src/views/studio/studio-activity.jsx
View file @
188b51bb
...
...
@@ -19,7 +19,8 @@ const getComponentForItem = (item) => {
return
(
<
SocialMessage
datetime=
{
item
.
datetime_created
}
iconSrc=
"/svgs/messages/love.svg"
iconSrc=
"/svgs/studio/activity-project.svg"
imgClassName=
"studio-activity-icon"
key=
{
item
.
id
}
>
<
FormattedMessage
...
...
@@ -43,7 +44,8 @@ const getComponentForItem = (item) => {
return
(
<
SocialMessage
datetime=
{
item
.
datetime_created
}
iconSrc=
"/svgs/messages/love.svg"
iconSrc=
"/svgs/studio/activity-project.svg"
imgClassName=
"studio-activity-icon"
key=
{
item
.
id
}
>
<
FormattedMessage
...
...
@@ -67,7 +69,8 @@ const getComponentForItem = (item) => {
return
(
<
SocialMessage
datetime=
{
item
.
datetime_created
}
iconSrc=
"/svgs/messages/love.svg"
iconSrc=
"/svgs/studio/activity-edit.svg"
imgClassName=
"studio-activity-icon"
key=
{
item
.
id
}
>
<
FormattedMessage
...
...
@@ -86,7 +89,8 @@ const getComponentForItem = (item) => {
return
(
<
SocialMessage
datetime=
{
item
.
datetime_created
}
iconSrc=
"/svgs/messages/love.svg"
iconSrc=
"/svgs/studio/activity-curator.svg"
imgClassName=
"studio-activity-icon"
key=
{
item
.
id
}
>
<
FormattedMessage
...
...
@@ -110,7 +114,8 @@ const getComponentForItem = (item) => {
return
(
<
SocialMessage
datetime=
{
item
.
datetime_created
}
iconSrc=
"/svgs/messages/love.svg"
iconSrc=
"/svgs/studio/activity-curator.svg"
imgClassName=
"studio-activity-icon"
key=
{
item
.
id
}
>
<
FormattedMessage
...
...
@@ -130,12 +135,6 @@ const getComponentForItem = (item) => {
/>
</
SocialMessage
>
);
default
:
return
(
<
SocialMessage
>
{
item
.
type
}
</
SocialMessage
>
)
}
};
...
...
src/views/studio/studio.scss
View file @
188b51bb
...
...
@@ -75,6 +75,9 @@ $radius: 8px;
background-color
:
$ui-white
;
padding-left
:
0px
;
}
.studio-activity-icon
{
opacity
:
1
;
}
}
/* Modification classes for different interaction states */
...
...
static/svgs/studio/activity-curator.svg
0 → 100644
View file @
188b51bb
<svg
width=
"21"
height=
"20"
viewBox=
"0 0 21 20"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M5.2531 7.47107C5.2531 8.16594 5.51512 8.80522 5.9491 9.28437C4.50749 10.1253 3.54431 11.8131 3.54431 13.7407C3.54431 14.5562 4.19249 15.1128 5.00253 15.4536C5.82565 15.7998 6.90529 15.9673 7.97081 15.9673C9.03633 15.9673 10.116 15.7998 10.9391 15.4536C11.7491 15.1128 12.3973 14.5562 12.3973 13.7407V13.7342C12.3973 13.6496 12.3973 13.5472 12.3834 13.4418C12.3334 12.4083 12.0039 11.4543 11.4801 10.6824C11.0859 10.1059 10.5795 9.62615 9.99447 9.28522C10.4318 8.80663 10.6887 8.1706 10.6887 7.47107C10.6887 5.96646 9.47307 4.75 7.97416 4.75C6.46912 4.75 5.2531 5.96602 5.2531 7.47107Z"
fill=
"#4C97FF"
/>
<path
d=
"M15.0868 5.71516C14.0615 5.71516 13.2332 6.54343 13.2332 7.56872C13.2332 8.00598 13.385 8.40622 13.6373 8.72277C13.1654 9.02039 12.7758 9.45561 12.5108 9.97982C12.4698 10.0609 12.476 10.1578 12.527 10.233C13.0003 10.9304 13.3012 11.7992 13.3451 12.7461C13.3501 12.8539 13.4236 12.9463 13.5274 12.9753C14.3677 13.2105 15.4588 13.2317 16.3459 13.0414C16.7892 12.9463 17.2012 12.7943 17.5086 12.5735C17.8194 12.3501 18.0443 12.0384 18.0443 11.637C18.0443 10.393 17.4408 9.29929 16.5294 8.72307C16.7819 8.40648 16.9338 8.00612 16.9338 7.56872C16.9338 6.5441 16.1062 5.71516 15.0868 5.71516Z"
fill=
"#4C97FF"
/>
</svg>
static/svgs/studio/activity-edit.svg
0 → 100644
View file @
188b51bb
<svg
width=
"22"
height=
"22"
viewBox=
"0 0 22 22"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M10.0592 15.9577C9.96446 16.0524 9.85758 16.1132 9.72976 16.1709L7.56659 17.0793C7.48799 16.8113 7.29336 16.4707 6.93361 16.1109C6.58592 15.7633 6.25738 15.5807 5.99914 15.4901L6.89672 13.3378C6.94337 13.199 7.0271 13.0934 7.1208 12.9997C7.14262 12.9998 7.16333 12.9791 7.17418 12.9682L7.20476 12.9376C7.35075 12.7917 7.55585 12.7028 7.79617 12.6709C8.40705 12.5953 9.11521 12.8852 9.64935 13.4193C10.1835 13.9535 10.4734 14.6616 10.3857 15.2605C10.3505 15.458 10.2854 15.6613 10.1833 15.8116C10.1529 15.864 10.1114 15.9055 10.069 15.9479L10.0592 15.9577ZM13.6054 6.53701C13.9427 6.19967 14.4603 6.12739 14.9902 6.28635C15.2973 6.37845 15.4255 6.75916 15.2154 6.96926L10.177 12.0077C10.0566 12.128 9.86135 12.1478 9.70333 12.047C9.54003 11.9449 9.37127 11.857 9.20119 11.7836C8.92376 11.664 8.82736 11.315 9.02168 11.1207L13.6054 6.53701ZM16.5317 9.46328L11.9489 14.046C11.7586 14.2364 11.4084 14.1545 11.2923 13.8845C11.2173 13.705 11.1239 13.5307 11.0163 13.362C10.9099 13.1964 10.9364 12.99 11.0616 12.8648L16.0882 7.83815C16.2964 7.63003 16.677 7.75614 16.7711 8.06339C16.9356 8.59871 16.871 9.12397 16.5317 9.46328ZM18.5347 4.534C17.2459 3.24525 15.3869 3.01376 14.3838 4.01691L6.29247 12.1082C6.09421 12.3065 5.91898 12.5278 5.81284 12.7984L4.10642 16.8959C3.89183 17.4132 4.05796 18.0587 4.53397 18.5347C5.00998 19.0107 5.65549 19.1769 6.1728 18.9623L10.2703 17.2558C10.5398 17.1486 10.7611 16.9734 10.9594 16.7751L19.0507 8.68382C20.0538 7.68067 19.8234 5.82274 18.5347 4.534Z"
fill=
"#4C97FF"
/>
</svg>
static/svgs/studio/activity-project.svg
0 → 100644
View file @
188b51bb
<svg
width=
"21"
height=
"20"
viewBox=
"0 0 21 20"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M6.79431 5C6.79431 4.44772 7.24203 4 7.79431 4H17.7943C18.3466 4 18.7943 4.44772 18.7943 5V12C18.7943 12.5523 18.3466 13 17.7943 13H7.79431C7.24203 13 6.79431 12.5523 6.79431 12V5Z"
fill=
"#4C97FF"
/>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M5.79431 7H4.79431C4.24203 7 3.79431 7.44772 3.79431 8V14C3.79431 15.1046 4.68974 16 5.79431 16H14.7943C15.3466 16 15.7943 15.5523 15.7943 15V14H7.79431C6.68974 14 5.79431 13.1046 5.79431 12V7ZM6.79431 7H14.7943C15.3466 7 15.7943 7.44772 15.7943 8V13H7.79431C7.24203 13 6.79431 12.5523 6.79431 12V7Z"
fill=
"#4C97FF"
/>
</svg>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment