File tree Expand file tree Collapse file tree 3 files changed +7
-13
lines changed
Expand file tree Collapse file tree 3 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -120,11 +120,8 @@ const AboutPage = () => {
120120 return (
121121 < div className = "py-8 sm:py-16" >
122122 < div className = "mx-auto max-w-7xl px-6 lg:px-8 text-gray-300" >
123- < Link
124- to = "/"
125- className = "text-primary-400 hover:underline flex items-center justify-center gap-2 text-lg mb-4"
126- >
127- < ArrowLeftIcon className = "text-xl" /> Back to Home
123+ < Link to = "/" className = "group text-primary-400 hover:underline flex items-center justify-center gap-2 text-lg mb-4" >
124+ < ArrowLeftIcon className = "text-xl transition-transform group-hover:-translate-x-1" /> Back to Home
128125 </ Link >
129126 < div className = "border border-gray-700 p-8 rounded-lg shadow-xl flex" >
130127 < div className = "w-1 bg-gray-600 mr-1 hidden sm:block" > </ div >
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ function CommandsPage() {
3636 return (
3737 < div className = "py-16 sm:py-24" >
3838 < div className = "mx-auto max-w-7xl px-6 lg:px-8" >
39- < Link to = "/" className = "text-primary-400 hover:underline flex items-center justify-center gap-2 text-lg mb-4" >
40- < ArrowLeftIcon size = { 24 } /> Back to Home
39+ < Link to = "/" className = "group text-primary-400 hover:underline flex items-center justify-center gap-2 text-lg mb-4" >
40+ < ArrowLeftIcon className = "text-xl transition-transform group-hover:-translate-x-1" /> Back to Home
4141 </ Link >
4242 < div className = "mx-auto max-w-2xl text-center" >
4343 < h1 className = "text-4xl font-semibold tracking-tight text-white sm:text-6xl flex items-center justify-center" >
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { Link } from 'react-router-dom' ;
3- import { ArrowLeft } from '@phosphor-icons/react' ;
3+ import { ArrowLeft , ArrowLeftIcon } from '@phosphor-icons/react' ;
44import { useAnimation } from '../context/AnimationContext' ;
55import colors from '../config/colors' ;
66import CustomToggle from '../components/CustomToggle' ;
@@ -72,11 +72,8 @@ const SettingsPage = () => {
7272 return (
7373 < div className = "py-16 sm:py-24" >
7474 < div className = "mx-auto max-w-7xl px-6 lg:px-8" >
75- < Link
76- to = "/"
77- className = "text-primary-400 hover:underline flex items-center justify-center gap-2 text-lg mb-4"
78- >
79- < ArrowLeft size = { 24 } /> Back to Home
75+ < Link to = "/" className = "group text-primary-400 hover:underline flex items-center justify-center gap-2 text-lg mb-4" >
76+ < ArrowLeftIcon className = "text-xl transition-transform group-hover:-translate-x-1" /> Back to Home
8077 </ Link >
8178 < div className = "mx-auto max-w-2xl text-center" >
8279 < h1 className = "text-4xl font-semibold tracking-tight text-white sm:text-6xl" >
You can’t perform that action at this time.
0 commit comments