Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
7ab7c23d
Commit
7ab7c23d
authored
Jan 24, 2023
by
Lyza Danger Gardner
Committed by
Lyza Gardner
Jan 26, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add local `logo` SVG source for use in groups menu
parent
f44903b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
logo.svg
src/images/icons/logo.svg
+7
-0
groups.js
src/sidebar/services/groups.js
+1
-4
No files found.
src/images/icons/logo.svg
0 → 100644
View file @
7ab7c23d
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"24px"
height=
"28px"
viewBox=
"0 0 24 28"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<rect
fill=
"#ffffff"
stroke=
"none"
width=
"17.14407"
height=
"16.046612"
x=
"3.8855932"
y=
"3.9449153"
/>
<g
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<path
d=
"M0,2.00494659 C0,0.897645164 0.897026226,0 2.00494659,0 L21.9950534,0 C23.1023548,0 24,0.897026226 24,2.00494659 L24,21.9950534 C24,23.1023548 23.1029738,24 21.9950534,24 L2.00494659,24 C0.897645164,24 0,23.1029738 0,21.9950534 L0,2.00494659 Z M9,24 L12,28 L15,24 L9,24 Z M7.00811294,4 L4,4 L4,20 L7.00811294,20 L7.00811294,15.0028975 C7.00811294,12.004636 8.16824717,12.0097227 9,12 C10,12.0072451 11.0189302,12.0606714 11.0189302,14.003477 L11.0189302,20 L14.0270431,20 L14.0270431,13.1087862 C14.0270433,10 12,9.00309038 10,9.00309064 C8.01081726,9.00309091 8,9.00309086 7.00811294,11.0019317 L7.00811294,4 Z M19,19.9869002 C20.1045695,19.9869002 21,19.0944022 21,17.9934501 C21,16.892498 20.1045695,16 19,16 C17.8954305,16 17,16.892498 17,17.9934501 C17,19.0944022 17.8954305,19.9869002 19,19.9869002 Z"
fill=
"currentColor"
></path>
</g>
</svg>
\ No newline at end of file
src/sidebar/services/groups.js
View file @
7ab7c23d
...
@@ -11,11 +11,8 @@ import { watch } from '../util/watch';
...
@@ -11,11 +11,8 @@ import { watch } from '../util/watch';
const
DEFAULT_ORG_ID
=
'__default__'
;
const
DEFAULT_ORG_ID
=
'__default__'
;
// @ts-ignore - TS doesn't know about SVG files.
// @ts-ignore - TS doesn't know about SVG files.
import
{
logo
}
from
'@hypothesis/frontend-shared/lib/icons
'
;
import
{
default
as
logo
}
from
'../../images/icons/logo.svg
'
;
/**
* FIXME: There is almost assuredly a better way to handle a fallback, default logo
*/
const
DEFAULT_ORGANIZATION
=
{
const
DEFAULT_ORGANIZATION
=
{
id
:
DEFAULT_ORG_ID
,
id
:
DEFAULT_ORG_ID
,
name
:
'__DEFAULT__'
,
name
:
'__DEFAULT__'
,
...
...
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