Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove temporary banners from app layouts #6479

Merged
merged 1 commit into from
Nov 21, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -53,44 +53,6 @@ function StandardLayout({ children, page = '' }) {

return (
<PageBox className={className} data-testid='project-page' border={border}>
<details
style={{
padding: '5px clamp(20px, 3vw, 30px)',
fontSize: '1rem',
lineHeight: 1.2,
color: '#000',
background: '#f0b200'
}}
>
<summary style={{ fontWeight: 'bold', cursor: 'pointer' }}>
Platform downtime scheduled on Wednesday November 20.
</summary>
<p style={{ paddingInline: '15px' }}>
The Zooniverse platform will be offline for scheduled maintenance on
Wednesday, November 20 from 4pm-10pm US Central Standard Time
(2024-11-20 22:00 UTC to 2024-11-21 4:00 UTC). During this period, all
projects and platform services will be inaccessible. We apologize for
the inconvenience; this maintenance is necessary to make updates to
platform infrastructure and improve long-term reliability and uptime.
Please visit{' '}
<a
href='https://status.zooniverse.org/incident/1019747'
target='_blank'
style={{ color: '#000' }}
>
status.zooniverse.org
</a>{' '}
for updates before and during the downtime period. For any additional
questions, please email{' '}
<a
style={{ color: '#000' }}
href='mailto:[email protected]'
>
[email protected]
</a>
.
</p>
</details>
{page !== 'home' && <HeaderComponents adminMode={adminMode} />}
{children}
<ZooFooter
Expand Down
38 changes: 0 additions & 38 deletions packages/app-root/src/components/RootLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,44 +6,6 @@ export default function RootLayout({ children }) {
return (
<body>
<PageContextProviders>
<details
style={{
padding: '5px clamp(20px, 3vw, 30px)',
fontSize: '1rem',
lineHeight: 1.2,
color: '#000',
background: '#f0b200'
}}
>
<summary style={{ fontWeight: 'bold', cursor: 'pointer' }}>
Platform downtime scheduled on Wednesday November 20.
</summary>
<p style={{ paddingInline: '15px' }}>
The Zooniverse platform will be offline for scheduled maintenance on
Wednesday, November 20 from 4pm-10pm US Central Standard Time
(2024-11-20 22:00 UTC to 2024-11-21 4:00 UTC). During this period, all
projects and platform services will be inaccessible. We apologize for
the inconvenience; this maintenance is necessary to make updates to
platform infrastructure and improve long-term reliability and uptime.
Please visit{' '}
<a
href='https://status.zooniverse.org/incident/1019747'
target='_blank'
style={{ color: '#000' }}
>
status.zooniverse.org
</a>{' '}
for updates before and during the downtime period. For any additional
questions, please email{' '}
<a
style={{ color: '#000' }}
href='mailto:[email protected]'
>
[email protected]
</a>
.
</p>
</details>
<PageHeader />
{children}
<PageFooter />
Expand Down