Skip to content

Commit

Permalink
Show banner mentioning migration (#960)
Browse files Browse the repository at this point in the history
On Oct 26th II will undergo subnet migration. The banner gives users a
heads up.
  • Loading branch information
nmattia authored Oct 20, 2022
1 parent e0cbdbe commit d715046
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/frontend/src/banner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ import { anyFeatures } from "./features";
// Show a warning banner if the build is not "official". This happens if either the build
// is a flavored build, or if the origin is not 'identity.ic0.app'.
export const showWarningIfNecessary = (): void => {
showWarning(html`Internet Identity is moving to a new subnet and will be
partially unavailable on October 26th!
<a
class="features-warning-btn"
target="_blank"
rel="noopener noreferrer"
href="https://forum.dfinity.org/t/internet-identity-subnet-migration-on-october-26/15989"
>more</a
>`);
const officialUrl = "https://identity.ic0.app";
if (anyFeatures()) {
showWarning(html`Test only. Do not use your regular anchor!
Expand Down

0 comments on commit d715046

Please sign in to comment.