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 the return null at first line ;-) #2792

Merged
merged 1 commit into from
Apr 18, 2024
Merged
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
19 changes: 8 additions & 11 deletions src/components/Banner/index.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
import React from 'react';

const Banner = () => {
return null;

// The following is an example that can be used for future banner alert
// Comment Out The Above Line ( return null ; ) and uncomment the below

return (
<div className="alert text-white alert-dismissible fade show mb-0 text-center" style={{ backgroundColor: '#ff1464' }} role="alert">
<strong className='p-1'>16th April 2024:</strong>
We are creating the April 2024 PSU binaries for Eclipse Temurin 8u412, 11.0.23, 17.0.11, 21.0.3 and 22.0.1<br/>
You can track progress <a className='alert-link p-1 text-white' href="https://github.com/adoptium/temurin/issues/38">by platform</a>.
<button type="button" className="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
);

return (
<div className="alert text-white alert-dismissible fade show mb-0 text-center" style={{ backgroundColor: '#ff1464' }} role="alert">
<strong className='p-1'>16th April 2024:</strong>
We are creating the April 2024 PSU binaries for Eclipse Temurin 8u412, 11.0.23, 17.0.11, 21.0.3 and 22.0.1<br/>
You can track progress <a className='alert-link p-1 text-white' href="https://github.com/adoptium/temurin/issues/38">by platform</a>.
<button type="button" className="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
);
};

export default Banner;
Loading