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

GP: homepage update #677

Merged
merged 3 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
Binary file added src/assets/img/globalping/sponsors/fastly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions src/assets/less/pages/globalping.less
Original file line number Diff line number Diff line change
Expand Up @@ -1067,6 +1067,66 @@
}
}

&_our-users {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
row-gap: 24px;
padding: 0 24px;
margin-top: 40px;
width: 100%;

@media (min-width: @screen-md-min) {
column-gap: 24px;
max-width: 1016px;
margin-top: 100px;
}

&_title {
width: 100%;
padding-top: 16px;
font-size: 20px;
line-height: 32px;
font-weight: 600;
color: #17233a;
text-align: center;
}

&_list {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
row-gap: 24px;
width: 100%;

@media (min-width: @screen-sm-min) {
flex-flow: row wrap;
column-gap: 48px;
}

&_user {
height: 48px;
box-sizing: border-box;
border: 1.5px solid transparent;

&:focus-within {
box-shadow: 0 2px 2px rgba(0, 0, 0, .04), 0 0 0 1px #fff, 0 0 0 4px rgba(23, 212, 167, .48);
border: 1.5px solid #e7e7ee;
border-radius: 8px;
}

>a {
display: flex;
width: 100%;
height: 100%;
outline: none;
}
}
}
}

&_join-network {
display: flex;
flex-direction: column;
Expand All @@ -1078,6 +1138,7 @@

@media (min-width: @screen-sm-min) {
padding: 100px 24px;
margin-top: 100px;
}

@media (min-width: @screen-lg-min) {
Expand Down
44 changes: 43 additions & 1 deletion src/views/pages/globalping/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,48 @@
</a>
</div>

<div class="gp_our-users">
<div class="gp_our-users_title">Our users:</div>
<div class="gp_our-users_list">
<div class="gp_our-users_list_user">
<a target="_blank" rel="noopener noreferrer" href="https://gcore.com">
<img title="Used by G-Core"
height="48"
src="{{@shared.assetsHost}}/img/globalping/sponsors/g-core.svg"
loading="lazy">
</a>
</div>

<div class="gp_our-users_list_user">
<a target="_blank" rel="noopener noreferrer" href="https://www.fastly.com">
<img title="Used by Fastly"
height="48"
src="{{@shared.assetsHost}}/img/globalping/sponsors/fastly.png"
srcset="{{@shared.assetsHost}}/img/globalping/sponsors/[email protected] 2x"
loading="lazy">
</a>
</div>

<div class="gp_our-users_list_user">
<a target="_blank" rel="noopener noreferrer" href="https://he.net">
<img title="Used by Hurricane Electric"
height="48"
src="{{@shared.assetsHost}}/img/globalping/sponsors/hurricane_electric.png"
loading="lazy">
</a>
</div>

<div class="gp_our-users_list_user">
<a target="_blank" rel="noopener noreferrer" href="https://www.dnsfilter.com/">
<img title="Used by DNSFilter"
height="48"
src="{{@shared.assetsHost}}/img/globalping/sponsors/dnsfilter.png"
loading="lazy">
</a>
</div>
</div>
</div>

<div class="gp_join-network">
<span class="gp_join-network_title">Join the network</span>
<span class="gp_join-network_subtitle">
Expand Down Expand Up @@ -1025,7 +1067,7 @@
<img title="Sponsored by GCore"
width="120"
height="34"
src="{{@shared.assetsHost}}/img/globalping/sponsors/gcore.svg">
src="{{@shared.assetsHost}}/img/globalping/sponsors/g-core.svg">
</a>
<a target="_blank" rel="noopener noreferrer" href="https://xtom.com">
<img title="Sponsored by xTom"
Expand Down