diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index dc8fbdc0..2e7cb498 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -46,6 +46,9 @@ jobs: WC_CONSUMER_SECRET: ${{ secrets.WC_CONSUMER_SECRET }} run: composer prod + - name: Verify rendered SEO metadata and technical links + run: npm run test:html + - name: Upload fork preview artifact if: github.event.pull_request.head.repo.full_name != github.repository uses: actions/upload-artifact@v4 diff --git a/package.json b/package.json index 8e107c60..41f0e0c4 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "build-assets": "NODE_ENV=local vite build", "staging": "NODE_ENV=staging vite build", "prod": "NODE_ENV=production vite build", - "test:js": "node --test tests/js/*.test.mjs" + "test:js": "node --test tests/js/*.test.mjs", + "test:html": "node --test tests/js/*.smoke.mjs" }, "devDependencies": { "@tighten/jigsaw-vite-plugin": "^2.0.0", diff --git a/source/_assets/scss/_card.scss b/source/_assets/scss/_card.scss index c5d5b3fa..32a2c88d 100644 --- a/source/_assets/scss/_card.scss +++ b/source/_assets/scss/_card.scss @@ -113,6 +113,9 @@ } .ud-card__actions { + display: flex; + flex-direction: column; + gap: 12px; padding-top: 16px; width: 100%; diff --git a/source/_layouts/header.blade.php b/source/_layouts/header.blade.php index 4a48e96d..bb040b57 100644 --- a/source/_layouts/header.blade.php +++ b/source/_layouts/header.blade.php @@ -108,6 +108,16 @@ {{ $page->t('All Features →') }} +
  • + + {{ $page->t('API Integration Guide') }} + +
  • +
  • + + {{ $page->t('Official Documentation') }} + +