MCPcopy Create free account
hub / github.com/AVS1508/AVS1508.github.io / Header

Function Header

src/components/Header/Header.js:5–22  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

3import styles from "./Header.module.css";
4
5const Header = (props) => {
6 const backgroundStyle = {
7 Projects: styles.projects,
8 Experience: styles.experience,
9 Involvements: styles.involvements,
10 Achievements: styles.achievements,
11 };
12 return (
13 <Container
14 fluid
15 className={`${styles.container} ${backgroundStyle[props.title]}`}
16 >
17 <Row>
18 <h1 className={styles.headingOne}>{props.title}</h1>
19 </Row>
20 </Container>
21 );
22};
23
24export default Header;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected