Skip to content

Commit

Permalink
add donation banner
Browse files Browse the repository at this point in the history
  • Loading branch information
alextusinean committed Aug 20, 2023
1 parent 0fc1db5 commit ba1d992
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ChakraProvider } from '@chakra-ui/react';
import { ChakraProvider, Alert, AlertIcon, AlertTitle, AlertDescription, Link, Box } from '@chakra-ui/react';
import Head from 'next/head';

export default function App({ Component, pageProps }) {
Expand All @@ -16,6 +16,19 @@ export default function App({ Component, pageProps }) {
</Head>

<ChakraProvider>
<Box position='fixed' zIndex='9999' width='100%' top='0'>
<Alert
status='info'
alignItems='center'
justifyContent='center'
textAlign='center'
variant='solid'
>
<AlertIcon />
<AlertTitle>This tool is free to use!</AlertTitle>
<AlertDescription>Consider showing some love to the developer: <Link href='https://paypal.me/tusinean' color='blue'>PayPal</Link></AlertDescription>
</Alert>
</Box>
<Component {...pageProps} />
</ChakraProvider>
</>
Expand Down

0 comments on commit ba1d992

Please sign in to comment.