mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-13 01:05:37 +02:00
This adds the following pages: The landing page (/) The pricing page (/pricing) The contact page (/contact) The changelog page (/changelog) Terms Of Service page (/terms) Privacy Policy (/privacy)
28 lines
818 B
TypeScript
28 lines
818 B
TypeScript
/** @jsxImportSource react */
|
|
//This is used for testing whether the Qwik React components are working
|
|
import { qwikify$ } from "@builder.io/qwik-react"
|
|
import { motion } from "framer-motion"
|
|
|
|
export const ReactExample = () => {
|
|
return (
|
|
<div>
|
|
<motion.div
|
|
style={{
|
|
width: "100px",
|
|
height: "100px",
|
|
backgroundColor: "red",
|
|
}}
|
|
animate={{y:0}}
|
|
initial={{y:100}}
|
|
// whileHover={{ scale: 1.2, rotate: 90 }}
|
|
// whileTap={{
|
|
// scale: 0.8,
|
|
// rotate: -90,
|
|
// borderRadius: "100%"
|
|
// }}
|
|
/>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export const Example = qwikify$(ReactExample) |