mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
✨ feat: Add donate page
This commit is contained in:
1
.github/FUNDING.yml
vendored
Normal file
1
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
polar: nestri
|
||||||
77
apps/www/src/routes/donate/index.tsx
Normal file
77
apps/www/src/routes/donate/index.tsx
Normal file
File diff suppressed because one or more lines are too long
@@ -3,6 +3,8 @@ import { Link } from "@builder.io/qwik-city";
|
|||||||
import { TitleSection, MotionComponent, transition } from "@nestri/ui/react";
|
import { TitleSection, MotionComponent, transition } from "@nestri/ui/react";
|
||||||
import { TeamCounter, NavBar, Footer } from "@nestri/ui"
|
import { TeamCounter, NavBar, Footer } from "@nestri/ui"
|
||||||
|
|
||||||
|
//FIXME: Add a FAQ section
|
||||||
|
|
||||||
export default component$(() => {
|
export default component$(() => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|||||||
@@ -29,10 +29,14 @@ const socialMedia = [
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
export const Footer = component$(() => {
|
type Props = {
|
||||||
|
showGH?: boolean
|
||||||
|
}
|
||||||
|
|
||||||
|
export const Footer = component$(({ showGH = true }: Props) => {
|
||||||
return (
|
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">
|
<footer class="flex justify-center flex-col items-center w-full pt-8 sm:pb-0 pb-8 [&>*]:w-full px-3">
|
||||||
<MotionComponent
|
<MotionComponent
|
||||||
initial={{ opacity: 0, y: 50 }}
|
initial={{ opacity: 0, y: 50 }}
|
||||||
|
|||||||
@@ -4,9 +4,6 @@ import { qwikify$ } from "@builder.io/qwik-react";
|
|||||||
import { motion } from "framer-motion"
|
import { motion } from "framer-motion"
|
||||||
import { ReactDisplay } from "./display"
|
import { ReactDisplay } from "./display"
|
||||||
import * as React from "react"
|
import * as React from "react"
|
||||||
// type Props = {
|
|
||||||
// children?: React.ReactElement[]
|
|
||||||
// }
|
|
||||||
|
|
||||||
const transition = {
|
const transition = {
|
||||||
type: "spring",
|
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)
|
export const HeroSection = qwikify$(ReactHeroSection)
|
||||||
Reference in New Issue
Block a user