mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +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';
|
'use client';
|
||||||
|
|
||||||
import { CaretRightIcon } from '@radix-ui/react-icons';
|
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 Link from 'next/link';
|
||||||
import PageWrapper from '../components/PageWrapper';
|
import PageWrapper from '../components/PageWrapper';
|
||||||
import { TOOLS } from '../constants/tools';
|
import { TOOLS } from '../constants/tools';
|
||||||
|
import { PatreonIcon } from '../icons/Patreon';
|
||||||
import { theme } from '../stitches.config';
|
import { theme } from '../stitches.config';
|
||||||
import * as styles from './page.css';
|
import * as styles from './page.css';
|
||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
return (
|
return (
|
||||||
<PageWrapper>
|
<PageWrapper>
|
||||||
{/* <Flex
|
<Flex
|
||||||
direction="column"
|
direction="column"
|
||||||
gap="6"
|
gap="5"
|
||||||
align="center"
|
|
||||||
justify="center"
|
justify="center"
|
||||||
style={{
|
align="center"
|
||||||
height: '80vh',
|
style={{ flex: 1 }}
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<BlitzkriegWormWide
|
<LinkRadix href="https://www.patreon.com/tresabhi" target="_blank">
|
||||||
style={{
|
<Button
|
||||||
height: 48,
|
color="ruby"
|
||||||
width: '100%',
|
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">
|
<Flex gap="3" wrap="wrap" align="center" justify="center">
|
||||||
{TOOLS.map((tool) => (
|
{TOOLS.map((tool) => (
|
||||||
<Link
|
<Link
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export function Footer() {
|
|||||||
return (
|
return (
|
||||||
<Theme radius="none">
|
<Theme radius="none">
|
||||||
<Card>
|
<Card>
|
||||||
<Flex align="center" direction="column" gap="3" justify="center">
|
<Flex justify="center" align="center" gap="3">
|
||||||
<Flex
|
<Flex
|
||||||
align="center"
|
align="center"
|
||||||
justify={wideFormat ? 'between' : 'center'}
|
justify={wideFormat ? 'between' : 'center'}
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import {
|
|||||||
orangeDark,
|
orangeDark,
|
||||||
purpleDark,
|
purpleDark,
|
||||||
redDark,
|
redDark,
|
||||||
|
rubyDark,
|
||||||
sandDark,
|
sandDark,
|
||||||
slate,
|
slate,
|
||||||
slateDark,
|
slateDark,
|
||||||
@@ -38,6 +39,7 @@ export const theme = {
|
|||||||
...createColors(mauveDark, 'mauve'),
|
...createColors(mauveDark, 'mauve'),
|
||||||
...createColors(sandDark, 'sand'),
|
...createColors(sandDark, 'sand'),
|
||||||
...createColors(crimsonDark, 'crimson'),
|
...createColors(crimsonDark, 'crimson'),
|
||||||
|
...createColors(rubyDark, 'ruby'),
|
||||||
},
|
},
|
||||||
|
|
||||||
borderStyles: {
|
borderStyles: {
|
||||||
|
|||||||
Reference in new issue
Block a user