Skip to content

Commit

Permalink
add reference for people to add their talks
Browse files Browse the repository at this point in the history
  • Loading branch information
nimakaviani committed Jun 4, 2024
1 parent 89a770f commit aefa518
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/CNOENews/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import React from 'react';
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Grid from '@mui/material/Grid';
import axios from 'axios';
import yaml from 'js-yaml';
import React from 'react';
import AliceCarousel from 'react-alice-carousel';
import 'react-alice-carousel/lib/alice-carousel.css';
import clsx from 'clsx';
import styles from './styles.module.css';
import yaml from 'js-yaml';
import axios from 'axios';

const { useState, useEffect } = React;

Expand Down Expand Up @@ -70,7 +69,8 @@ export default function CNOENews() {

return (
<div className={styles.members}>
<h1 className="heading heading-center">In the News</h1>
<h1 className="heading heading-center">In the News</h1>
<a target="_blank" href="https://github.com/cnoe-io/website/blob/main/static/news/data.yaml" className={styles.addTalkLink}> ► Add your talk!</a>
<Grid container className="sliderStyle">
<Grid item xs={1}/>
<Grid item xs={10} >
Expand Down
13 changes: 13 additions & 0 deletions src/components/CNOENews/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,16 @@
color: var(--ifm-color-neutral-darker);
}

.addTalkLink {
display: block;
align: center;
text-align: center;
margin-top: -45px; /* Adjust this value as needed for less space */
margin-bottom: 20px; /* Adjust this value as needed for less space */
color: var(--ifm-color-primary); /* Adjust this to your preferred color */
text-decoration: none; /* Remove underline if preferred */
}

.addTalkLink:hover {
text-decoration: underline; /* Add underline on hover if preferred */
}

0 comments on commit aefa518

Please sign in to comment.