Skip to content

Commit

Permalink
Merge pull request #1387 from alliance-genome/KANBAN-619
Browse files Browse the repository at this point in the history
KANBAN-619 Add Event Calendar page to New Menu
  • Loading branch information
motenko authored Dec 26, 2024
2 parents 6bc1817 + 205e5f1 commit 7c9a277
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
3 changes: 2 additions & 1 deletion bin/build_sitemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ var sitemap = sm.createSitemap({
{ url: '/administrative-supplement', changefreq: 'monthly', priority: 0.7, lastmodrealtime: true },
{ url: '/phenotypes-and-disease-models', changefreq: 'monthly', priority: 0.7, lastmodrealtime: true },
{ url: '/submit-data', changefreq: 'monthly', priority: 0.7, lastmodrealtime: true },
{ url: '/textpresso', changefreq: 'monthly', priority: 0.7, lastmodrealtime: true }
{ url: '/textpresso', changefreq: 'monthly', priority: 0.7, lastmodrealtime: true },
{ url: '/event-calendar', changefreq: 'monthly', priority: 0.7, lastmodrealtime: true }
]
});

Expand Down
4 changes: 4 additions & 0 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ export const NAV_MENU = [
{
label: 'Release Notes',
route: '/release-notes'
},
{
label: 'Event Calendar',
route: '/event-calendar'
}
]
},
Expand Down
20 changes: 18 additions & 2 deletions src/containers/homepage/AboutSection.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import WordpressInject from '../wordpress/wordpressInject';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faComments } from '@fortawesome/free-solid-svg-icons';
import { faComments, faCalendarDays } from '@fortawesome/free-solid-svg-icons';

import style from './style.module.scss';

Expand All @@ -13,6 +13,22 @@ const AboutSection = () => {
<div className='col-lg-12'>
<WordpressInject slug='agr-summary-homepage' />
</div>
<div className='col-md-4'>
<a
className='text-decoration-none'
href='/event-calendar'
rel="noopener noreferrer"
>
<div className='alert alert-secondary'>
<h4 className='alert-heading'>
<FontAwesomeIcon icon={faCalendarDays} /> Watch Live Events
</h4>
<p>
Register for scheduled webinars and view previous recorded Alliance events.
</p>
</div>
</a>
</div>
<div className='col-md-4'>
<a
className='text-decoration-none'
Expand All @@ -25,7 +41,7 @@ const AboutSection = () => {
<FontAwesomeIcon icon={faComments} /> Join the Alliance User Community
</h4>
<p>
Click here to access official announcements, ask questions, and view discussions with other members of the Alliance Community.
Access official announcements, ask questions, and view discussions with other members of the Alliance Community.
</p>
<p className='mb-0'>
Join today to stay up-to-date.
Expand Down

0 comments on commit 7c9a277

Please sign in to comment.