Skip to content

Commit

Permalink
remove contact form, add email section, remove planets proj
Browse files Browse the repository at this point in the history
  • Loading branch information
FlapShatner committed Aug 11, 2024
1 parent 1d3734c commit cba3c26
Showing 6 changed files with 11 additions and 23 deletions.
4 changes: 2 additions & 2 deletions app/globals.css
Original file line number Diff line number Diff line change
@@ -14,8 +14,8 @@ body {

.clamped {
/* font-size: clamp(1rem, -0.0345rem + 4.4138vw, 3rem); */
font-size: clamp(0.8rem, -0.1730rem + 4.3243vw, 2.8rem);
/* font-size: clamp(0.7rem, -0.1757rem + 3.8919vw, 2.5rem); */
/* font-size: clamp(0.6rem, -0.1730rem + 4.3243vw, 2.8rem); */
font-size: clamp(0.7rem, -0.1757rem + 3.8919vw, 2.5rem);
}

h1 {
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ export default function Home() {
<Hero />
<Projects />
<Email />
<Contact />
{/* <Contact /> */}
<Footer />
</div>
</main>
11 changes: 5 additions & 6 deletions components/email.tsx
Original file line number Diff line number Diff line change
@@ -21,13 +21,12 @@ const Email: FC<EmailProps> = () => {
}

return (
<div className='pb-12 pt-6 flex flex-col '>
<div
onClick={handleCopy}
className='cursor-pointer group flex flex-col hover:bg-text-hl my-16 px-6 pt-8 pb-6 rounded-lg'>
<h2 className='mb-4 text-center text-text-sec group-hover:text-bg-secondary text-2xl'>{`Email me:`}</h2>
<span className=' group-hover:text-bg-primary underline clamped'>jordan@jrobertsweb.dev</span>
<span className={twMerge('text-center', copied ? 'opacity-100' : 'opacity-0')}>copied!</span>
<span
onClick={handleCopy}
className='cursor-pointer text-text-hl underline clamped'>
jordan@jrobertsweb.dev
</span>
</div>
)
}
2 changes: 1 addition & 1 deletion components/footer.tsx
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ const Footer: FC<FooterProps> = () => {
const year = new Date().getFullYear()
return (
<div className='pt-6 text-xs md:text-sm flex justify-between items-center w-full font-secondary'>
<OldSite />
{/* <OldSite /> */}
<div className='flex flex-col sm:flex-row sm:gap-1 items-center'>
<span>Copyright ©</span> <span>{`Jordan Roberts ${year}`}</span>
</div>
14 changes: 1 addition & 13 deletions lib/projects.ts
Original file line number Diff line number Diff line change
@@ -49,19 +49,7 @@ export const projects = [
blur:
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAJCAIAAACJ2loDAAAACXBIWXMAAC4jAAAuIwF4pT92AAAApklEQVQYlW2OSw6CQBBEa34QwIgRdhqP4P2vJK5cqDNMf1wgYAy9qlReXrVpu0uMkYiwdSH4oiociRORuSrqpm72rYoyEQARySkbVx4nou+7IoTbcGfmP59fUoo0JrbwMHZqWPMU7AIR0fv1FpEQAgBjtkzOGxZlzjxmANAVWk05Z1U1dm5+VM766vsBc2na0+56KM+RnqxpYw4A6fiIAwDWpLrufQBNfFR2gfbZ/gAAAABJRU5ErkJggg==',
},
{
title: 'The Planets',
description: [
'The Planets is an app which displays facts and drawings about each planet in the solar system.',
"The site's design was based on a practice project from frontendmentor.com, and is written in JavaScript using the Next.js framework.",
],
image: '/planets.png',
tags: ['Next.js', 'JavaScript', 'Vercel', 'React'],
liveUrl: 'https://planets-jrwd.vercel.app/planets/earth',
srcUrl: 'https://github.com/FlapShatner/planets',
blur:
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAJCAIAAACJ2loDAAAACXBIWXMAAC4jAAAuIwF4pT92AAABFElEQVQYlYXPsUrDUBiG4e8/p0kaW41WcbCDAYWCUFQQKlVQizi5ungHLl6BdyPehIiLk5su3kCxjTGE1gRPz+lJfofq7LO/w0th2DXGpOkIf6SURMTMRASAmcnzNvEfWak0vMbK4cX10e6x1nGSJADa7Vav1x0MYqUmAKTjLO/f3AV8FtD63uXp6+O91rlSk35/KKUQQhgzFXNBuBhtYYJ+hOexN7/dAVCWrLXReqqUBiDMd7rRsOdXvFCDeBFaJQDq3GwFJ2vUaVZ3AEii2mqQ18uDNDZ59PD2dAtmyyqznyPz/mUiW05/71xvyfer49FwtiMEua5rrS2KghkCgOs6XGZ59uH7VSI4ToWZrbVSylnzA4sEe/KxPV95AAAAAElFTkSuQmCC',
},

{
title: 'Image Vault',
description: [
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@ module.exports = {
'bg-secondary': '#2A323D',
'text-hl': '#65acca',
'text-hl-hover': '#47bbec',
'text-sec': '#ffffffc1',
},
fontFamily: {
primary: ['var(--ps)'],

0 comments on commit cba3c26

Please sign in to comment.