Skip to content

Instantly share code, notes, and snippets.

View Yvad60's full-sized avatar
๐Ÿ’™
Kind

Ivad Yves HABIMANA Yvad60

๐Ÿ’™
Kind
View GitHub Profile
import {
BadRequestException,
Injectable,
NotFoundException,
UnauthorizedException,
} from "@nestjs/common";
import { ConfigService } from "@nestjs/config";
import { JwtService } from "@nestjs/jwt";
import { InjectRepository } from "@nestjs/typeorm";
import { Request } from "express";
import { motion, useAnimation } from "framer-motion";
import { useEffect } from "react";
import { useInView } from "react-intersection-observer";
export default function BoxShow() {
const control = useAnimation();
const [ref, isBoxInView] = useInView();
const boxVariants = {
visible: { opacity: 1, scale: 2 },
hidden: { opacity: 0, scale: 0 },