Unverified Commit b8265e08 authored by Andrey Azov's avatar Andrey Azov Committed by GitHub
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
...@@ -90,12 +90,3 @@ ...@@ -90,12 +90,3 @@
margin-left: 0.5rem; margin-left: 0.5rem;
margin-right: 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;
}
}
...@@ -99,20 +99,12 @@ const Launchbar = () => { ...@@ -99,20 +99,12 @@ const Launchbar = () => {
); );
}; };
// Temporarily disable the link to About Ensembl in production const AboutEnsembl = () => (
const AboutEnsembl = () =>
isEnvironment([Environment.DEVELOPMENT, Environment.INTERNAL]) ? (
<Link to="/about" className={styles.aboutEnsembl}> <Link to="/about" className={styles.aboutEnsembl}>
About the About the
<Logotype className={styles.logotype} /> <Logotype className={styles.logotype} />
team & its work team & its work
</Link> </Link>
) : ( );
<div className={styles.aboutEnsemblDisabled}>
About the
<Logotype className={styles.logotype} />
team & its work
</div>
);
export default Launchbar; export default Launchbar;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment