Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mobile background and fix regular background #159

Merged
merged 2 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
18 changes: 14 additions & 4 deletions apps/site/src/app/(home)/sections/Landing/Landing.module.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
@use "bootstrap-utils" as bootstrap;

.landing {
padding-top: 121.27%;
background-image: url("~@/assets/background/ocean-sand-background.svg");
padding-top: 216.82%;
background-image: url("~@/assets/background/ocean-sand-mobile-background.svg");
background-size: cover;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;

text-align: center;

@include bootstrap.media-breakpoint-up(md) {
padding-top: 121.27%;
background-image: url("~@/assets/background/ocean-sand-background.svg");
}
}

.title {
margin-top: -190%;
margin-top: -355%;

@include bootstrap.media-breakpoint-up(md) {
margin-top: -190%;
}
}
11 changes: 9 additions & 2 deletions apps/site/src/app/(home)/sections/Landing/Title.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
@use "bootstrap-utils" as bootstrap;

.title {
width: clamp(0px, 40vw, 40vw);
height: clamp(0px, 14.53vw, 14.53vw);
width: clamp(0px, 70vw, 70vw);
waalbert marked this conversation as resolved.
Show resolved Hide resolved
height: clamp(0px, 25.42vw, 25.42vw);

@include bootstrap.media-breakpoint-up(md) {
width: clamp(0px, 40vw, 40vw);
height: clamp(0px, 14.53vw, 14.53vw);
}
}
Binary file not shown.
44 changes: 44 additions & 0 deletions apps/site/src/assets/background/ocean-sand-background.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
124 changes: 124 additions & 0 deletions apps/site/src/assets/background/ocean-sand-mobile-background.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion apps/site/src/lib/styles/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
$container-padding: 8rem;

.background {
background: linear-gradient(#009de9 50%, #00a6c4 60%);
background: linear-gradient(#01a6c4, #01a7c5 67%, #00c1a9 82%, #8dbd9e);

@media screen and (min-height: 600px) {
background: #01a6c4;
}
}

.accordion {
Expand Down
Loading