-
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
Showing
15 changed files
with
266 additions
and
265 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,21 @@ | ||
import { cn } from '../../lib/utils'; | ||
|
||
interface ArrowRightProps { | ||
className?: string; | ||
} | ||
|
||
export function ArrowRight({ className }: ArrowRightProps) { | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 24 24" | ||
fill="none" | ||
stroke="currentColor" | ||
strokeWidth="2" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
className={cn('w-6 h-6', className)}> | ||
<path d="M5 12h14m-7-7 7 7-7 7" /> | ||
</svg> | ||
); | ||
} |
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,56 @@ | ||
import githubIcon from '../../assets/icons/github.svg'; | ||
import npmIcon from '../../assets/icons/npm.svg'; | ||
import cratesIcon from '../../assets/icons/crates.svg'; | ||
import vercelIcon from '../../assets/icons/vercel.svg'; | ||
|
||
const linkClass = | ||
'group flex items-center gap-1.5 text-gray-600/90 transition-all hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-200'; | ||
const dividerClass = 'h-4 w-px bg-gray-200/50 dark:bg-gray-700/30'; | ||
const imageClass = | ||
'h-4 w-4 transition-colors [filter:invert(0.4)_sepia(0)_saturate(0)] group-hover:[filter:invert(0)_sepia(0)_saturate(1)] dark:[filter:invert(0.7)_sepia(0)_saturate(0)] dark:group-hover:[filter:invert(0.9)_sepia(0)_saturate(0)]'; | ||
const textClass = 'text-xs font-medium tracking-wide'; | ||
|
||
export const Footer = () => { | ||
return ( | ||
<footer className="flex justify-center gap-3 py-2"> | ||
<a | ||
href="https://github.com/xnmeet/rico" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
className={linkClass}> | ||
<img src={githubIcon} alt="GitHub" className={imageClass} /> | ||
<span className={textClass}>GitHub</span> | ||
</a> | ||
<div className={dividerClass} /> | ||
<a | ||
href="https://www.npmjs.com/package/@rico-core/parser" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
className={linkClass}> | ||
<img | ||
src={npmIcon} | ||
alt="NPM" | ||
className="h-3 w-[42px] transition-colors [filter:invert(0.4)_sepia(0)_saturate(0)] group-hover:[filter:invert(0)_sepia(0)_saturate(1)] dark:[filter:invert(0.7)_sepia(0)_saturate(0)] dark:group-hover:[filter:invert(0.9)_sepia(0)_saturate(0)]" | ||
/> | ||
</a> | ||
<div className={dividerClass} /> | ||
<a | ||
href="https://crates.io/crates/rico" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
className={linkClass}> | ||
<img src={cratesIcon} alt="Crates.io" className={imageClass} /> | ||
<span className={textClass}>Crates.io</span> | ||
</a> | ||
<div className={dividerClass} /> | ||
<a | ||
href="https://vercel.com" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
className={linkClass}> | ||
<img src={vercelIcon} alt="Vercel" className={imageClass} /> | ||
<span className={textClass}>Vercel</span> | ||
</a> | ||
</footer> | ||
); | ||
}; |
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.