diff --git a/src/components/AdoptiumNews/index.tsx b/src/components/AdoptiumNews/index.tsx
index 33bac2363..1e2246d70 100644
--- a/src/components/AdoptiumNews/index.tsx
+++ b/src/components/AdoptiumNews/index.tsx
@@ -6,14 +6,6 @@ import LinkText from '../LinkText'
// - You can add a tag to create a link in the body
// - Dates must be with the format: "YYYY-MM-DD"
const predefinedAdoptiumNewsList = [
- {
- title: "Adoptium Summit 2024",
- body: "Be a part of the first-ever Adoptium Summit on September, 10.
Connect with peers to exchange knowledge on Temurin, AQAvit and other Adoptium's projects.
Register here",
- callToActionLink: 'https://www.eclipse.org/events/2024/adoptium-summit/',
- date: new Date('2024-09-10'),
- startDisplayAt: new Date('2024-08-01'),
- stopDisplayAfter: new Date('2024-09-10'),
- },
{
title: "Adoptium Summit 2024",
body: "Join us Today for the first-ever Adoptium Summit.
An opportunity to connect with other Adoptium community members.
Register here",
@@ -21,6 +13,14 @@ const predefinedAdoptiumNewsList = [
date: new Date('2024-09-10'),
startDisplayAt: new Date('2024-09-10'),
stopDisplayAfter: new Date('2024-09-11'),
+ },
+ {
+ title: "OCX 24: Join us at Open Community for Java",
+ body: "Join the Adoptium community at the Eclipse Foundation's flagship developer conference, held 22-24 October in Mainz, Germany. Register here: Java.OCXConf.org",
+ callToActionLink: 'https://www.ocxconf.org/event/778b82cc-6834-48a4-a58e-f883c5a7b8c9/websitePage:77f60b73-336c-43be-827d-8d8fcb1aaf64',
+ date: new Date('2024-09-10'),
+ startDisplayAt: new Date('2024-09-15'),
+ stopDisplayAfter: new Date('2024-10-24'),
}
]
diff --git a/src/components/DownloadDropdowns/index.tsx b/src/components/DownloadDropdowns/index.tsx
index 44f290859..d7565ccf8 100644
--- a/src/components/DownloadDropdowns/index.tsx
+++ b/src/components/DownloadDropdowns/index.tsx
@@ -127,7 +127,7 @@ const DownloadDropdowns = ({updaterAction, marketplace, Table}) => {
// @ts-ignore
let ext = gl && gl.getExtension('WEBGL_debug_renderer_info');
// @ts-ignore
- let param = ext && gl.getParameter(ext.UNMASKED_RENDERER_WEBGL) || "";
+ let param = (ext && gl.getParameter(ext.UNMASKED_RENDERER_WEBGL)) || "";
if (param.match(/Apple/) && !param.match(/Apple GPU/)) {
defaultSelectedArch = 'aarch64'
}
diff --git a/src/components/LatestTemurin/index.tsx b/src/components/LatestTemurin/index.tsx
index f2b1c1478..072597411 100644
--- a/src/components/LatestTemurin/index.tsx
+++ b/src/components/LatestTemurin/index.tsx
@@ -22,7 +22,7 @@ const LatestTemurin = (props): JSX.Element => {
// @ts-ignore
let ext = gl && gl.getExtension('WEBGL_debug_renderer_info');
// @ts-ignore
- let param = ext && gl.getParameter(ext.UNMASKED_RENDERER_WEBGL) || "";
+ let param = (ext && gl.getParameter(ext.UNMASKED_RENDERER_WEBGL)) || "";
isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
//Detect if the user is using a Apple GPU (M1)
if (isSafari || (param.match(/Apple/) && !param.match(/Apple GPU/))) {
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 64e3f2da2..796e48a0a 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -6,7 +6,6 @@ import { StaticImage } from 'gatsby-plugin-image'
import Layout from '../components/Layout'
import Seo from '../components/Seo'
import LatestTemurin from '../components/LatestTemurin'
-import AdoptiumNews from '../components/AdoptiumNews'
import { Slice } from 'gatsby'
const IndexPage = ({data}) => {
diff --git a/src/pages/news.tsx b/src/pages/news.tsx
index e5733f5e1..5b5dc7ca6 100644
--- a/src/pages/news.tsx
+++ b/src/pages/news.tsx
@@ -51,7 +51,7 @@ const NewsPage = (): JSX.Element => {
showFirstButton
showLastButton
/>
- : null}
+ : null}
View all
|
Submit news