diff --git a/src/Pages/Home/Home.css b/src/Pages/Home/Home.css index 7138d4c0a..ba0731805 100644 --- a/src/Pages/Home/Home.css +++ b/src/Pages/Home/Home.css @@ -79,3 +79,11 @@ transform: scale(1.05) rotate(6deg) translateY(1.5rem); } } + +.hover-grow { + transition: transform 0.15s ease; +} + +.hover-grow:hover { + transform: scale(1.05); +} diff --git a/src/Pages/Home/Home.js b/src/Pages/Home/Home.js index a26bc10c8..9f9223f30 100755 --- a/src/Pages/Home/Home.js +++ b/src/Pages/Home/Home.js @@ -46,38 +46,43 @@ const Home = () => { href={part} target="_blank" rel="noopener noreferrer" - className="text-blue-400 underline" + className="text-blue-400 underline hover-grow" > {part} ); } - return {part}; }); } return ( -
+

+ className={`slide-in-top hover-grow my-4 text-3xl font-bold text-center text-white opacity-75 md:text-5xl xl:text-left${showAll ? ' show' : ''}`}> The Software and Computer Engineering Society

+

+ className={`slide-in-right hover-grow text-base text-gray-400 text-center xl:text-left md:text-2xl${showAll ? ' show' : ''}`}> SJSU's Largest Engineering Club

-
+ +
@@ -86,7 +91,7 @@ const Home = () => {
diff --git a/test/frontend/AboutPage.test.js b/test/frontend/AboutPage.test.js index 7572b147a..28e2f2966 100644 --- a/test/frontend/AboutPage.test.js +++ b/test/frontend/AboutPage.test.js @@ -10,10 +10,10 @@ Enzyme.configure({ adapter: new Adapter() }); describe('', () => { global.IntersectionObserver = class IntersectionObserver { - constructor(callback) { - this.callback = callback; - } -}; + constructor(callback) { + this.callback = callback; + } + }; const wrapper = mount(); it('Should render the main heading', () => {