Skip to content

Commit

Permalink
update links
Browse files Browse the repository at this point in the history
  • Loading branch information
webloopbox committed Oct 11, 2024
1 parent 8c65567 commit 60359d0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.
19 changes: 7 additions & 12 deletions website/app/demo/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(
() =>
Expand All @@ -30,29 +31,23 @@ 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",
docs: "",
},
{
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",
Expand Down Expand Up @@ -116,14 +111,14 @@ export default function ExamplesPage() {
<Image src={checkIcon} alt="ReactGrid" />
{cf.name}
{cf.docs && (
<a
<Link
href={cf.docs}
target="_blank"
rel="noreferrer"
className="text-green-primary underline ml-2"
>
(check docs)
</a>
</Link>
)}
</li>
))}
Expand Down
2 changes: 1 addition & 1 deletion website/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const Footer = () => {
<Link href="/demo">Demo</Link>
</li>
<li>
<Link href="/docs">Documentation</Link>
<Link href="/docs/5.0/1-getting-started">Documentation</Link>
</li>
<li>
<Link href="/support">Support</Link>
Expand Down
2 changes: 1 addition & 1 deletion website/components/hero-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const HeroSection = () => {
gradientColor={"#D9D9D955"}
>
<Link
href="/docs"
href="/docs/5.0/1-getting-started"
className="w-full h-full flex sm:flex-row flex-wrap justify-center items-center text-2xs sm:text-xs gap-2 bg-green-secondary p-2 md:pl-4"
>
Get Started <BsFillRocketTakeoffFill />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 60359d0

Please sign in to comment.