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

Globalping: About us page #681

Merged
merged 40 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
5b07a41
Gp: scaffold About Us page
xbpcb Aug 21, 2024
f0e9cd2
Gp: add new icons
xbpcb Aug 21, 2024
53e51a4
GpAbout: scaffold info block
xbpcb Aug 21, 2024
e8dd1d7
GpAbout: fix styles
xbpcb Aug 21, 2024
ee30fb8
GpAbout: scaffold in-number block
xbpcb Aug 21, 2024
c7bfd76
GpAbout: rename file to about-us to fix nav
xbpcb Aug 21, 2024
ec54d19
GpAbout: mod in-numbers styles
xbpcb Aug 21, 2024
0e5ef3e
GpAbout: scaffold prpd-ready, people-behind blocks
xbpcb Aug 22, 2024
c1656e0
GpAbout: small fixes
xbpcb Aug 22, 2024
c198b73
GpAbout: add imgs
xbpcb Aug 22, 2024
0bb7926
GpAbout: fix people block paddings
xbpcb Aug 22, 2024
8c0e140
GpAbout: mod styles
xbpcb Aug 22, 2024
b8c2c32
GpAbout: fix page wrapper width
xbpcb Aug 22, 2024
323ab6e
GpAbout: focus block desktop styles
xbpcb Aug 22, 2024
cc1c776
GpAbout: in-numbers styles
xbpcb Aug 23, 2024
33388a9
GpAbout: mod mobile paddings
xbpcb Aug 23, 2024
d15a4fd
GpAbout: mod info title desktop padding
xbpcb Aug 23, 2024
e781a73
GpAbout: mod structure of peoples-behind block
xbpcb Aug 23, 2024
cba9d54
GpAbout: fix
xbpcb Aug 23, 2024
27c12ba
GpAbout: mv values to vars
xbpcb Aug 23, 2024
cb69408
GpAbout: add getting cities, probes, ountries amount, scaffold other …
xbpcb Aug 23, 2024
9b92c06
GpAbout: add ASNs counting
xbpcb Aug 23, 2024
a994a75
GpJumbotron: mod to use grid types
xbpcb Aug 23, 2024
4a98aed
Gp: upd jumbotron imlementations
xbpcb Aug 23, 2024
19fbb77
Gp: add new grid type svg
xbpcb Aug 23, 2024
e6a2e8b
GpJumbotron: rename grid svgs
xbpcb Aug 23, 2024
d85953d
GpAbout: scaffold jumbotron styles
xbpcb Aug 23, 2024
3e78456
Merge branch 'globalping.io' into gh-670
xbpcb Aug 26, 2024
0d1908e
GpHeader: mod styles for GpAbout
xbpcb Aug 27, 2024
2503735
GpAbout: add paddings
xbpcb Aug 27, 2024
ce291dd
GpAbout: add new main logo svg
xbpcb Aug 27, 2024
09a7722
Header: mod GpAbout main logo text styles
xbpcb Aug 27, 2024
243a03c
GpHeader: add main logo name as a prop
xbpcb Aug 27, 2024
4f87f6f
GpAbout: use own page main logo
xbpcb Aug 27, 2024
5ed8625
GpAbout: fix styles
xbpcb Aug 28, 2024
894d8e7
GpJumbotron: scaffold grid and styles
xbpcb Aug 28, 2024
69c85df
GpJumbotron: mod grid logic, styles
xbpcb Aug 28, 2024
3948894
GpJumbotron: fix styles
xbpcb Aug 30, 2024
b5a6b81
GpJumbotron: fix heading gradient
xbpcb Aug 30, 2024
c2d18c4
Fix colors, menu width
MartinKolarik Sep 3, 2024
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
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.
16 changes: 16 additions & 0 deletions src/assets/img/globalping/globalping-full-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/assets/img/globalping/globalping-grid-type-3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/assets/img/globalping/globalping-performance-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions src/assets/img/globalping/globalping-ux-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/assets/js/app-globalping.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const cGlobalpingCli = require('../../views/pages/globalping/cli.html');
const cGlobalpingSlack = require('../../views/pages/globalping/slack.html');
const cGlobalpingNetworkTools = require('../../views/pages/globalping/network-tools.html');
const cGlobalpingIntegrations = require('../../views/pages/globalping/integrations.html');
const cGlobalpingAbout = require('../../views/pages/globalping/about-us.html');
const { getGlobalpingUser } = require('./utils/http');

