This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import { useEffect, useState } from "react"; | |
| interface IPData { | |
| ip: string; | |
| city: string; | |
| country_name: string; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import { useState, useEffect } from "react"; | |
| import Image from "next/image"; | |
| import { FaSpotify } from "react-icons/fa6"; | |
| interface SongData { | |
| progress: number; | |
| duration: number; | |
| title: string; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import { motion, useTransform, useScroll } from "framer-motion"; | |
| import Image from "next/image"; | |
| import { useRef } from "react"; | |
| const Showcase = () => { | |
| const targetRef = useRef<HTMLDivElement | null>(null); | |
| const { scrollYProgress } = useScroll({ | |
| target: targetRef, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import { motion, useMotionValue, useSpring } from "framer-motion"; | |
| import { useEffect } from "react"; | |
| const Dot = () => { | |
| const positionX = useMotionValue(0); | |
| const positionY = useMotionValue(0); | |
| useEffect(() => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import { useEffect } from "react"; | |
| import { motion, stagger, useAnimate } from "framer-motion"; | |
| export const TextGenerateEffect: React.FC<{ words: string }> = ({ words }) => { | |
| const wordsArray = words.split(" "); | |
| const [scope, animate] = useAnimate(); | |
| useEffect(() => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import { useEffect, useState } from "react"; | |
| import { motion, useAnimation } from "framer-motion"; | |
| interface StarProps { | |
| x: number; | |
| y: number; | |
| size: number; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import { motion } from "framer-motion"; | |
| export default function WavingHand() { | |
| return ( | |
| <motion.div | |
| style={{ | |
| marginBottom: "-20px", | |
| marginRight: "-45px", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Add ?wait=1 to the end of your Webhook URL. This will return a response. | |
| const webhookURL = `https://discordapp.com/api/webhooks/{webhook.id}/{webhook.token}?wait=1` | |
| // Reponse looks like this: | |
| // id "message id here" | |
| // type 0 | |
| // content "example" | |
| // channel_id "channel id here" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState } from "react"; | |
| function DateTimeForm() { | |
| const [date, setDate] = useState(""); | |
| const [time, setTime] = useState(""); | |
| const [formattedDateTime, setFormattedDateTime] = useState(""); | |
| function handleSubmit(event) { | |
| event.preventDefault(); |