diff --git a/.github/workflows/publish-pages-live.yml b/.github/workflows/publish-pages-live.yml new file mode 100644 index 0000000000..57db162fa6 --- /dev/null +++ b/.github/workflows/publish-pages-live.yml @@ -0,0 +1,40 @@ +name: Publish bleeding-edge documentation to gh-pages/live + +on: + push: + branches: + - live + +permissions: + contents: write + +jobs: + deploy: + name: Deploy documentation + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 + + - name: Set up Node.js + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f + with: + node-version: 24.15.0 + registry-url: https://registry.npmjs.org/ + + - name: Install documentation build dependencies + run: | + sudo apt update + sudo apt install mkdocs mkdocs-material + + - name: Install NPM dependencies + run: npm ci + + - name: Build documentation + run: npm run docs:ci + + - name: Deploy documentation to gh-pages/live + uses: JamesIves/github-pages-deploy-action@4a3abc783e1a24aeb44c16e869ad83caf6b4cc23 + with: + folder: docs-html + target-folder: live diff --git a/.gitignore b/.gitignore index 65c2194693..28b7e2f317 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ git-hooks.config.json /docs-html .dist.preview +.dist.github-io .vscode/settings.json # Old gitignore, maybe cleanup when migrated diff --git a/examples/github-io/components/CtaSection.vue b/examples/github-io/components/CtaSection.vue index 605cc8d527..5cb796155e 100644 --- a/examples/github-io/components/CtaSection.vue +++ b/examples/github-io/components/CtaSection.vue @@ -10,7 +10,7 @@