Ractive.DEBUG = location.hostname === 'localhost';
Expand All @@ -31,6 +32,7 @@ app.router.addRoute('/cli', cGlobalpingCli);
app.router.addRoute('/slack', cGlobalpingSlack);
app.router.addRoute('/network-tools/:params?', cGlobalpingNetworkTools);
app.router.addRoute('/integrations', cGlobalpingIntegrations);
app.router.addRoute('/about-us', cGlobalpingAbout);

app.router.replaceQueryParam = function (name, newValue) {
history.replaceState(history.state, null, location.href.replace(new RegExp(`${name}=[^&]+|$`), `${name}=${encodeURIComponent(newValue)}`));
Expand Down
1 change: 1 addition & 0 deletions src/assets/less/app-globalping.less
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@
@import "pages/globalping/slack.less";
@import "pages/globalping/network-tools.less";
@import "pages/globalping/integrations.less";
@import "pages/globalping/about-us.less";
70 changes: 70 additions & 0 deletions src/assets/less/components/gp-jumbotron.less
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,74 @@
}
}
}

&.about-us {
position: absolute;
padding: 0;
height: 276px;

@media (min-width: @screen-sm-min) {
height: 444px;
}

.grid-type-3 {
position: relative;
height: 100%;
width: 100%;
background: linear-gradient(180deg, #13bd95 23.17%, rgba(21, 198, 155, .32) 60.67%, rgba(23, 212, 167, 0) 100%);

&_under-header {
height: 60px;
background: #00b88c;

@media (min-width: @screen-sm-min) {
height: 64px;
}
}

&_grid-wrapper {
position: relative;
width: calc(100% - 48px);
height: calc(100% - 60px);
margin: 0 auto;
overflow: visible;

@media (min-width: @screen-sm-min) {
max-width: 808px;
height: calc(100% - 64px);
}

.jumbotron_grid {
position: absolute;
opacity: .64;
top: -121px;
left: -251px;
z-index: 2;
mix-blend-mode: overlay;
mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
mask-size: 100% 50%;
mask-repeat: no-repeat;

@media (min-width: @screen-sm-min) {
mask-size: 100% 75%;
}
}
}

&_gradient {
position: absolute;
top: 60px;
left: 0;
width: 100%;
height: calc(100% - 60px);
background: linear-gradient(180deg, #00b88c 0%, rgba(0, 184, 140, 0) 100%);
z-index: 1;

@media (min-width: @screen-sm-min) {
top: 64px;
height: calc(100% - 64px);
}
}
}
}
}
46 changes: 44 additions & 2 deletions src/assets/less/components/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,49 @@
}
}

&.gp-about-us-header {
position: absolute;
width: 100%;

.navbar {
background-color: transparent;
border: none;

.main-logo_text.globalping {
color: #fff;
opacity: .8;
}
}

.dropdown-menu {
width: auto;
}

.dashboard-section {
@media (min-width: @screen-md-min) {
a.btn {
border-color: #fff;
transition: background-color 200ms, border-color 200ms;

&:hover {
color: @gp-green;
background-color: #fff;
}
}

button.btn {
border-color: #fff;
border-left-color: transparent;

&:hover {
color: @gp-green;
background-color: #fff;
}
}
}
}
}

&.header-fw-docs {
.container-fluid {
max-width: 100%;
Expand Down Expand Up @@ -425,8 +468,6 @@
}

.btn {
color: #fff;

&:active {
box-shadow: none;
}
Expand Down Expand Up @@ -462,6 +503,7 @@
}

button.btn {
color: #fff;
border-radius: 0 8px 8px 0;
padding: 6px 8px 6px 6px;
background-color: transparent;
Expand Down
Loading