Skip to content

Commit 4daff08

Browse files
authored
Merge pull request #2 from CodigoSinSiesta/feature/white-logo-light-mode
Revert Principal logo 'g' letter color back to white
2 parents 42904c0 + d376b1c commit 4daff08

6 files changed

Lines changed: 61 additions & 6 deletions

File tree

src/pages/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ function HomepageHeader() {
1212
return (
1313
<header className={clsx('hero hero--primary', styles.heroBanner)}>
1414
<div className="container">
15-
<Heading as="h1" className="hero__title">
16-
{siteConfig.title}
17-
</Heading>
15+
<div className={styles.logoContainer}>
16+
<img src="/images/logos/Principal.svg" alt={siteConfig.title} className={styles.heroLogo} />
17+
</div>
1818
<p className="hero__subtitle">{siteConfig.tagline}</p>
1919
<div className={styles.buttons}>
2020
<Link

src/pages/index.module.css

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
.heroBanner {
7-
padding: 4rem 0;
7+
padding: 1rem 0;
88
text-align: center;
99
position: relative;
1010
overflow: hidden;
@@ -16,6 +16,23 @@
1616
}
1717
}
1818

19+
.logoContainer {
20+
margin-bottom: 0.5rem;
21+
}
22+
23+
.heroLogo {
24+
height: 500px;
25+
width: auto;
26+
max-width: 100%;
27+
filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
28+
}
29+
30+
@media screen and (max-width: 996px) {
31+
.heroLogo {
32+
height: 350px;
33+
}
34+
}
35+
1936
.buttons {
2037
display: flex;
2138
align-items: center;

static/images/logos/Principal.svg

Lines changed: 37 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)