Skip to content

Commit

Permalink
Merge pull request #172 from jlbutler/neutrality-engage
Browse files Browse the repository at this point in the history
[nit] front page update for docs site
  • Loading branch information
a-hilaly authored Dec 19, 2024
2 parents 67fd869 + 2b0dfdc commit 9070eb8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 21 deletions.
4 changes: 2 additions & 2 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ article {
background-color: var(--ifm-navbar-link-hover-color);
}

[data-theme='dark'] .awsFooter {
[data-theme='dark'] .kroFooter {
background-color: var(--main-color-dark);
}

Expand Down Expand Up @@ -167,4 +167,4 @@ div[class^="announcementBar_"] {
overflow: hidden;
height: 100%;
opacity: 1;
}
}
17 changes: 3 additions & 14 deletions website/src/theme/Footer/footer.module.css
Original file line number Diff line number Diff line change
@@ -1,29 +1,18 @@
.awsFooter {
.kroFooter {
display: flex;
justify-content: center;
align-items: center;
background-color: var(--main-color);
color: white;
}

[data-theme='dark'] .awsFooter {
[data-theme='dark'] .kroFooter {
background-color: var(--main-color-dark);
}

.awsFooterText {
.kroFooterText {
padding: 2.5px;
font-size: 1.1rem;
font-weight: bold;
margin: auto;
}

.awsFooterTextHeart {
content: url("@site/static/img/heart.svg");
margin-left: 6px;
margin-right: 6px;
height: 18px;
max-height: 18px;
margin: auto;
padding: 0;
padding-top: 2px;
}
7 changes: 2 additions & 5 deletions website/src/theme/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,10 @@ import styles from './footer.module.css';
type Props = WrapperProps<typeof FooterType>;

export default function FooterWrapper(props) {
const heart = require('@site/static/img/heart.svg').default;
return (
<>
<section className={styles.awsFooter} >
<p className={styles.awsFooterText}>Built with&ensp;
<img alt="heart" className={styles.awsFooterTextHeart} />
&ensp;at AWS</p>
<section className={styles.kroFooter}>
<p></p>
</section>
<Footer {...props} />
<script
Expand Down

0 comments on commit 9070eb8

Please sign in to comment.