-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "feat(temporary banners) (#517)"
This reverts commit 2f51e07.
- Loading branch information
1 parent
2f51e07
commit c354872
Showing
6 changed files
with
20 additions
and
485 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
import React from "react"; | ||
import * as Sentry from "@sentry/browser"; | ||
import { createGlobalStyle } from "styled-components"; | ||
import Head from "next/head"; | ||
import { Announcement } from "pcx-shared-components/src/common/Announcement"; | ||
import Head from 'next/head' | ||
|
||
Sentry.init({ | ||
dsn: "https://[email protected]/16", | ||
|
@@ -32,19 +31,6 @@ function App({ Component, pageProps }) { | |
</Head> | ||
<GlobalStyles /> | ||
<Component {...pageProps} /> | ||
|
||
<div | ||
style={{ | ||
position: "fixed", | ||
top: 0, | ||
left: 0, | ||
right: 0, | ||
padding: 20, | ||
zIndex: 1000, | ||
}} | ||
> | ||
<Announcement type="issue" title="Weekend Maintenance Alert" /> | ||
</div> | ||
</> | ||
); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,31 +8,14 @@ import "rc-slider/assets/index.css"; | |
import "../styles/App.css"; | ||
import * as Sentry from "@sentry/browser"; | ||
import type { AppProps } from "next/app"; | ||
import { Announcement } from "pcx-shared-components/src/common/Announcement"; | ||
|
||
Sentry.init({ | ||
dsn: "https://[email protected]/17", | ||
}); | ||
|
||
// eslint-disable-next-line | ||
function App({ Component, pageProps }: AppProps) { | ||
return ( | ||
<> | ||
<Component {...pageProps} /> | ||
<div | ||
style={{ | ||
position: "fixed", | ||
top: 0, | ||
left: 0, | ||
right: 0, | ||
padding: 20, | ||
zIndex: 1000, | ||
}} | ||
> | ||
<Announcement type="issue" title="Weekend Maintenance Alert" /> | ||
</div> | ||
</> | ||
); | ||
return <Component {...pageProps} />; | ||
} | ||
|
||
export default App; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.