Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #261 from ArthurEmma2/main
Browse files Browse the repository at this point in the history
Get started page: GPU Tile added
  • Loading branch information
HoomanHQ authored Sep 22, 2023
2 parents 0496566 + c7ff13f commit 4539638
Show file tree
Hide file tree
Showing 21 changed files with 678 additions and 171 deletions.
23 changes: 23 additions & 0 deletions assets/images/svg/deploy-app.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions assets/images/svg/deploy22.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions assets/images/svg/doc-svg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
108 changes: 54 additions & 54 deletions assets/images/svg/g-s-second.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 42 additions & 42 deletions assets/images/svg/g-s-third.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 22 additions & 22 deletions assets/images/svg/get-s-first.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/images/svg/gpu-btn-arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions assets/images/svg/gpu-lg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions assets/images/svg/gpu-sm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions assets/images/svg/gpu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions assets/images/svg/provider.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions assets/scss/common/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,19 @@ $navbar-dark-active-color: $link-color-dark;
[data-dark-mode] body .available-op-desc {
color: #fff;
}
[data-dark-mode] .gpu-btn-arrow svg path {
stroke: #000;
}

[data-dark-mode] .reserve-gpu-btn {
color: #000;
}

[data-dark-mode] body .btn-console-action {
background-color: transparent;
border: 1px solid #515559;
color: #fff;
}

