mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 14:38:50 +00:00
new docs
This commit is contained in:
1 parent
3cebaf7fa5
commit
b5eba8423f
229 files changed
+6238
-10690
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import { IconCoffee } from '@tabler/icons-react';
|
||||
|
||||
const DonateLink: React.FC<{ image: string; name: string; kofiName: string }> = ({ image, name, kofiName }) => {
|
||||
return (
|
||||
<div className="flex w-32 flex-col items-center justify-center gap-2">
|
||||
<p>{name}</p>
|
||||
<img src={image} alt={`${name}-image`} className="rounded-md bg-neutral-100 shadow-md dark:bg-neutral-900" />
|
||||
<a href={`https://ko-fi.com/${kofiName}`} target="_blank" className="w-full">
|
||||
<button className="flex w-full items-center justify-center gap-2 rounded-md bg-sky-500/20 p-2 text-sky-500 hover:bg-sky-500/30">
|
||||
<IconCoffee />
|
||||
Support
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default DonateLink;
|
||||
Reference in new issue
Block a user