Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquim-verges committed Jul 29, 2024
1 parent fa0fd76 commit a002a63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
27 changes: 0 additions & 27 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,13 @@ import {
EcosystemWalletsIcon,
} from "@/icons";
import { UnrealIcon } from "../icons/sdks/UnrealIcon";
import Head from "next/head";
// import { LandingPageCTAs } from "./landing-page/CTAs";

export default function Page() {
return (
<main className="container grow pb-20">
<Hero />
{/* <TutorialsSection /> */}
{/* <SDKSection /> */}
<WalletsSection />
<EngineSection />
<ContractsSection />
Expand Down Expand Up @@ -351,31 +349,6 @@ function EngineSection() {
);
}

function SDKSection() {
return (
<section className="my-12">
<SectionTitle id="sdk" title="Connect" />

<Grid>
<SDKCardIndex
href="/typescript/v5"
title="TypeScript"
icon={TypeScriptIcon}
/>
<SDKCardIndex href="/react/v5" title="React" icon={ReactIcon} />
<SDKCardIndex
href="/react-native/v5"
title="React Native"
icon={ReactIcon}
/>
<SDKCardIndex href="/dotnet" title=".NET" icon={DotNetIcon} />
<SDKCardIndex href="/unity" title="Unity" icon={UnityIcon} />
<SDKCardIndex href="/unreal" title="Unreal" icon={UnrealIcon} />
</Grid>
</section>
);
}

function SectionTitle(props: {
title: string;
id: string;
Expand Down
2 changes: 1 addition & 1 deletion src/app/typescript/v5/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export const sidebar: SideBar = {
})
?.reduce(
(acc, f) => {
const [_, extensionName] = getCustomTag(f) || [];
const [, extensionName] = getCustomTag(f) || [];
if (extensionName) {
acc[extensionName] = acc[extensionName] || [];
acc[extensionName].push(f);
Expand Down

0 comments on commit a002a63

Please sign in to comment.