feat: Add donate page

This commit is contained in:
Wanjohi
2024-09-16 15:43:57 +03:00
parent 3088b050ed
commit 58e93b28e9
5 changed files with 86 additions and 25 deletions

View File

@@ -29,10 +29,14 @@ const socialMedia = [
},
]
export const Footer = component$(() => {
type Props = {
showGH?: boolean
}
export const Footer = component$(({ showGH = true }: Props) => {
return (
<>
<GithubBanner />
{showGH && <GithubBanner />}
<footer class="flex justify-center flex-col items-center w-full pt-8 sm:pb-0 pb-8 [&>*]:w-full px-3">
<MotionComponent
initial={{ opacity: 0, y: 50 }}

View File

@@ -4,9 +4,6 @@ import { qwikify$ } from "@builder.io/qwik-react";
import { motion } from "framer-motion"
import { ReactDisplay } from "./display"
import * as React from "react"
// type Props = {
// children?: React.ReactElement[]
// }
const transition = {
type: "spring",
@@ -119,24 +116,4 @@ export function ReactHeroSection({ children }: Props) {
)
}
// export const ReactGpadAnimation = ({ index, children, className }: { className?: string, index: number, children?: React.ReactElement }) => {
// return (
// <motion.div
// className={className}
// animate={{
// scale: [1, 1.1, 1],
// opacity: [0.5, 1, 0.5],
// }}
// transition={{
// duration: 3,
// repeat: Infinity,
// delay: index * 0.2,
// }}
// >
// {children}
// </motion.div>
// )
// }
// export const GpadAnimation = qwikify$(ReactGpadAnimation)
export const HeroSection = qwikify$(ReactHeroSection)