Skip to content

Commit

Permalink
feat: add use cases pages
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Artemova <annartmva@gmail.com>
  • Loading branch information
annaindistress committed Jan 7, 2025
1 parent 856b4ff commit 5ad45ea
Show file tree
Hide file tree
Showing 33 changed files with 900 additions and 56 deletions.
6 changes: 6 additions & 0 deletions docs/assets/scss/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
@import "home/contact";
@import "home/presentation";
@import "home/distribution";
@import "home/intro";
@import "home/case";

.home {
margin-left: auto;
Expand Down Expand Up @@ -43,6 +45,10 @@
margin-right: auto;
max-width: 1216px;

&--sm {
max-width: 800px;
}

@media (max-width: $desktop) {
padding: 0 40px;
}
Expand Down
77 changes: 77 additions & 0 deletions docs/assets/scss/home/case.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
.case {
padding-top: 235px;
color: #5e636e;

@media (max-width: $tablet) {
padding-top: 200px;
}

@media (max-width: $mobile) {
padding-top: 24px;
}

.container {
padding-inline: 44px;
}

h2 {
max-width: 90%;
margin-top: 65px;
margin-bottom: 20px;
font-weight: 700;
font-size: 28px;
line-height: 1.125;
letter-spacing: -0.56px;
color: #253737;

@media (max-width: $tablet) {
font-size: 24px;
}

@media (max-width: $mobile) {
margin-top: 32px;
}
}

p {
margin-block: 14px;
text-wrap: pretty;
}

ul {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 32px 72px;
margin-top: 28px;

@media (max-width: $mobile) {
grid-template-columns: repeat(1, 1fr);
gap: 24px;
}

img {
width: 56px;
height: 56px;
border-radius: 4px;
overflow: hidden;
}

h3 {
margin-top: 16px;
margin-bottom: 0;
font-size: 20px;
font-weight: 600;
line-height: 1.375;
color: #253737;

@media (max-width: $tablet) {
font-size: 20px;
}
}

p {
margin-top: 6px;
margin-bottom: 0;
}
}
}
111 changes: 111 additions & 0 deletions docs/assets/scss/home/intro.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
.intro {
width: 100vw;
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw;
margin-right: -50vw;
padding-top: 58px;
padding-bottom: 254px;
background-color: #f7fdfd;

@media (max-width: $tablet) {
padding-bottom: 200px;
}

@media (max-width: $mobile) {
padding-top: 32px;
padding-bottom: 32px;
}

h1 {
text-align: center;
color: #253737;
}

p {
margin-top: 14px;
margin-inline: auto;
padding-inline: 36px;
text-align: center;
color: #2b383b;
}
}

.intro__video {
position: absolute;
left: 50%;
bottom: -215px;
transform: translateX(-50%);
width: 100%;
max-width: 800px;
max-height: 443px;
padding: 14px;
border-radius: 12px;
border: 1px solid #e0e6f0;
background-color: white;

@media (max-width: $tablet) {
bottom: -180px;
max-width: 600px;
}

@media (max-width: $mobile) {
position: relative;
bottom: 0;
margin-top: 32px;
max-width: 100%;
padding: 8px;
}

.intro__preview,
.intro__video-content {
position: relative;
width: 100%;
height: 0;
padding-top: 53.5%;
border-radius: 4px;
border: 1px solid #deeded;
overflow: hidden;
}

img,
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

img {
object-fit: cover;
}

.intro__preview-button {
position: absolute;
inset: 0;
color: #cfdefc;
background-color: rgba(0, 0, 0, 0.1);
border: none;
transition: all 0.2s ease-out;

&:hover,
&:focus {
color: #ffffff;
transform: scale(1.1);
}

svg {
@media (max-width: $tablet) {
width: 64px;
height: 64px;
}

@media (max-width: $mobile) {
width: 44px;
height: 44px;
}
}
}
}
Loading

0 comments on commit 5ad45ea

Please sign in to comment.