From 471a1e9407fb719d80b6057a55e4a5b94f0197f0 Mon Sep 17 00:00:00 2001 From: Kevin De Porre Date: Thu, 19 Dec 2024 10:54:38 +0100 Subject: [PATCH] Do no list technical examples under demos --- website/demos/nextjs.md | 6 +----- website/demos/proxy-auth.md | 6 +----- website/demos/react.md | 6 +----- website/demos/remix.md | 6 +----- website/demos/tanstack.md | 6 +----- 5 files changed, 5 insertions(+), 25 deletions(-) diff --git a/website/demos/nextjs.md b/website/demos/nextjs.md index 5cd7750b57..db0e2e4928 100644 --- a/website/demos/nextjs.md +++ b/website/demos/nextjs.md @@ -5,9 +5,7 @@ description: >- deployed_url: https://nextjs.examples.electric-sql.com/ source_url: https://github.com/electric-sql/electric/tree/main/examples/nextjs image: /img/demos/items-screenshot.png -demo: true -homepage: true -order: 60 +example: true --- # {{ $frontmatter.title }} @@ -18,8 +16,6 @@ order: 60 ## Next.js example app - - This is an example using Electric with [Next.js](/docs/integrations/next). The entrypoint for the Electric-specific code is in [`./app/page.tsx`](https://github.com/electric-sql/electric/blog/main/examples/nextjs/app/page.tsx): diff --git a/website/demos/proxy-auth.md b/website/demos/proxy-auth.md index fd2da2e8fd..8dbb7a9aee 100644 --- a/website/demos/proxy-auth.md +++ b/website/demos/proxy-auth.md @@ -5,9 +5,7 @@ description: >- deployed_url: https://proxy-auth.examples.electric-sql.com/ source_url: https://github.com/electric-sql/electric/tree/main/examples/proxy-auth image: /img/demos/proxy-auth-screenshot.png -demo: true -homepage: true -order: 40 +example: true --- # {{ $frontmatter.title }} @@ -18,8 +16,6 @@ order: 40 ## Proxy auth with Electric - - This example demonstrates authorizing access to the Electric HTTP API using a proxy. It implements the [proxy-auth](/docs/guides/auth#proxy-auth) pattern described in the [Auth](/docs/guides/auth) guide. The main proxy code is in [`./app/shape-proxy/route.ts`](https://github.com/electric-sql/electric/blob/main/examples/proxy-auth/app/shape-proxy/route.ts): diff --git a/website/demos/react.md b/website/demos/react.md index aaec9d70c8..2698c1c562 100644 --- a/website/demos/react.md +++ b/website/demos/react.md @@ -5,9 +5,7 @@ description: >- deployed_url: https://basic.examples.electric-sql.com source_url: https://github.com/electric-sql/electric/tree/main/examples/react image: /img/demos/items-screenshot.png -demo: true -homepage: true -order: 50 +example: true --- # {{ $frontmatter.title }} @@ -18,8 +16,6 @@ order: 50 ## Basic example using React - - This is our simplest example of a web app using Electric with [React](https://react.dev) and [Vite](https://vite.dev). The Electric-specific code is in [`./src/Example.tsx`](https://github.com/electric-sql/electric/blog/main/examples/react/src/Example.tsx): diff --git a/website/demos/remix.md b/website/demos/remix.md index 45c7d3e41e..43959ffa28 100644 --- a/website/demos/remix.md +++ b/website/demos/remix.md @@ -5,9 +5,7 @@ description: >- deployed_url: https://remix.examples.electric-sql.com/ source_url: https://github.com/electric-sql/electric/tree/main/examples/nextjs image: /img/demos/items-screenshot.png -demo: true -homepage: true -order: 70 +example: true --- # {{ $frontmatter.title }} @@ -18,8 +16,6 @@ order: 70 ## Remix example app - - This is an example using Electric with [Remix](https://remix.run/). The entrypoint for the Electric-specific code is in [`./app/routes/_index.tsx`](https://github.com/electric-sql/electric/blog/main/examples/remix/app/routes/_index.tsx): diff --git a/website/demos/tanstack.md b/website/demos/tanstack.md index 9bcad0bdf9..c6183844d9 100644 --- a/website/demos/tanstack.md +++ b/website/demos/tanstack.md @@ -5,9 +5,7 @@ description: >- deployed_url: https://tanstack.examples.electric-sql.com/ source_url: https://github.com/electric-sql/electric/tree/main/examples/tanstack image: /img/demos/items-screenshot.png -demo: true -homepage: true -order: 80 +example: true --- # {{ $frontmatter.title }} @@ -18,8 +16,6 @@ order: 80 ## Electric with Tanstack Query - - This is an example TanStack application developed using Electric for read-path sync, together with Tanstack Query for local writes with [optimistic state](/docs/guides/writes#optimistic-state). See the [Electric <> Tanstack integration docs](https://electric-sql.com/docs/integrations/tanstack) for more context and a [video of the example running here](https://x.com/msfstef/status/1828763769498952173).