-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add raytracing and react project
- Loading branch information
1 parent
0beeef3
commit 3a64111
Showing
6 changed files
with
77 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { Image } from "@/components/ui/image"; | ||
import { useData } from "vike-react/useData"; | ||
export default function Page() { | ||
const { project } = useData() | ||
return ( | ||
<div className="flex flex-col"> | ||
<div className="font-medium text-base flex flex-col gap-1"> | ||
<p className="my-0 text-zinc-700">{project.name}</p> | ||
<p className="my-0 text-zinc-500 text-sm">{project.time} · {project.description}</p> | ||
</div> | ||
<div className="flex flex-col space-y-12 mt-4"> | ||
<div className="flex flex-col justify-center items-center"> | ||
<Image | ||
src="/images/raytracing.webp" | ||
alt="model" | ||
className="bg-gray-50 border rounded-md my-0" | ||
/> | ||
<a | ||
aria-label="David Dong's GitHub project Mini-react" | ||
className="no-underline my-0 mt-4 text-sm font-medium hover:underline hover:cursor-pointer" | ||
href="https://github.com/DongHY1/raytracing-js" | ||
> | ||
Raytracing Website | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { useData } from "vike-react/useData"; | ||
export default function Page() { | ||
const { project } = useData() | ||
return ( | ||
<div className="flex flex-col"> | ||
<div className="font-medium text-base flex flex-col gap-1"> | ||
<p className="my-0 text-zinc-700">{project.name}</p> | ||
<p className="my-0 text-zinc-500 text-sm">{project.time} · {project.description}</p> | ||
</div> | ||
<div className="flex flex-col space-y-12 mt-4"> | ||
<div className="flex flex-col justify-center items-center"> | ||
<iframe | ||
scrolling="no" | ||
src="https://react.daviddong.me" | ||
title="react" | ||
className="w-full h-72 border rounded-md overflow-hidden" | ||
/> | ||
<a | ||
aria-label="David Dong's GitHub project Mini-react" | ||
className="no-underline my-0 mt-4 text-sm font-medium hover:underline hover:cursor-pointer" | ||
href="https://github.com/DongHY1/Mini-React" | ||
> | ||
Mini React Website | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
); | ||
} |