Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KANBAN-619 Add Event Calendar page to New Menu #1387

Merged
merged 3 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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