Dejvino's Curriculum Vitae
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
515 B

  1. import React, { useContext } from 'react';
  2. import Container from 'react-bootstrap/Container';
  3. import Image from 'react-bootstrap/Image'
  4. import { PersonContext } from './PersonContext';
  5. export default function AboutBrief() {
  6. const person = useContext(PersonContext)
  7. return (
  8. <Container className='about-brief'>
  9. <Image alt='Photograph of the person' rounded={true} src='photo.png'></Image>
  10. <h1>{person.name}</h1>
  11. <p className='brief'>{person.brief}</p>
  12. </Container>
  13. )
  14. }