Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Router from "next/router";
import { Provider } from "react-redux";
import initStore from "../src/store";
import Meta from "../src/components/Meta";
import MigrationBanner from "../src/components/MigrationBanner";

class MyApp extends App {
static async getInitialProps({ Component, ctx }) {
Expand All @@ -22,6 +23,7 @@ class MyApp extends App {
return (
<React.Fragment>
<Meta />
<MigrationBanner />
<Container>
<Provider store={store}>
<Component {...pageProps} />
Expand Down
2 changes: 0 additions & 2 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import PageLoader from "../src/components/UI/PageLoader";
import { brandOrange } from "../src/styles/variables";

const bannerStyle = css`
position: absolute;
top: 0;
width: 100%;
padding: 5px 0px;
background: #ff9933;
Expand Down
35 changes: 35 additions & 0 deletions src/components/MigrationBanner.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import React from "react";
/** @jsx jsx */
import { css, jsx } from "@emotion/core";
import { brandOrange } from "../styles/variables";

const MIGRATION_GUIDE_URL =
"https://docs.opencerts.io/docs/migrations/oa_to_trustvc";

const bannerStyle = css`
width: 100%;
padding: 5px 0px;
background: ${brandOrange};
text-align: center;
font-weight: bold;
`;

const MigrationBanner = () => (
<div css={css(bannerStyle)}>
Please note that as of 1 October 2025, OpenAttestation (OA) has been
deprecated. OpenCerts has since migrated to TrustVC, which uses the W3C
Verifiable Credentials (VC) format.
<br />
Documents previously issued in OA format remain verifiable — no action is
required for existing certificates. However, we recommend upgrading to the
W3C VC format for all new issuances.
<br />
To migrate, please refer to our{" "}
<a href={MIGRATION_GUIDE_URL} target="_blank" rel="noopener noreferrer">
migration guide
</a>
.
</div>
);

export default MigrationBanner;
Loading