Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.
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
Binary file removed public/static/images/events/mlboot/session1.jpg
Binary file not shown.
Binary file removed public/static/images/events/mlboot/session2.jpg
Binary file not shown.
Binary file removed public/static/images/events/workshops/api.png
Binary file not shown.
31 changes: 3 additions & 28 deletions src/views/pages/HomeView/Events.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ import {
import Card from '@material-ui/core/Card';
import CardContent from '@material-ui/core/CardContent';
import CardMedia from '@material-ui/core/CardMedia';
import { events } from './HomeViewData';

const useStyles = makeStyles(theme => ({
const useStyles = makeStyles((theme) => ({
root: {
backgroundColor: theme.palette.background.LIGHT,
padding: '30px 0',
Expand All @@ -40,7 +41,7 @@ const useStyles = makeStyles(theme => ({
position: 'relative',
},
cardMedia: {
paddingTop: '61.25%', // 16:9
paddingTop: '55.75%', // set 61.25% for 16:9 or highresolution images--- currently set to 55.75% to fit hqquality images.
},
cardContent: {
flexGrow: 1
Expand Down Expand Up @@ -88,32 +89,6 @@ const useStyles = makeStyles(theme => ({
backgroundColor: '#00FF75'
},
}));
const events = [
{
img: '/static/images/events/mlboot/session2.jpg',
title: 'Machine Learning',
link: 'https://www.youtube.com/watch?v=FAposp6k-lA',
type: 'Webinar',
description: 'Image Processing with NumPy and OpenCV',
date_time: 'July 12, 7pm IST'
},
{
img: '/static/images/events/mlboot/session1.jpg',
title: 'Machine Learning',
link: 'https://www.youtube.com/watch?v=ycvSMpsg7qk',
type: 'Webinar',
description: 'Introduction to Machine Learning',
date_time: 'July 11, 7pm IST'
},
{
img: '/static/images/events/workshops/api.png',
title: 'Web Development',
link: 'https://www.youtube.com/watch?v=QHS7_IwTMcc',
type: 'Webinar',
description: 'What is Web API? Hands-on with GitHub API',
date_time: 'July 7, 6pm IST'
}
];

function Events({ className, ...rest }) {
const classes = useStyles();
Expand Down
28 changes: 28 additions & 0 deletions src/views/pages/HomeView/HomeViewData.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
// event data------------------
export const events = [
{
img: 'https://img.youtube.com/vi/bAp8YJAJ5Ek/hqdefault.jpg',
title: 'Machine Learning',
link: 'https://www.youtube.com/watch?v=bAp8YJAJ5Ek',
type: 'Webinar',
description: 'Collecting and Generating data with Pandas',
date_time: 'July 16, 7pm IST'
},
{
img: 'https://img.youtube.com/vi/Ir9FNhoPyYc/hqdefault.jpg',
title: 'Machine Learning Web',
link: 'https://www.youtube.com/watch?v=Ir9FNhoPyYc',
type: 'Webinar',
description: 'Machine Learning for the web with TensorFlow.js',
date_time: 'July 19, 9:30pm IST'
},
{
img: 'https://img.youtube.com/vi/QHS7_IwTMcc/hqdefault.jpg',
title: 'Web Development',
link: 'https://www.youtube.com/watch?v=QHS7_IwTMcc',
type: 'Webinar',
description: 'What is Web API? Hands-on with GitHub API',
date_time: 'July 7, 6pm IST'
}
];

// mentors data----------------

export const mentors = [
Expand Down