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 @@
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;
}
}
......@@ -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;
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