From 60359d020c3636b09586adee5eef3e40f7677d87 Mon Sep 17 00:00:00 2001 From: Pawel Date: Fri, 11 Oct 2024 12:03:46 +0200 Subject: [PATCH] update links --- website/app/demo/page.tsx | 19 +++++++------------ website/components/footer.tsx | 2 +- website/components/hero-section.tsx | 2 +- .../3-cell-templates/3-non-editable-cell.mdx | 2 +- 4 files changed, 10 insertions(+), 15 deletions(-) diff --git a/website/app/demo/page.tsx b/website/app/demo/page.tsx index 025f34da..d6a6b989 100644 --- a/website/app/demo/page.tsx +++ b/website/app/demo/page.tsx @@ -5,6 +5,7 @@ import checkIcon from "@/public/static/check-icon.svg"; import dotIcon from "@/public/static/dot-icon.svg"; import Image from "next/image"; import dynamic from "next/dynamic"; +import Link from "next/link"; const DynamicLiquidityPlanner = dynamic( () => @@ -30,13 +31,11 @@ const capabilities = [ const coreFeatures = [ { name: "Multiple cell templates", - docs: process.env.NEXT_PUBLIC_BASE_URL + "/docs/5.0/3-cell-templates", + docs: "/docs/5.0/3-cell-templates", }, { name: "Sticky row and column", - docs: - process.env.NEXT_PUBLIC_BASE_URL + - "/docs/5.0/2-implementing-core-features/4-sticky", + docs: "/docs/5.0/2-implementing-core-features/4-sticky", }, { name: "Range and row selection", @@ -44,15 +43,11 @@ const coreFeatures = [ }, { name: "Fill handle", - docs: - process.env.NEXT_PUBLIC_BASE_URL + - "/docs/5.0/2-implementing-core-features/5-fill-handle", + docs: "/docs/5.0/2-implementing-core-features/5-fill-handle", }, { name: "Copy/cut/paste", - docs: - process.env.NEXT_PUBLIC_BASE_URL + - "/docs/5.0/2-implementing-core-features/10-copy-cut-paste", + docs: "/docs/5.0/2-implementing-core-features/10-copy-cut-paste", }, { name: "Touch capability", @@ -116,14 +111,14 @@ export default function ExamplesPage() { ReactGrid {cf.name} {cf.docs && ( - (check docs) - + )} ))} diff --git a/website/components/footer.tsx b/website/components/footer.tsx index 5a8039d6..bf0d1d24 100644 --- a/website/components/footer.tsx +++ b/website/components/footer.tsx @@ -25,7 +25,7 @@ export const Footer = () => { Demo
  • - Documentation + Documentation
  • Support diff --git a/website/components/hero-section.tsx b/website/components/hero-section.tsx index f7820c78..9912992d 100644 --- a/website/components/hero-section.tsx +++ b/website/components/hero-section.tsx @@ -169,7 +169,7 @@ export const HeroSection = () => { gradientColor={"#D9D9D955"} > Get Started diff --git a/website/pages/docs/5.0/3-cell-templates/3-non-editable-cell.mdx b/website/pages/docs/5.0/3-cell-templates/3-non-editable-cell.mdx index 6b8c01ce..7557861b 100644 --- a/website/pages/docs/5.0/3-cell-templates/3-non-editable-cell.mdx +++ b/website/pages/docs/5.0/3-cell-templates/3-non-editable-cell.mdx @@ -11,7 +11,7 @@ The `NonEditableCell` template is used to display non-editable text values withi #### Implementation - - Open `NonEditableCell` implementation implementation on [GitHub](https://github.com/silevis/reactgrid/blob/v5-dev/reactgrid/lib/cellTemplates/NonEditableCell.tsx) + - Open `NonEditableCell` implementation on [GitHub](https://github.com/silevis/reactgrid/blob/v5-dev/reactgrid/lib/cellTemplates/NonEditableCell.tsx) #### Interface declaration