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 this in your .zshrc/.bashrc | |
| gt() { | |
| if [ -z "$1" ]; then | |
| echo "Usage: gt <branch_name>" | |
| return 1 | |
| fi | |
| branch="$1" | |
| repo_root=$(git rev-parse --show-toplevel 2>/dev/null) |
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 { motion } from "framer-motion"; | |
| function HeroHeading(props) { | |
| let heading_text = props.heading_text; | |
| const variants = { | |
| initial: { y: 30, opacity: 0 }, | |
| enter: { y: 0, opacity: 1, transition: { duration: 0.25 } } | |
| }; | |
| let character_array = heading_text.split(""); | |
| const framer_spans = character_array.map((c, i) => ( |
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 { | |
| Editor, | |
| EditorState, | |
| RichUtils, | |
| AtomicBlockUtils, | |
| CompositeDecorator | |
| } from "draft-js"; | |
| import Button from "@material-ui/core/Button"; | |
| import Icon from "@material-ui/core/Icon"; |