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

1
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1 @@
polar: nestri

File diff suppressed because one or more lines are too long

View File

@@ -3,6 +3,8 @@ import { Link } from "@builder.io/qwik-city";
import { TitleSection, MotionComponent, transition } from "@nestri/ui/react";
import { TeamCounter, NavBar, Footer } from "@nestri/ui"
//FIXME: Add a FAQ section
export default component$(() => {
return (
<>

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)