[data-dark-mode] body .tab-button {
color: lightgrey;
Expand Down
21 changes: 19 additions & 2 deletions assets/scss/layouts/_deploy.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@

.console-s-btn1 .ex-link-arrow2 svg {
margin-bottom: 3px;
margin-left: 2px;
margin-right: 5px;
}

.br-text a {
Expand Down Expand Up @@ -321,6 +321,11 @@
line-height: 48px;
}

.console-s-btn1 .ex-link-arrow2 svg {
margin-bottom: 3px;
margin-right: 5px;
}

.deploy-sub-header {
text-align: center;
font-size: 16px;
Expand Down Expand Up @@ -387,6 +392,18 @@

@media (min-width: 447px) and (max-width: 767px) {
.deploy-svg svg {
width: 300px;
width: 400px;
}

// .tab-content .console-resource-wrapper {
// display: flex;
// flex-direction: column;
// justify-content: center;
// align-items: center;
// }

// .console-resource-header {
// margin: 40px auto;
// text-align: center;
// }
}
179 changes: 159 additions & 20 deletions assets/scss/layouts/_getstarted.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
}

.sub-pages-wrapper {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
margin-top: 40px;
grid-gap: 60px;
}

.community-s-wrapper {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 40px;
Expand All @@ -21,9 +28,17 @@ black-dot {
margin-top: 10px;
border-radius: 50%; /* This creates a circular shape */
}
.gpu-s-header,
.deploy-header,
.provider-s-header,
.docs-s-header,
.docs-s-header {
width: 100%;
font-size: 24px;
font-style: normal;
font-weight: 700;
line-height: 32px;
margin: 20px 0;
}
.insider-s-header,
.validator-s-header,
.ideas-s-header {
Expand All @@ -50,8 +65,22 @@ black-dot {
line-height: 24px;
letter-spacing: 0.16px;
}

.get-s-btn button {
.get-started-btn2 button,
.get-started-btn button {
width: 100%;
height: 45px;
padding: 10px 20px 10px 20px;
border-radius: 8px;
text-align: center;
outline: none;
border: none;
font-weight: 700;
font-size: 14px;
transition: 0.3s ease;
color: #000;
margin-top: 10px;
}
.community-s-btn button {
width: 380px;
height: 45px;
padding: 10px 20px 10px 20px;
Expand All @@ -64,7 +93,7 @@ black-dot {
transition: 0.3s ease;
color: #000;
}
.get-s-btn2 button {
.community-s-btn2 button {
width: 380px;
height: 45px;
padding: 10px 20px 10px 20px;
Expand All @@ -79,11 +108,15 @@ black-dot {
margin-top: 27px;
}

.get-s-btn button:hover {
.community-s-btn button:hover {
background: #ccc;
color: #1d2d35;
}
.get-started-btn button:hover {
background: #ccc;
color: #1d2d35;
}
.get-s-btn2 button:hover {
.community-s-btn2 button:hover {
background: #ccc;
color: #1d2d35;
}
Expand All @@ -103,6 +136,10 @@ black-dot {
margin: 100px auto;
}

.btn-br {
margin-top: 10px;
}

// FOR LAPTOPS
@media (min-width: 992px) and (max-width: 1400px) {
.custom-col-13 {
Expand All @@ -118,6 +155,12 @@ black-dot {
border-radius: 50%; /* This creates a circular shape */
}
.sub-pages-wrapper {
grid-template-columns: repeat(2, minmax(0, 1fr));
margin-top: 40px;
grid-gap: 40px;
}

.community-s-wrapper {
grid-template-columns: repeat(3, minmax(0, 1fr));
margin-top: 40px;
gap: 60px;
Expand All @@ -127,22 +170,47 @@ black-dot {
width: 100%;
}

.get-s-btn button {
.community-s-btn button {
width: 340px;
}
.g-s-hr {
width: 1090px;
margin: 100px auto;
}

.get-s-btn2 button {
.community-s-btn2 button {
width: 340px;
margin-top: 54px;
}

.get-started-btn button {
width: 540px;
}

.get-started-btn2 button {
margin-top: 34px;
}

.provider-intro,
.deploy-intro,
.validator-intro,
.doc-intro {
width: 540px;
}

.validator-intro {
width: 350px;
}
}

@media (max-width: 1200px) {
.sub-pages-wrapper {
grid-template-columns: repeat(2, minmax(0, 1fr));
margin-top: 20px;
grid-gap: 30px;
}

.community-s-wrapper {
grid-template-columns: repeat(2, minmax(0, 1fr));
margin-top: 40px;
gap: 60px;
Expand All @@ -157,11 +225,15 @@ black-dot {
margin: 80px auto;
}

.get-s-btn2 button {
.community-s-btn2 button {
width: 350px;
margin-top: 37px;
margin-top: 35px;
}
.get-s-btn button {
.community-s-btn button {
width: 350px;
margin: 10px auto;
}
.get-started-btn button {
width: 350px;
margin: 10px auto;
}
Expand All @@ -176,39 +248,83 @@ black-dot {
.insider-s-intro {
width: 350px;
}

.deploy-header,
.provider-s-header,
.docs-s-header {
width: 250px;
font-size: 24px;
font-style: normal;
font-weight: 700;
line-height: 32px;
margin-top: -10px;
}

.btn-br {
margin-top: 45px;
}
}

// FOR SMALL SCREENS
@media (max-width: 767px) {
.sub-pages-wrapper {
grid-template-columns: repeat(1, minmax(0, 1fr));
margin-top: 60px;
grid-gap: 40px;
}

.community-s-wrapper {
grid-template-columns: repeat(1, minmax(0, 1fr));
margin-top: 40px;
gap: 60px;
}

.get-started-wrapper {
margin-top: 50px;
}

.get-s-btn2 button {
.btn-br {
margin-top: 0;
}

.g-s-svg-sm svg {
width: 100%;
}

.community-s-btn2 button {
width: 100%;
margin: 10px auto;
height: 52px;
}
.get-s-btn button {
.community-s-btn button {
width: 100%;
height: 52px;
margin: 10px auto;
}

.g-s-svg svg {
width: 100%;
}

.g-s-hr {
width: 100%;
margin: 50px auto;
}

.deploy-header,
.provider-s-header,
.docs-s-header {
width: 200px;
font-size: 24px;
font-style: normal;
font-weight: 700;
line-height: 32px;
margin-top: 20px;
}

.gpu-s-header {
width: 300px;
font-size: 24px;
font-style: normal;
font-weight: 700;
line-height: 32px;
margin-top: 20px;
}
}

// OTHER RELATED SCREEN SIZES
Expand All @@ -222,21 +338,44 @@ black-dot {
align-items: center;
}

.get-s-btn2 button {
.get-started-btn button {
width: 450px;
margin-bottom: 30px;
}

.community-s-wrapper {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.community-s-btn2 button {
width: 380px;
margin: 10px auto;
color: #000;
}
.get-s-btn button {
.community-s-btn button {
width: 380px;
margin: 10px auto;
color: #000;
}
.provider-intro,
.deploy-intro,
.validator-intro,
.doc-intro {
width: 400px !important;
}

.g-s-svg-sm svg {
width: 400px;
}

.provider-intro,
.deploy-intro,
.validator-intro,
.doc-intro,
.follow-intro,
.insider-s-intro {
width: 380px;
}
Expand Down
10 changes: 10 additions & 0 deletions assets/scss/layouts/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@
left: 60px;
font-weight: 700;
font-size: 14px;
padding: 8px 10px;
border-radius: 8px;
background: #ccccccab;
outline: none;
border: none;
color: #000;
}
.reserve-gpu-btn:hover {
background: #ccc;
color: #1d2d35;
}
@media (min-width: 1180px) and (max-width: 1440px) {
.reserve-gpu-btn {
Expand Down
Loading

0 comments on commit 4539638

Please sign in to comment.