Skip to content

Commit

Permalink
Remove the return null at first line ;-)
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierfacq committed Apr 18, 2024
1 parent f88c0f6 commit 7d00b2d
Showing 1 changed file with 8 additions and 11 deletions.
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;

0 comments on commit 7d00b2d

Please sign in to comment.