mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: aggressive donate button
This commit is contained in:
1 parent
a5c1223f7d
commit
659dddbe8e
3 files changed
+20
-22
No files matched your search
+17
-21
@@ -1,40 +1,36 @@
|
||||
'use client';
|
||||
|
||||
import { CaretRightIcon } from '@radix-ui/react-icons';
|
||||
import { Flex } from '@radix-ui/themes';
|
||||
import { Button, Flex, Link as LinkRadix } from '@radix-ui/themes';
|
||||
import Link from 'next/link';
|
||||
import PageWrapper from '../components/PageWrapper';
|
||||
import { TOOLS } from '../constants/tools';
|
||||
import { PatreonIcon } from '../icons/Patreon';
|
||||
import { theme } from '../stitches.config';
|
||||
import * as styles from './page.css';
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<PageWrapper>
|
||||
{/* <Flex
|
||||
<Flex
|
||||
direction="column"
|
||||
gap="6"
|
||||
align="center"
|
||||
gap="5"
|
||||
justify="center"
|
||||
style={{
|
||||
height: '80vh',
|
||||
}}
|
||||
align="center"
|
||||
style={{ flex: 1 }}
|
||||
>
|
||||
<BlitzkriegWormWide
|
||||
style={{
|
||||
height: 48,
|
||||
width: '100%',
|
||||
}}
|
||||
/>
|
||||
<LinkRadix href="https://www.patreon.com/tresabhi" target="_blank">
|
||||
<Button
|
||||
color="ruby"
|
||||
style={{
|
||||
boxShadow: `0 0 8px ${theme.colors.solidBackground_ruby}f0`,
|
||||
}}
|
||||
>
|
||||
<PatreonIcon style={{ width: '1em', height: '1em' }} /> Consider
|
||||
donating on Patreon
|
||||
</Button>
|
||||
</LinkRadix>
|
||||
|
||||
<EverythingSearch size="3" style={{ width: '100%' }} />
|
||||
|
||||
<Button variant="ghost">
|
||||
All tools <CaretDownIcon />
|
||||
</Button>
|
||||
</Flex> */}
|
||||
|
||||
<Flex direction="column" gap="4" justify="center" style={{ flex: 1 }}>
|
||||
<Flex gap="3" wrap="wrap" align="center" justify="center">
|
||||
{TOOLS.map((tool) => (
|
||||
<Link
|
||||
|
||||
@@ -10,7 +10,7 @@ export function Footer() {
|
||||
return (
|
||||
<Theme radius="none">
|
||||
<Card>
|
||||
<Flex align="center" direction="column" gap="3" justify="center">
|
||||
<Flex justify="center" align="center" gap="3">
|
||||
<Flex
|
||||
align="center"
|
||||
justify={wideFormat ? 'between' : 'center'}
|
||||
|
||||
@@ -9,6 +9,7 @@ import {
|
||||
orangeDark,
|
||||
purpleDark,
|
||||
redDark,
|
||||
rubyDark,
|
||||
sandDark,
|
||||
slate,
|
||||
slateDark,
|
||||
@@ -38,6 +39,7 @@ export const theme = {
|
||||
...createColors(mauveDark, 'mauve'),
|
||||
...createColors(sandDark, 'sand'),
|
||||
...createColors(crimsonDark, 'crimson'),
|
||||
...createColors(rubyDark, 'ruby'),
|
||||
},
|
||||
|
||||
borderStyles: {
|
||||
|
||||
Reference in new issue
Block a user