-
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.
- Loading branch information
1 parent
33ba36d
commit fa9f841
Showing
16 changed files
with
537 additions
and
455 deletions.
There are no files selected for viewing
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,21 @@ | ||
import Image from 'next/image' | ||
import { cn } from './cn' | ||
|
||
import React, { forwardRef } from 'react' | ||
|
||
const Starship = forwardRef<HTMLImageElement, { className?: string }>( | ||
function Starship({ className }, ref) { | ||
return ( | ||
<Image | ||
alt="A starship from a birds-eye view" | ||
className={cn('starship', className)} | ||
src="/starship.png" | ||
layout="fill" | ||
quality={100} | ||
ref={ref} | ||
></Image> | ||
) | ||
}, | ||
) | ||
|
||
export default Starship |
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,6 @@ | ||
import { clsx, type ClassValue } from 'clsx' | ||
import { twMerge } from 'tailwind-merge' | ||
|
||
export function cn(...args: ClassValue[]) { | ||
return twMerge(clsx(args)) | ||
} |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,13 @@ | ||
export default function Tracjectory() { | ||
return <div className="trajectory h-full w-[2px] bg-supernova"></div> | ||
import { cn } from '../../common/cn' | ||
|
||
export default function Tracjectory(props: JSX.IntrinsicElements['div']) { | ||
return ( | ||
<div | ||
className={cn('trajectory h-full w-[2px] bg-supernova', props.className)} | ||
style={{ | ||
maskImage: 'repeating-linear-gradient(180deg, black, transparent 10px)', | ||
// maskSize: '10px 100%', | ||
}} | ||
></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
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
Oops, something went wrong.