From 8a7791be9e21e1d7b233fa992b154af60688befa Mon Sep 17 00:00:00 2001 From: Yang Jun Date: Sun, 26 Oct 2025 14:53:32 +0800 Subject: [PATCH] docs: add lambdatest to sponsors --- README.md | 53 +++++++++---------- bin/build-contributors.sh | 1 - docs/themes/navy/layout/index.swig | 30 +++++------ .../themes/navy/source/css/_partial/base.styl | 6 ++- .../navy/source/css/_partial/index.styl | 37 +++++++------ 5 files changed, 64 insertions(+), 63 deletions(-) diff --git a/README.md b/README.md index e03ea624b..645fca433 100644 --- a/README.md +++ b/README.md @@ -72,35 +72,30 @@ Feel free to create a PR or contact me to add your use case into this list! If you personally love LiquidJS or it's benefiting your business, please consider financially support us via [GitHub Sponsors](https://github.com/sponsors/harttle). Special thanks to our sponsors! - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Opensense Inc.
Opensense
Eleventy
Eleventy
Peter deHaan
Peter deHaan
Touchless
Touchless
Adam Darrah
Dropkiq
Dailycontributors
Dailycontributors
coni2k
Serkan Holat
amit777
amit777
Khaled Salem
Khaled Salem
Sentry
Sentry
Checkout Blocks
Checkout Blocks
Customer IO
Customer IO
Emmanuel Cartelli
Emmanuel Cartelli

Microsoft
Microsoft

PakStyle.pk
PakStyle.pk
Syntax Podcast
Syntax Podcast
Cartelli Emmanuel
Cartelli Emmanuel
EscortA.com
EscortA.com
Chudovo
Chudovo
+

+ Eleventy + Opensense Inc. + Microsoft + Sentry + Checkout Blocks + Customer IO + Syntax Podcast +
+ LambdaTest + Chudovo + Dailycontributors + PakStyle.pk + EscortA.com +
+ Touchless + Dropkiq + Peter deHaan + Serkan Holat + amit777 + Khaled Salem + Emmanuel Cartelli + Cartelli Emmanuel +

## Contributors ✨ diff --git a/bin/build-contributors.sh b/bin/build-contributors.sh index 7b32df012..5ea7b6290 100755 --- a/bin/build-contributors.sh +++ b/bin/build-contributors.sh @@ -20,7 +20,6 @@ awk '/ALL-CONTRIBUTORS-LIST:START/{flag=1;next}/ALL-CONTRIBUTORS-LIST:END/{flag= # create docs/themes/navy/layout/partial/financial-contributors.swig awk '/FINANCIAL-CONTRIBUTORS-BEGIN/{flag=1;next}/FINANCIAL-CONTRIBUTORS-END/{flag=0}flag' README.md | \ sed 's/
.*<\/td>/<\/a><\/td>/g' | \ - sed 's/width="[^"]*"//g' | \ tr -d '\n' | \ sed 's/<\/tr>\s*//g' \ > docs/themes/navy/layout/partial/financial-contributors.swig diff --git a/docs/themes/navy/layout/index.swig b/docs/themes/navy/layout/index.swig index 9396bbd43..282fb45c3 100644 --- a/docs/themes/navy/layout/index.swig +++ b/docs/themes/navy/layout/index.swig @@ -1,5 +1,5 @@
-
+
{% for news in site.data.news %} @@ -23,7 +23,7 @@
-
+
{{ page.content }}
import { Liquid } from 'liquidjs'
const engine = new Liquid()
const tpl = engine.parse('Welcome to {% raw %}{{v}}{% endraw %}!')
engine.render(tpl, {v: "Liquid"}).then(console.log)
// Outputs "Welcome to Liquid!"
@@ -32,20 +32,9 @@
-
-
-
-

{{__('index.contributors.title')}}

-

{{__('index.contributors.description')}}

-
- {{ partial('partial/all-contributors') }} -
-
-
-
-
+

{{__('index.sponsors.title')}}

{{__('index.sponsors.description')}}

@@ -54,3 +43,14 @@
+
+
+
+

{{__('index.contributors.title')}}

+

{{__('index.contributors.description')}}

+
+ {{ partial('partial/all-contributors') }} +
+
+
+
diff --git a/docs/themes/navy/source/css/_partial/base.styl b/docs/themes/navy/source/css/_partial/base.styl index 76de482e6..f75511a29 100644 --- a/docs/themes/navy/source/css/_partial/base.styl +++ b/docs/themes/navy/source/css/_partial/base.styl @@ -54,7 +54,11 @@ a .inner @media screen - padding: 0 gutter-width + margin: 0 gutter-width +.inner.inner-content + margin: 0 32px + @media mq-tablet + margin: 0 48px #content-wrap background: var(--color-content-bg) diff --git a/docs/themes/navy/source/css/_partial/index.styl b/docs/themes/navy/source/css/_partial/index.styl index 26d0398a2..522973a84 100644 --- a/docs/themes/navy/source/css/_partial/index.styl +++ b/docs/themes/navy/source/css/_partial/index.styl @@ -66,6 +66,10 @@ .intro-news-wrap padding: 24px 30px text-decoration: none + &:first-child + padding-left: 0 + &:last-child + padding-right: 0 &:hover background-color: var(--color-link-hover) @media mq-normal @@ -105,7 +109,7 @@ text-align: center @media mq-normal text-align: left - padding-left: 70px + padding-left: 48px .intro-feature-icon color: var(--color-link) @@ -116,7 +120,7 @@ margin-bottom: 26px position: absolute top: 0 - left: 20px + left: 0 font-size: 24px width: @font-size @@ -177,9 +181,11 @@ border-bottom: 1px solid #161d24 margin: -1px 0 .inner - margin: 48px 16px + margin-top: 48px + margin-bottom: 48px @media mq-tablet - margin: 64px 32px + margin-top: 64px + margin-bottom: 64px h3 color: #fff font-size: 32px @@ -192,20 +198,7 @@ text-decoration: none #contributors-wrap - .description a - color: #fff - &:hover - background: #fff - color: var(--color-navy-lighter) - -#sponsors-wrap - border: none - text-align: right background: var(--color-content-bg) - overflow: hidden; - .contributors - display: flex; - justify-content: right; .inner h3 color: var(--color-default) @@ -227,10 +220,20 @@ background: #fff color: var(--color-navy-lighter) +#sponsors-wrap + border: none + overflow: hidden; + .description a + color: #fff + &:hover + background: #fff + color: var(--color-navy-lighter) + .contributors tr display: flex flex-wrap: wrap + justify-content: center; td margin: 10px 2px 0 a img