Browse Source

chore: adjust button/card sizing

master
Muthu Kumar 2 months ago
parent
commit
30f17ab8d6
Failed to extract signature
  1. 7
      src/pages/main/Contact.tsx
  2. 5
      src/pages/main/Home.tsx

7
src/pages/main/Contact.tsx

@ -119,8 +119,9 @@ const Contact: React.FC = () => {
onViewportEnter={() => setVisible(v => v + 1)}
initialRotation={rot}
className={css`
width: 22rem;
height: 14rem;
width: 17rem;
height: 11rem;
font-size: 0.8rem;
position: absolute;
bottom: 0;
@ -148,7 +149,7 @@ const Contact: React.FC = () => {
align-items: center;
justify-content: center;
gap: 1rem;
font-size: 1rem;
font-size: inherit;
padding: 1rem 2.8em;

5
src/pages/main/Home.tsx

@ -92,6 +92,7 @@ const Home: React.FC = () => {
margin-top: -0.4rem;
display: flex;
flex-direction: column;
gap: 0.2rem;
`}>
<p>
Welcome to the web home of{" "}
@ -138,7 +139,7 @@ const Home: React.FC = () => {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem 2rem;
padding: 0.6rem 0.9rem;
}
& a:hover {
@ -148,7 +149,7 @@ const Home: React.FC = () => {
ref={setupCursorTracking}>
<div className="dynamic-gradient" />
<a href="https://mkr.pw/resume" target="_blank">
Download Resume
Download my resume
<Arrow />
</a>
</button>

Loading…
Cancel
Save