Skip to content

Commit

Permalink
Fix nav and add new partners (#1318)
Browse files Browse the repository at this point in the history
* Add NDC and NewDay as partners

* Update Navigation

* Optimised images with calibre/image-actions

* run prettier

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
wordshaker and github-actions[bot] authored Sep 11, 2023
1 parent c7ae7b6 commit e88f81f
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 15 deletions.
26 changes: 13 additions & 13 deletions components/Navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ export default function Navigation() {
<Nav.Link href="/agenda">Agenda</Nav.Link>
</Nav.Item>

<Nav.Item>
<Nav.Link href="/2023/notable-companies">
Sponsors and Partners
</Nav.Link>
</Nav.Item>

<NavDropdown
tabIndex="0"
title="Information"
Expand All @@ -48,24 +54,24 @@ export default function Navigation() {
>
About Us
</NavDropdown.Item>
<NavDropdown.Item
{/* <NavDropdown.Item
id="covid-precautions"
tabIndex="0"
href="/information/covid-precautions"
title="Link to Covid Precautions Page"
>
Covid Precautions
</NavDropdown.Item>
<NavDropdown.Item
</NavDropdown.Item> */}
{/* <NavDropdown.Item
id="supporting-speakers"
tabIndex="0"
href="/information/supporting-speakers"
title="Link to Supporting Speakers Page"
>
Supporting Speakers
</NavDropdown.Item>
</NavDropdown.Item> */}
<NavDropdown.Item
id="accessibility-information"
id="activities"
tabIndex="0"
href="/information/event-activities"
title="Link to Event Activites Page"
Expand Down Expand Up @@ -106,7 +112,7 @@ export default function Navigation() {
</NavDropdown.Item>
</NavDropdown>

<NavDropdown
{/* <NavDropdown
tabIndex="0"
title="Sponsor"
id="basic-sponsor-nav-dropdown"
Expand Down Expand Up @@ -151,7 +157,7 @@ export default function Navigation() {
>
Testimonials
</NavDropdown.Item>
</NavDropdown>
</NavDropdown> */}

<NavDropdown
tabIndex="0"
Expand Down Expand Up @@ -184,12 +190,6 @@ export default function Navigation() {
</NavDropdown.Item>
</NavDropdown>

<Nav.Item>
<Nav.Link href="/2023/notable-companies">
Notable Companies
</Nav.Link>
</Nav.Item>

<NavDropdown
tabIndex="0"
title="Past Events"
Expand Down
12 changes: 12 additions & 0 deletions data/sponsors/partners.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ const partners = [
image: '/static/partners/ntu.png',
link: 'https://www.ntu.ac.uk/study-and-courses/academic-schools/science-and-technology/Computer-Science',
},
{
id: 5,
name: 'NewDay',
image: '/static/partners/newday.png',
link: 'https://www.newday.co.uk/careers/',
},
{
id: 4,
name: 'NDC Conferences',
image: '/static/partners/ndc.png',
link: 'https://ndclondon.com/',
},
];

export default partners;
4 changes: 2 additions & 2 deletions pages/2023/notable-companies.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export default function NotableCompaniesComponent() {
return (
<Layout>
<Head>
<title>Notable Companies</title>
<title>Sponsors and Partners</title>
</Head>
<Header
title={'Notable Companies'}
title={'Sponsors and Partners'}
banner="/static/banners/album.jpg"
/>

Expand Down
Binary file added public/static/partners/ndc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/partners/newday.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e88f81f

Please sign in to comment.