Skip to content

Commit

Permalink
Fixes file path for referencing image files
Browse files Browse the repository at this point in the history
  • Loading branch information
cr2007 committed Feb 1, 2025
1 parent e806a37 commit 22137ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 50 deletions.
53 changes: 3 additions & 50 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,64 +53,17 @@ export default function Home() {
>
<Image
aria-hidden
// src="https://upload.wikimedia.org/wikipedia/commons/9/91/Octicons-mark-github.svg"
src={
effectiveTheme === "dark"
? "https://github.com/cr2007/chatgpt-heatmap-web/raw/refs/heads/main/assets/github-mark-white.svg" // Light version for dark theme
: "https://github.com/cr2007/chatgpt-heatmap-web/raw/refs/heads/main/assets/github-mark.svg"
? "/github-mark-white.svg" // Light version for dark theme
: "/github-mark.svg"
}
alt="GitHub Icon"
width={32}
height={32}
/>
Source Code
Project Source Code
</a>

{/* <a
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
aria-hidden
src="https://nextjs.org/icons/file.svg"
alt="File icon"
width={16}
height={16}
/>
Learn
</a>
<a
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
aria-hidden
src="https://nextjs.org/icons/window.svg"
alt="Window icon"
width={16}
height={16}
/>
Examples
</a>
<a
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
aria-hidden
src="https://nextjs.org/icons/globe.svg"
alt="Globe icon"
width={16}
height={16}
/>
Go to nextjs.org →
</a> */}
</footer>
</div>
);
Expand Down
File renamed without changes
File renamed without changes

0 comments on commit 22137ae

Please sign in to comment.