Skip to content

Instantly share code, notes, and snippets.

View harryparkinson101's full-sized avatar
🎯
Focusing

Harry Parkinson harryparkinson101

🎯
Focusing
View GitHub Profile
@harryparkinson101
harryparkinson101 / MotionCard.tsx
Created February 13, 2024 12:32
Framer-tilt-cards
"use client"
import { Card, CardContent, CardTitle } from "./ui/card";
import Tilt from "react-parallax-tilt";
import { motion } from "framer-motion";
import { useState } from "react";
const testimonials = [
{
name: "Alice",
// This is an example of some badly written code. What would you refactor?
type User struct {
Uuid string
FirstName string `db:"first_name"`
LastName string `db:"last_name"`
Email string
Password string
Address *Address
}