diff --git a/src/assets/img/landing/render.png b/src/assets/img/landing/render.png deleted file mode 100644 index 636871a805..0000000000 Binary files a/src/assets/img/landing/render.png and /dev/null differ diff --git a/src/assets/img/landing/render@2x.png b/src/assets/img/landing/render@2x.png deleted file mode 100644 index 3d4ad8f586..0000000000 Binary files a/src/assets/img/landing/render@2x.png and /dev/null differ diff --git a/src/assets/img/sponsors/macarne.svg b/src/assets/img/sponsors/macarne.svg deleted file mode 100644 index 996db18d29..0000000000 --- a/src/assets/img/sponsors/macarne.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/assets/img/sponsors/render-black.svg b/src/assets/img/sponsors/render-black.svg new file mode 100644 index 0000000000..cd9faad5f5 --- /dev/null +++ b/src/assets/img/sponsors/render-black.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/assets/img/sponsors/render.png b/src/assets/img/sponsors/render.png deleted file mode 100644 index 33e24885d9..0000000000 Binary files a/src/assets/img/sponsors/render.png and /dev/null differ diff --git a/src/assets/img/sponsors/render@2x.png b/src/assets/img/sponsors/render@2x.png deleted file mode 100644 index bd7a0196f4..0000000000 Binary files a/src/assets/img/sponsors/render@2x.png and /dev/null differ diff --git a/src/assets/js/utils/http.js b/src/assets/js/utils/http.js index d36c3f9e83..3774a3ab8d 100644 --- a/src/assets/js/utils/http.js +++ b/src/assets/js/utils/http.js @@ -281,11 +281,14 @@ module.exports.getGlobalpingMeasurement = (id) => { return _.makeHTTPRequest({ url: `${GLOBALPING_HOST}/v1/measurements/${id}` }); }; - module.exports.getBlogRss = () => { return _.makeHTTPRequest({ url: `/blog/rss`, rawResponse: true }); }; +module.exports.getGPBlogRss = () => { + return _.makeHTTPRequest({ url: `https://blog.globalping.io/rss`, rawResponse: true }); +}; + module.exports.getCdnOssFiles = ( name, by = 'hits', diff --git a/src/assets/less/pages/globalping/about-us.less b/src/assets/less/pages/globalping/about-us.less index 0b5f6c357b..2f4d1c453e 100644 --- a/src/assets/less/pages/globalping/about-us.less +++ b/src/assets/less/pages/globalping/about-us.less @@ -20,7 +20,7 @@ @media (min-width: @screen-sm-min) { max-width: 856px; - row-gap: 100px; + row-gap: 64px; padding-top: 64px; } @@ -31,7 +31,6 @@ font-weight: 600; line-height: 50px; letter-spacing: .2px; - text-align: left; } &_info { @@ -66,6 +65,7 @@ font-size: 20px; font-weight: 400; line-height: 32px; + color: #17233a; } &_focus { @@ -78,7 +78,6 @@ font-size: 20px; font-weight: 600; line-height: 32px; - text-align: left; } &_list { @@ -95,7 +94,7 @@ display: flex; align-items: center; column-gap: 16px; - padding: 0 0 0 24px; + padding: 0 24px; height: 80px; border-radius: 8px; border: 1.5px solid #e7e7ee; @@ -157,7 +156,6 @@ font-size: 16px; font-weight: 400; line-height: 20px; - text-align: left; } &_value { @@ -165,7 +163,6 @@ font-size: 24px; font-weight: 600; line-height: 36px; - text-align: left; background: linear-gradient(0deg, #17233a, #17233a), linear-gradient(66.12deg, rgba(23, 212, 167, 0) -.72%, #17d4a7 124.59%); background-size: cover; background-blend-mode: overlay; @@ -191,10 +188,9 @@ row-gap: 20px; > span { - font-size: 16px; + font-size: 18px; font-weight: 400; - line-height: 20px; - text-align: left; + line-height: 26px; color: #17233a; } } @@ -208,10 +204,9 @@ padding: 0 24px; &_descr { - font-size: 16px; + font-size: 18px; font-weight: 400; - line-height: 20px; - text-align: left; + line-height: 26px; color: #17233a; margin: 0; } @@ -238,7 +233,6 @@ font-size: 24px; font-weight: 600; line-height: 36px; - text-align: left; color: #17233a; } @@ -286,7 +280,6 @@ font-size: 20px; font-weight: 600; line-height: 32px; - text-align: left; color: #17233a; } @@ -294,7 +287,6 @@ font-size: 16px; font-weight: 400; line-height: 20px; - text-align: left; color: #17233a; } diff --git a/src/assets/less/pages/sponsors.less b/src/assets/less/pages/sponsors.less index 65998eb0b8..2e7315498c 100644 --- a/src/assets/less/pages/sponsors.less +++ b/src/assets/less/pages/sponsors.less @@ -277,6 +277,14 @@ height: 30px; } } + + &.render { + height: 30px; + + @media (min-width: 576px) { + height: 40px; + } + } } .sp-text { @@ -303,11 +311,6 @@ } &.row-gold .sp-item { - &.auto-height { - min-height: 272px; - height: auto; - } - @media (min-width: @screen-lg-min) { height: 272px; } diff --git a/src/routes/jsdelivr.js b/src/routes/jsdelivr.js index 5aab9f0603..c4a5f2cd80 100644 --- a/src/routes/jsdelivr.js +++ b/src/routes/jsdelivr.js @@ -178,7 +178,7 @@ koaElasticUtils.addRoutes(router, [ */ router.get('/globalping/:path(.*)?', async (ctx) => { ctx.status = 301; - return ctx.redirect(`https://globalping.io/${ctx.params.path || ''}`); + return ctx.redirect(`https://globalping.io${ctx.url.replace(/^\/[^/?]+/, '')}`); }); module.exports = router; diff --git a/src/views/components/gp-credits-message.html b/src/views/components/gp-credits-message.html index 63d5b39ac0..6049c5fcb9 100644 --- a/src/views/components/gp-credits-message.html +++ b/src/views/components/gp-credits-message.html @@ -2,8 +2,7 @@ {{#if message}}
{{message}} - - + Sign up
{{/if}} diff --git a/src/views/components/gp-credits.html b/src/views/components/gp-credits.html index a51a41f5b0..3457edf7b1 100644 --- a/src/views/components/gp-credits.html +++ b/src/views/components/gp-credits.html @@ -45,7 +45,7 @@ {{/if}} - + diff --git a/src/views/components/gp-footer.html b/src/views/components/gp-footer.html index 462b04fcdc..c5977b1db4 100644 --- a/src/views/components/gp-footer.html +++ b/src/views/components/gp-footer.html @@ -184,7 +184,7 @@ }, oninit () { if (!Ractive.isServer) { - http.getBlogRss().then((response) => { + http.getGPBlogRss().then((response) => { if (response) { let document = new window.DOMParser().parseFromString(response, 'text/xml'); let items = document.documentElement.childNodes[0].getElementsByTagName('item'); @@ -208,7 +208,7 @@ data.push({ text: currItemTitle, - url: `/blog${new URL(currItemLink, 'https://www.jsdelivr.com').pathname}`, + url: currItemLink, date: new Date(currItemPubDate).getTime(), }); } diff --git a/src/views/components/gp-header.html b/src/views/components/gp-header.html index da120d4325..b81130ac41 100644 --- a/src/views/components/gp-header.html +++ b/src/views/components/gp-header.html @@ -47,13 +47,11 @@ The Project
  • diff --git a/src/views/components/landing-top.html b/src/views/components/landing-top.html index c576f48593..787dbe9742 100644 --- a/src/views/components/landing-top.html +++ b/src/views/components/landing-top.html @@ -153,10 +153,9 @@

    over {{_.formatBytesWithUnit(networkStats.bandwidth.total, 'TB')}}

    -
    diff --git a/src/views/pages/about.html b/src/views/pages/about.html index a61aff2d0f..e977b1fc48 100644 --- a/src/views/pages/about.html +++ b/src/views/pages/about.html @@ -347,9 +347,9 @@

    Our Sponsors

    loading="lazy"/>
    -
    diff --git a/src/views/pages/globalping/about-us.html b/src/views/pages/globalping/about-us.html index 5cafcdf0d5..fc1b3aae97 100644 --- a/src/views/pages/globalping/about-us.html +++ b/src/views/pages/globalping/about-us.html @@ -21,13 +21,13 @@
    - Globalping is a free and open source platform for network testing and monitoring. - At its core, a single API that can schedule and run network related commands in real-time from any location in the world. + Globalping is a free, open-source platform for network testing and monitoring. + At its core is a robust API that can schedule and run network-related commands in real-time from any location in the world. - It's a simple and secure way to test your web services, APIs, CDNs, DNS and edge compute services. - To ensure their global availability and understand their latency and performance on a global scale. + It's a simple and secure way to test your web services, APIs, CDNs, DNS and edge compute services, + to ensure their global availability, and understand their latency and performance on a global scale.
    @@ -118,10 +118,10 @@

    Globalping in numbers

    Ready for production

    - From solo developers to enterprises + From solo developers to enterprises - our platform is designed as one-size-fits-all. - Our platform is designed as a one size fits all. We always aim to ensure the service remains useful to the majority of users for free but at the same time making sure heavier users like enterprise companies pay their fair share and help us develop a high quality service. + We aim to ensure the service remains useful to the majority of users for free, while heavier users and enterprise companies pay their fair share and help us develop a high quality service. diff --git a/src/views/pages/sponsors.html b/src/views/pages/sponsors.html index a08c43defd..b1eee9515d 100644 --- a/src/views/pages/sponsors.html +++ b/src/views/pages/sponsors.html @@ -134,7 +134,7 @@

    PLATINUM

    - +
    Main hosting provider for jsDelivr related websites and APIs. @@ -197,21 +197,6 @@

    GOLD

    - -
    -
    - - -
    - In a world where every millisecond counts, Macarne LLC stands as the unparalleled champion of hosting solutions tailored for the gaming industry. -
    - - - - macarne.com - -
    -

    BRONZE

    diff --git a/src/views/r-page-globalping.html b/src/views/r-page-globalping.html index d53e102c3f..53b3305558 100644 --- a/src/views/r-page-globalping.html +++ b/src/views/r-page-globalping.html @@ -97,9 +97,7 @@ {{yield js}} - - - + {{/if}}