From 00ba5dc418db34bb7bcbf0293147b9676c610644 Mon Sep 17 00:00:00 2001 From: Richard Abrich Date: Tue, 12 Dec 2023 15:40:43 -0600 Subject: [PATCH 1/2] Update MastHead.js Add faKeyboard --- components/MastHead.js | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/components/MastHead.js b/components/MastHead.js index f56da26..d7ca0fc 100644 --- a/components/MastHead.js +++ b/components/MastHead.js @@ -1,7 +1,7 @@ import React, { useState } from 'react'; import Link from "next/link" import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' -import { faBoxOpen, faBrain, faArrowPointer } from '@fortawesome/free-solid-svg-icons' +import { faBoxOpen, faBrain, faArrowPointer, faKeyboard } from '@fortawesome/free-solid-svg-icons' import { motion } from "framer-motion" import Image from 'next/image'; @@ -71,6 +71,28 @@ export default function Home() { > + + + From 6fc3fe0b72cb90c60986773b2e13730ca4f7e2ab Mon Sep 17 00:00:00 2001 From: Richard Abrich Date: Tue, 12 Dec 2023 15:48:55 -0600 Subject: [PATCH 2/2] Update MastHead.js --- components/MastHead.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/MastHead.js b/components/MastHead.js index d7ca0fc..8a15fe6 100644 --- a/components/MastHead.js +++ b/components/MastHead.js @@ -78,7 +78,7 @@ export default function Home() { transition={{ duration: 1.5, ease: "easeInOut", - times: [0, .5, 1], + times: [0 + .5, .5 + .5, 1 + .5], // as above but + .5 repeat: Infinity, repeatDelay: 0, }} @@ -87,7 +87,7 @@ export default function Home() { // Center vertically top: '50%', //transform: 'translateY(-50%)', - top: 'calc(50% - 16px - 32px)', // as above but -32px + top: 'calc(50% + 16px)', // as above but +16px instead of -16px left: 'calc(50% + 32px)', }} >