HDS-1950 Add missing Next.js & Gatsby snippets #1185
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add missing Next.js and Gatsby code snippets back to the documentation.
They should be in here https://hds.hel.fi/foundation/guidelines/server-side-rendering/
but were accidentally(?) removed in this commit 9f691db
Related Issue
https://helsinkisolutionoffice.atlassian.net/browse/HDS-1950
How Has This Been Tested?
On local build
Screenshots (if appropriate):
Before:
![Screenshot 2023-12-08 at 12 12 20](https://private-user-images.githubusercontent.com/14258876/289055100-78a99182-bd04-47aa-8e94-88e87b9531bd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MjM4NTEsIm5iZiI6MTczOTYyMzU1MSwicGF0aCI6Ii8xNDI1ODg3Ni8yODkwNTUxMDAtNzhhOTkxODItYmQwNC00N2FhLThlOTQtODhlODdiOTUzMWJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEyNDU1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU4MTBjYTIwNDIxN2E3YWUxMDg3YjU0YmNhMmYyOTQyZTc2YTk5YjQ4ZjI2ZTY4YmMxNWU5ODM3ZDNiZDcyYjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.R68LGjTTsk-vR0OcOGQWwyvaRWbIJnFSyEGisz0jPrU)
After:
![Screenshot 2023-12-08 at 12 13 23](https://private-user-images.githubusercontent.com/14258876/289055106-a325d4d5-fcd6-4a9c-83ff-f65598707379.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MjM4NTEsIm5iZiI6MTczOTYyMzU1MSwicGF0aCI6Ii8xNDI1ODg3Ni8yODkwNTUxMDYtYTMyNWQ0ZDUtZmNkNi00YTljLTgzZmYtZjY1NTk4NzA3Mzc5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEyNDU1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2NTA3NzEwYTNmNGI0MWZlZjNkZWUyYWJjYTYxZTJjM2RiY2JjOWQzYTZkOTE2YTcwMTVjOTI4ZjhiMTE3NjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.RsLo2AVuu_6cKKxnXxbz_TcTuJh6ZlJYr4sIBHGpTX0)
Add to changelog