Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-web
ensembl-client
Commits
b8265e08
Unverified
Commit
b8265e08
authored
Aug 20, 2021
by
Andrey Azov
Committed by
GitHub
Aug 20, 2021
Browse files
Enable About Ensembl link in the Launchbar in production (#558)
parent
822e96af
Pipeline
#186357
passed with stages
in 6 minutes and 44 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
24 deletions
+7
-24
src/ensembl/src/header/launchbar/Launchbar.scss
src/ensembl/src/header/launchbar/Launchbar.scss
+0
-9
src/ensembl/src/header/launchbar/Launchbar.tsx
src/ensembl/src/header/launchbar/Launchbar.tsx
+7
-15
No files found.
src/ensembl/src/header/launchbar/Launchbar.scss
View file @
b8265e08
...
...
@@ -90,12 +90,3 @@
margin-left
:
0
.5rem
;
margin-right
:
0
.5rem
;
}
// For disabling temporarily the about Ensembl link in production
.aboutEnsemblDisabled
{
color
:
$medium-dark-grey
;
.logotype
{
fill
:
$medium-dark-grey
;
}
}
src/ensembl/src/header/launchbar/Launchbar.tsx
View file @
b8265e08
...
...
@@ -99,20 +99,12 @@ const Launchbar = () => {
);
};
// Temporarily disable the link to About Ensembl in production
const
AboutEnsembl
=
()
=>
isEnvironment
([
Environment
.
DEVELOPMENT
,
Environment
.
INTERNAL
])
?
(
<
Link
to
=
"/about"
className
=
{
styles
.
aboutEnsembl
}
>
About the
<
Logotype
className
=
{
styles
.
logotype
}
/>
team
&
its work
</
Link
>
)
:
(
<
div
className
=
{
styles
.
aboutEnsemblDisabled
}
>
About the
<
Logotype
className
=
{
styles
.
logotype
}
/>
team
&
its work
</
div
>
);
const
AboutEnsembl
=
()
=>
(
<
Link
to
=
"/about"
className
=
{
styles
.
aboutEnsembl
}
>
About the
<
Logotype
className
=
{
styles
.
logotype
}
/>
team
&
its work
</
Link
>
);
export
default
Launchbar
;
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