Skip to content

Commit

Permalink
Add home page improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
hsvikum committed Nov 10, 2023
1 parent 1036d1b commit 9083298
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,23 @@
background: var(--ifm-color-primary);
}

.hero__title {
margin-bottom: 5px;
}

.hero__title,
.hero__subtitle {
color: var(--ifm-color-primary);
text-align: left;
}

.hero--primary {
background-image: url('../../static/img/home-banner.jpg');
background-position: center center;
background-size: cover;
background-color: var(--ifm-color-primary);
}

.button {
border-radius: 50px;
padding: 14px 48px;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function HomepageHeader() {
<Link
className="button button--secondary button--lg"
to="/docs/intro">
Docusaurus Tutorial - 5min ⏱️
Get Started
</Link>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
text-align: center;
position: relative;
overflow: hidden;
min-height: 600px;
}

@media screen and (max-width: 996px) {
Expand All @@ -19,5 +20,4 @@
.buttons {
display: flex;
align-items: center;
justify-content: center;
}
Binary file added static/img/home-banner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9083298

Please sign in to comment.