import { Fragment } from 'react'; import axios from 'axios' import ReactMarkdown from 'react-markdown/with-html'; import HeadTag from '../components/HeadTag'; const About = (props) => { return (

À-propos

(README.md du GitHub)

{ if (uri.startsWith('./')) { return `https://github.com/Divlo/FunctionProject/blob/master/${uri.slice(2)}`; } return uri; }} />
); } export async function getServerSideProps(_context) { const { data } = await axios.get('https://raw.githubusercontent.com/Divlo/FunctionProject/master/README.md'); return { props: { data } }; } export default About;