Skip to content

Commit

Permalink
fixed paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Egge21M committed Dec 10, 2024
1 parent 300a04e commit 0dcf34b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import useBaseUrl from "@docusaurus/useBaseUrl";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";

export default function Home(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
const docsLink = useBaseUrl("docs/Introduction/getting_started");
return (
<Layout
title={`Hello from ${siteConfig.title}`}
Expand All @@ -12,7 +14,10 @@ export default function Home(): JSX.Element {
<div className="flex flex-col items-center p-8 ">
<div className="py-32 flex flex-col items-center justify-center text-center gap-8">
<div className="flex gap-4">
<img src={"/img/tslogo.png"} className="w-12 h-12" />
<img
src={require("@site/static/img/tslogo.png").default}
className="w-12 h-12"
/>
<h1 className="text-5xl font-extrabold max-w-5xl text-center">
cashu-ts
</h1>
Expand All @@ -27,7 +32,7 @@ export default function Home(): JSX.Element {
<div className="flex gap-4">
<a
className="px-4 py-2 bg-purple-900 hover:bg-purple-700 rounded-full border-none text-white hover:no-underline hover:text-white"
href="/docs/Introduction/getting_started"
href={docsLink}
>
Getting Started
</a>
Expand Down

0 comments on commit 0dcf34b

Please sign in to comment.