open-sauced / landing-page

This is the new landing page for open sauced
https://opensauced.pizza
31 stars 29 forks source link

feat: set up for docs to be a subdirectory #303

Closed BekahHW closed 4 months ago

BekahHW commented 4 months ago

Description

We're working on improving the SEO of our site. A quick win is to have our docs become a subdirectory instead of a subdomain. This sets it up.

Related Tickets & Documents

closes #300

Mobile & Desktop Screenshots/Recordings

Works using deploy preview for docs PR:

https://github.com/open-sauced/landing-page/assets/34313413/e49c8e6a-ca57-4d5f-b899-da48cf642fe9

Steps to QA

  1. Run this project locally
  2. Change the destination in the next.config.js to this:

    { source: '/docs/:path', destination: 'https://deploy-preview-309--docs-open.netlify.app/:path', }, { source: '/docs/', destination: 'https://deploy-preview-309--docs-open.netlify.app/', }

  3. go to http://localhost:3000/docs.

Tier (staff will fill in)

[optional] What gif best describes this PR or how it makes you feel?

frustrated

netlify[bot] commented 4 months ago

Deploy Preview for opensauced-landing ready!

Name Link
Latest commit 6f4dad81b8c2eba50346add732d4dc6b82a6edd7
Latest deploy log https://app.netlify.com/sites/opensauced-landing/deploys/66576254cb914500085675e3
Deploy Preview https://deploy-preview-303--opensauced-landing.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 91 (no change from production)
Best Practices: 92 (no change from production)
SEO: 83 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.