EUPL license Active Development - Community Support + OSGeo Community Project + KERN Compliant
@@ -107,11 +108,11 @@ import TheBadge from './TheBadge.vue' } .lp-cta__btn--primary .kern-icon { - background-color: var(--polar-blue); + background-color: var(--polar-blue-600); } .lp-cta__btn--primary .kern-label { - color: var(--polar-blue); + color: var(--polar-blue-600); } .lp-cta__btn--secondary { diff --git a/examples/github-io/components/DevExSection.vue b/examples/github-io/components/DevExSection.vue index 36b76c0d03..0042ce05e0 100644 --- a/examples/github-io/components/DevExSection.vue +++ b/examples/github-io/components/DevExSection.vue @@ -35,6 +35,20 @@ Open Geospatial Consortium Guidelines +
  • +
  • @@ -161,7 +175,8 @@ const copyCode = async () => { section { display: flex; - justify-content: space-between; + justify-content: center; + gap: 2rem; padding: 2rem clamp(2rem, 5vw, 10rem); background: var(--kern-color-layout-background-hued); diff --git a/examples/github-io/components/FeaturesSection.vue b/examples/github-io/components/FeaturesSection.vue index 9b6712d030..3af6420924 100644 --- a/examples/github-io/components/FeaturesSection.vue +++ b/examples/github-io/components/FeaturesSection.vue @@ -24,6 +24,7 @@ section { img { position: absolute; inset: 0; + width: 100%; height: 100%; } diff --git a/examples/github-io/components/HeroPolarMap.vue b/examples/github-io/components/HeroPolarMap.vue index 7ee52c1526..0ca57a3a62 100644 --- a/examples/github-io/components/HeroPolarMap.vue +++ b/examples/github-io/components/HeroPolarMap.vue @@ -105,6 +105,7 @@ onMounted(async () => { toZoomLevel: 7, }, reverseGeocoder: { + type: 'wps', url: 'https://geodienste.hamburg.de/HH_WPS', coordinateSources: [{ plugin: 'pins', key: 'coordinate' }], addressTarget: { plugin: 'addressSearch', key: 'selectResult' }, diff --git a/examples/github-io/components/HeroSection.vue b/examples/github-io/components/HeroSection.vue index cc6e02aa0b..3d1dd27659 100644 --- a/examples/github-io/components/HeroSection.vue +++ b/examples/github-io/components/HeroSection.vue @@ -20,7 +20,7 @@
    - +
    -
    +
    diff --git a/examples/github-io/components/TheHeader.vue b/examples/github-io/components/TheHeader.vue index 778839133a..b5bb021719 100644 --- a/examples/github-io/components/TheHeader.vue +++ b/examples/github-io/components/TheHeader.vue @@ -1,48 +1,47 @@ @@ -53,16 +52,11 @@ import polarLogoSvg from './assets/polar-logo.svg' padding: 2.5rem 0 2.5rem; position: relative; z-index: 1; -} -.lp-header .lp-container { - max-width: none; - padding: 0 4rem; -} -.lp-header__bar { - display: grid; - grid-template-columns: 1fr 1fr 1fr; + + display: flex; + justify-content: space-around; align-items: center; - gap: 2rem; + gap: 1.5rem; } .lp-header__logo { text-decoration: none; @@ -70,22 +64,18 @@ import polarLogoSvg from './assets/polar-logo.svg' align-items: center; } .lp-header__icon { - height: 68px; + height: 4rem; + min-width: 12rem; width: auto; flex-shrink: 0; } -/* Centered pill */ .lp-header__nav { - display: flex; - justify-content: center; -} -.lp-header__pill { display: flex; align-items: center; gap: 8px; border-radius: 9999px; padding: 10px; - height: 88px; + height: 4rem; background: linear-gradient( 160deg, rgba(255, 255, 255, 0.18) 0%, @@ -108,6 +98,7 @@ import polarLogoSvg from './assets/polar-logo.svg' font-size: 1.2rem; font-weight: 500; padding: 0.6rem 1.4rem; + height: 100%; border-radius: 999px; transition: background 0.15s, @@ -142,7 +133,7 @@ import polarLogoSvg from './assets/polar-logo.svg' font-weight: 600; border-radius: 9999px; padding: 16px 20px 16px 28px; - height: 88px; + height: 4rem; width: 300px; background: linear-gradient( 160deg, @@ -159,23 +150,24 @@ import polarLogoSvg from './assets/polar-logo.svg' box-sizing: border-box; transition: background 0.15s; white-space: nowrap; - margin-left: auto; } .lp-header__github:hover .kern-icon { background-color: #003087; } .lp-header__github-icon { flex-shrink: 0; - fill: #004787; + width: 2.0625rem; + height: 2rem; } .lp-header__github:hover { background: rgba(255, 255, 255, 0.62); } @media (max-width: 768px) { - .lp-header .lp-container { + .lp-header { padding: 0 1.5rem; } - .lp-header__bar { + .lp-header { + display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 1rem; @@ -185,8 +177,9 @@ import polarLogoSvg from './assets/polar-logo.svg' grid-row: 2; order: unset; justify-content: stretch; + margin-bottom: 2rem; } - .lp-header__pill { + .lp-header__nav { height: auto; padding: 8px; border-radius: 1rem; @@ -194,11 +187,6 @@ import polarLogoSvg from './assets/polar-logo.svg' width: 100%; justify-content: space-around; } - .lp-header__link { - font-size: 0.95rem; - padding: 0.4rem 0.75rem; - gap: 0.25rem; - } /* GitHub button: compact icon-only pill */ .lp-header__github { width: auto; @@ -206,19 +194,13 @@ import polarLogoSvg from './assets/polar-logo.svg' padding: 0.6rem 0.9rem; gap: 0; font-size: 0; - margin-left: 0; } .lp-header__github .kern-icon { display: none; } -} -@media (max-width: 480px) { - .lp-header__pill { - flex-wrap: wrap; - } .lp-header__link { - font-size: 0.85rem; - padding: 0.35rem 0.5rem; + width: 50%; + justify-content: center; } } diff --git a/examples/github-io/components/VideoSection.vue b/examples/github-io/components/VideoSection.vue index 60317b1944..f5efc2c08c 100644 --- a/examples/github-io/components/VideoSection.vue +++ b/examples/github-io/components/VideoSection.vue @@ -1,34 +1,18 @@