-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bda3953
commit a957e26
Showing
5 changed files
with
45 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import React from 'react'; | ||
import UptaneCubes from '@site/static/img/uptane_hero_img.svg'; | ||
import styles from './styles.module.css'; | ||
import ThemedImage from '@theme/ThemedImage'; | ||
import useBaseUrl from '@docusaurus/useBaseUrl'; | ||
import Link from '@docusaurus/Link'; | ||
|
||
export default function Header() { | ||
const headerBackClasses = `${styles.header_back} ${styles.section_padding}`; | ||
const customButtonClasses = `button button--lg ${styles.customButtonStyle}`; | ||
|
||
return ( | ||
<div className={headerBackClasses}> | ||
<div className={styles.header_content}> | ||
<ThemedImage | ||
alt="Supported By Logo" | ||
width="300px" | ||
sources={{ | ||
light: useBaseUrl('/img/uptaneLogoHero.svg'), | ||
dark: useBaseUrl('/img/uptaneLogoHero.svg'), | ||
}} | ||
/> | ||
<h3>A Secure Software Update Framework for Automobiles</h3> | ||
<div className={styles.header_content_buttons}> | ||
<Link to="/learn-more/getting-started" className={customButtonClasses}>Learn More</Link> | ||
</div> | ||
</div> | ||
<div className={styles.header_image}> | ||
<UptaneCubes title="uptane Cubes" width="100%" /> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,7 +68,7 @@ | |
line-height: 60px; | ||
} | ||
|
||
.header_back h3 { | ||
.tag-line { | ||
font-size: 25px; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters