This file contains 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
type IconBarType = { | |
icon: React.ComponentType<{ className?: string }>; | |
label: string; | |
}; | |
const iconBar = [ | |
{ icon: MdOutlinePark, label: "National Park" }, | |
{ icon: MdOutlinePool, label: "Beautiful Pools" }, | |
{ icon: MdOutlinePhotoCamera, label: "Amazing Views" }, | |
{ icon: GiSydneyOperaHouse, label: "Top Cities" }, |
This file contains 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"; | |
import TransitionFull from "~/components/buildingBlocks/TransitionFull"; | |
import FlexFull from "~/components/buildingBlocks/flexFull"; | |
import Text from "~/components/buildingBlocks/text"; | |
import VStackFull from "~/components/buildingBlocks/vStackFull"; | |
import TeslaSmallScreenMenu from "./components/teslaSmallMenu"; | |
import Flex from "~/components/buildingBlocks/flex"; | |
import VStack from "~/components/buildingBlocks/vStack"; | |
import { motion } from "framer-motion"; | |
import TeslaLargeScreenMenu from "./components/teslaMenuLarge"; |
This file contains 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 { useEffect, useRef, useState } from "react"; | |
import { TbMenu } from "react-icons/tb"; | |
import Flex from "~/components/buildingBlocks/flex"; | |
import FlexFull from "~/components/buildingBlocks/flexFull"; | |
import HStack from "~/components/buildingBlocks/hStack"; | |
import Icon from "~/components/buildingBlocks/icon"; | |
import Text from "~/components/buildingBlocks/text"; | |
import VStackFull from "~/components/buildingBlocks/vStackFull"; | |
import { motion } from "framer-motion"; | |
import HStackFull from "~/components/buildingBlocks/hStackFull"; |
This file contains 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
@keyframes slideDown { | |
from { | |
transform: translateY(-100%); | |
} | |
to { | |
transform: translateY(0); | |
} | |
} |
This file contains 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
export const ExampleOne = () => ( | |
<motion.div | |
whileHover={{ scale: 1.2 }} | |
whileTap={{ scale: 1.1 }} | |
drag="x" | |
dragConstraints={{ left: -100, right: 100 }} | |
style={SmallPinkSquare} | |
/> | |
); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.