Skip to content

Commit

Permalink
update banner
Browse files Browse the repository at this point in the history
  • Loading branch information
ksw2000 committed Oct 31, 2024
1 parent 2fdb257 commit ca6aa50
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/app/home/home.component.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.cover {
.cover, .cover-front {
width: 100%;
height: calc(100dvh - var(--mat-toolbar-standard-height));
background-size: cover;
Expand All @@ -8,8 +8,8 @@
}

@media (max-width: 599px) {
.cover {
padding-bottom: calc(100dvh - var(--mat-toolbar-mobile-height));
.cover, .cover-front {
height: calc(100dvh - var(--mat-toolbar-mobile-height));
}
}

Expand Down
4 changes: 3 additions & 1 deletion src/app/home/home.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<div class="cover" style="background-image: url('./assets/banner.svg');"></div>
<div class="cover" style="background-image: url('./assets/banner-bg.jpg');">
<div class="cover-front" style="background-image: url('./assets/banner.svg');"></div>
</div>
<div class="max-width-constraint two-columns">
<div class="two-columns-texts">
<h1>DevFest Taipei 2024</h1>
Expand Down
Binary file added src/assets/banner-bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/banner.svg
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 ca6aa50

Please sign in to comment.