diff --git a/__tests__/Literature/GenerativeQAInput.spec.tsx b/__tests__/Literature/GenerativeQAInput.spec.tsx index 8b390abeb..98b501a1d 100644 --- a/__tests__/Literature/GenerativeQAInput.spec.tsx +++ b/__tests__/Literature/GenerativeQAInput.spec.tsx @@ -151,8 +151,8 @@ describe('GenerativeQAInput', () => { await selectSuggestion('Paper'); await selectSuggestion('Journal Paper'); - expectOptionsToBeSelected(['paper', 'journal paper'].map(startCase)); - expectOptionsNotToBeSelected(['abstract'].map(startCase)); + expectOptionsToBeSelected(['paper', 'journal-paper']); + expectOptionsNotToBeSelected(['abstract']); }); test('shows journal suggestions even if user has not started typing', async () => { @@ -379,7 +379,12 @@ describe('GenerativeQAInput', () => { const expectOptionsToBeSelected = (options: string[]) => { options.forEach((option) => { - expect(screen.getByText(option, { selector: selectedOptionsSelector })).toBeVisible(); + expect( + // Exact match for "option" but ignore case. + screen.getByText(new RegExp(`^${option}$`, 'i'), { + selector: selectedOptionsSelector, + }) + ).toBeVisible(); }); }; diff --git a/public/downloads/biological_fidelity_Model_validations.pdf b/public/downloads/biological_fidelity_Model_validations.pdf new file mode 100644 index 000000000..dd2175a86 Binary files /dev/null and b/public/downloads/biological_fidelity_Model_validations.pdf differ diff --git a/public/downloads/intro_to_digital_brains.pdf b/public/downloads/intro_to_digital_brains.pdf new file mode 100644 index 000000000..98a765c67 Binary files /dev/null and b/public/downloads/intro_to_digital_brains.pdf differ diff --git a/public/downloads/open_blue_brain_platform_introduction.pdf b/public/downloads/open_blue_brain_platform_introduction.pdf new file mode 100644 index 000000000..3a1862f47 Binary files /dev/null and b/public/downloads/open_blue_brain_platform_introduction.pdf differ diff --git a/public/images/about/timeline/bbp_timeline_step-hippocampus.png b/public/images/about/timeline/bbp_timeline_step-hippocampus.png deleted file mode 100644 index d804a24f7..000000000 Binary files a/public/images/about/timeline/bbp_timeline_step-hippocampus.png and /dev/null differ diff --git a/public/images/about/timeline/bbp_timeline_step-hippocampus.webp b/public/images/about/timeline/bbp_timeline_step-hippocampus.webp new file mode 100644 index 000000000..76d7e2d45 Binary files /dev/null and b/public/images/about/timeline/bbp_timeline_step-hippocampus.webp differ diff --git a/public/images/about/timeline/bbp_timeline_step-microcircuit.png b/public/images/about/timeline/bbp_timeline_step-microcircuit.png deleted file mode 100644 index 779312327..000000000 Binary files a/public/images/about/timeline/bbp_timeline_step-microcircuit.png and /dev/null differ diff --git a/public/images/about/timeline/bbp_timeline_step-microcircuit.webp b/public/images/about/timeline/bbp_timeline_step-microcircuit.webp new file mode 100644 index 000000000..9a6570457 Binary files /dev/null and b/public/images/about/timeline/bbp_timeline_step-microcircuit.webp differ diff --git a/public/images/about/timeline/bbp_timeline_step-neocortex.png b/public/images/about/timeline/bbp_timeline_step-neocortex.png deleted file mode 100644 index 528165516..000000000 Binary files a/public/images/about/timeline/bbp_timeline_step-neocortex.png and /dev/null differ diff --git a/public/images/about/timeline/bbp_timeline_step-neocortex.webp b/public/images/about/timeline/bbp_timeline_step-neocortex.webp new file mode 100644 index 000000000..c9a171d48 Binary files /dev/null and b/public/images/about/timeline/bbp_timeline_step-neocortex.webp differ diff --git a/public/images/about/timeline/bbp_timeline_step-ngv_system.png b/public/images/about/timeline/bbp_timeline_step-ngv_system.png deleted file mode 100644 index 0d2db9bff..000000000 Binary files a/public/images/about/timeline/bbp_timeline_step-ngv_system.png and /dev/null differ diff --git a/public/images/about/timeline/bbp_timeline_step-ngv_system.webp b/public/images/about/timeline/bbp_timeline_step-ngv_system.webp new file mode 100644 index 000000000..b0a4b57a9 Binary files /dev/null and b/public/images/about/timeline/bbp_timeline_step-ngv_system.webp differ diff --git a/public/images/about/timeline/bbp_timeline_step-point_neuron.png b/public/images/about/timeline/bbp_timeline_step-point_neuron.png deleted file mode 100644 index 7df64a55d..000000000 Binary files a/public/images/about/timeline/bbp_timeline_step-point_neuron.png and /dev/null differ diff --git a/public/images/about/timeline/bbp_timeline_step-point_neuron.webp b/public/images/about/timeline/bbp_timeline_step-point_neuron.webp new file mode 100644 index 000000000..dff8ec3d2 Binary files /dev/null and b/public/images/about/timeline/bbp_timeline_step-point_neuron.webp differ diff --git a/public/images/about/timeline/bbp_timeline_step-somatosensorycortex.png b/public/images/about/timeline/bbp_timeline_step-somatosensorycortex.png deleted file mode 100644 index 1b624a3dd..000000000 Binary files a/public/images/about/timeline/bbp_timeline_step-somatosensorycortex.png and /dev/null differ diff --git a/public/images/about/timeline/bbp_timeline_step-somatosensorycortex.webp b/public/images/about/timeline/bbp_timeline_step-somatosensorycortex.webp new file mode 100644 index 000000000..83563260d Binary files /dev/null and b/public/images/about/timeline/bbp_timeline_step-somatosensorycortex.webp differ diff --git a/public/images/about/timeline/bbp_timeline_step-thalamus.png b/public/images/about/timeline/bbp_timeline_step-thalamus.png deleted file mode 100644 index deee10554..000000000 Binary files a/public/images/about/timeline/bbp_timeline_step-thalamus.png and /dev/null differ diff --git a/public/images/about/timeline/bbp_timeline_step-thalamus.webp b/public/images/about/timeline/bbp_timeline_step-thalamus.webp new file mode 100644 index 000000000..fe2076351 Binary files /dev/null and b/public/images/about/timeline/bbp_timeline_step-thalamus.webp differ diff --git a/public/images/about/timeline/bbp_timeline_step-whole_brain_last.webp b/public/images/about/timeline/bbp_timeline_step-whole_brain_last.webp new file mode 100644 index 000000000..3aa658f9f Binary files /dev/null and b/public/images/about/timeline/bbp_timeline_step-whole_brain_last.webp differ diff --git a/public/images/logo.png b/public/images/logo.png new file mode 100644 index 000000000..00ac0b6d9 Binary files /dev/null and b/public/images/logo.png differ diff --git a/src/app/about/layout.tsx b/src/app/about/layout.tsx index 5b209cdb4..6cc2bad9e 100644 --- a/src/app/about/layout.tsx +++ b/src/app/about/layout.tsx @@ -1,6 +1,8 @@ 'use client'; import { ReactNode } from 'react'; +import { Alert } from 'antd'; +import { useQueryState } from 'nuqs'; import { Gabarito } from 'next/font/google'; @@ -19,6 +21,10 @@ const gabarito = Gabarito({ }); export default function AboutPageLayout({ children }: Props) { + const [warning, setWarning] = useQueryState('warning', { + clearOnDefault: true, + defaultValue: '', + }); return (
{paragraph}
))}