Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ function HomepageHeader() {
return (
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container">
<Heading as="h1" className="hero__title">
{siteConfig.title}
</Heading>
<div className={styles.logoContainer}>
<img src="/images/logos/Principal.svg" alt={siteConfig.title} className={styles.heroLogo} />
</div>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link
Expand Down
19 changes: 18 additions & 1 deletion src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

.heroBanner {
padding: 4rem 0;
padding: 1rem 0;
text-align: center;
position: relative;
overflow: hidden;
Expand All @@ -16,6 +16,23 @@
}
}

.logoContainer {
margin-bottom: 0.5rem;
}

.heroLogo {
height: 500px;
width: auto;
max-width: 100%;
filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

@media screen and (max-width: 996px) {
.heroLogo {
height: 350px;
}
}

.buttons {
display: flex;
align-items: center;
Expand Down
37 changes: 37 additions & 0 deletions static/images/logos/Principal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading