From b5348f77ecaeb4779000da01860402ff15a03a47 Mon Sep 17 00:00:00 2001 From: akshat Date: Mon, 3 Aug 2026 00:31:39 +0530 Subject: [PATCH] Fix: add missing hyphens in compound adjectives (client-side) --- src/content/docs/en/guides/backend/firebase.mdx | 4 ++-- .../docs/en/reference/experimental-flags/client-prerender.mdx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/content/docs/en/guides/backend/firebase.mdx b/src/content/docs/en/guides/backend/firebase.mdx index 9c0172a591926..64889534b2e95 100644 --- a/src/content/docs/en/guides/backend/firebase.mdx +++ b/src/content/docs/en/guides/backend/firebase.mdx @@ -23,7 +23,7 @@ See our separate guide for [deploying to Firebase hosting](/en/guides/deploy/fir - A [Firebase project with a web app configured](https://firebase.google.com/docs/web/setup). - An Astro project with [`output: 'server'` for on-demand rendering](/en/guides/on-demand-rendering/) enabled. - Firebase credentials: You will need two sets of credentials to connect Astro to Firebase: - - Web app credentials: These credentials will be used by the client side of your app. You can find them in the Firebase console under *Project settings > General*. Scroll down to the **Your apps** section and click on the **Web app** icon. + - Web app credentials: These credentials will be used by the client-side of your app. You can find them in the Firebase console under *Project settings > General*. Scroll down to the **Your apps** section and click on the **Web app** icon. - Project credentials: These credentials will be used by the server side of your app. You can generate them in the Firebase console under *Project settings > Service accounts > Firebase Admin SDK > Generate new private key*. ### Adding Firebase credentials @@ -83,7 +83,7 @@ Your project should now include these new files: To connect Astro with Firebase, install the following packages using the single command below for your preferred package manager: -- `firebase` - the Firebase SDK for the client side +- `firebase` - the Firebase SDK for the client-side - `firebase-admin` - the Firebase Admin SDK for the server side diff --git a/src/content/docs/en/reference/experimental-flags/client-prerender.mdx b/src/content/docs/en/reference/experimental-flags/client-prerender.mdx index c3b4a6c485769..08c4f2f40a363 100644 --- a/src/content/docs/en/reference/experimental-flags/client-prerender.mdx +++ b/src/content/docs/en/reference/experimental-flags/client-prerender.mdx @@ -19,7 +19,7 @@ Enables pre-rendering your prefetched pages on the client in supported browsers. This feature uses the experimental [Speculation Rules Web API](https://developer.mozilla.org/en-US/docs/Web/API/Speculation_Rules_API) and enhances the default `prefetch` behavior globally to prerender links on the client. You may wish to review the [possible risks when prerendering on the client](https://developer.mozilla.org/en-US/docs/Web/API/Speculation_Rules_API#unsafe_prefetching) before enabling this feature. -Enable client side prerendering in your `astro.config.mjs` along with any desired `prefetch` configuration options: +Enable client-side prerendering in your `astro.config.mjs` along with any desired `prefetch` configuration options: ```js title="astro.config.mjs" import { defineConfig } from 'astro/config'; @@ -38,6 +38,6 @@ export default defineConfig({ Continue to use the `data-astro-prefetch` attribute on any `` link on your site to opt in to prefetching. Instead of appending a `` tag to the head of the document or fetching the page with JavaScript, a `