Skip to content

Commit

Permalink
added corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelpps committed Feb 16, 2024
1 parent e8d67e9 commit 0da603e
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 67 deletions.
4 changes: 1 addition & 3 deletions app/about/freeTime/FreeTime.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ function FreeTime() {
<p className="pt-10 pl-2 pr-2 md:pl-10 md:pr-10 pb-10 text-[14px] font-thin tracking-wide @apply whitespace-pre-line text-center md:text-start">
Probably developing new projects to enhance my skills or perfecting
my portfolio in some ways. Besides that, I spend my time hiking or
reading books about history. Another thing that I love is playing
game simulators for any kind of machine, be it planes, trucks, cars,
or ships.
reading books about history. Another thing I love is playing various game simulators, whether it's planes, trucks, cars, or ships.
</p>
</motion.div>
</AnimatePresence>
Expand Down
69 changes: 32 additions & 37 deletions app/about/skills/Skills.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { designIcons } from "@/components/imagesContainer/designIcons";
import { AnimatePresence, motion } from "framer-motion";

function Skills() {
console.log(frontendIcons);
return (
<motion.div
initial={{ opacity: 0, y: 50 }}
Expand Down Expand Up @@ -37,21 +36,20 @@ function Skills() {
id="frontend-title-container"
className="flex flex-col justify-center items-center"
>
<h3 className="text-center text-[14px] font-light mb-5 md:mb-0">Frontend</h3>
<h3 className="text-center text-[14px] font-light mb-5 md:mb-0">
Frontend
</h3>
</div>
<div
id="frontend-icons-container"
className="flex flex-wrap gap-5 justify-center md:justify-normal align-middle"
>
{frontendIcons.map((image) => (
<div className="flex flex-col justify-center items-center">
<Image
key={image.id}
src={image.path}
alt={image.name}
width={46}
height={46}
/>
<div
key={image.id}
className="flex flex-col justify-center items-center"
>
<Image src={image.path} alt={image.name} width={46} height={46} />
<h4 className="text-xs text-center mt-2 font-extralight">
{image.name}
</h4>
Expand All @@ -67,21 +65,20 @@ function Skills() {
id="backend-title-container"
className="flex flex-col justify-center items-center"
>
<h3 className="text-center text-[14px] font-light mb-5 md:mb-0">Backend</h3>
<h3 className="text-center text-[14px] font-light mb-5 md:mb-0">
Backend
</h3>
</div>
<div
id="backend-icons-container"
className="flex flex-wrap gap-5 justify-center md:justify-normal align-middle"
>
{backendIcons.map((image) => (
<div className="flex flex-col justify-center items-center">
<Image
key={image.id}
src={image.path}
alt={image.name}
width={36}
height={36}
/>
<div
key={image.id}
className="flex flex-col justify-center items-center"
>
<Image src={image.path} alt={image.name} width={36} height={36} />
<h4 className="text-xs text-center mt-2 font-extralight">
{image.name}
</h4>
Expand All @@ -97,21 +94,20 @@ function Skills() {
id="native-title-container"
className="flex flex-col justify-center items-center"
>
<h3 className="text-center text-[14px] font-light mb-5 md:mb-0">Mobile</h3>
<h3 className="text-center text-[14px] font-light mb-5 md:mb-0">
Mobile
</h3>
</div>
<div
id="native-icons-container"
className="flex flex-wrap gap-5 justify-center md:justify-normal align-middle"
>
{nativeIcons.map((image) => (
<div className="flex flex-col justify-center items-center">
<Image
key={image.id}
src={image.path}
alt={image.name}
width={36}
height={36}
/>
<div
key={image.id}
className="flex flex-col justify-center items-center"
>
<Image src={image.path} alt={image.name} width={36} height={36} />
<h4 className="text-xs text-center mt-2 font-extralight">
{image.name}
</h4>
Expand All @@ -127,21 +123,20 @@ function Skills() {
id="design-title-container"
className="flex flex-col justify-center items-center"
>
<h3 className="text-center text-[14px] font-light mb-5 md:mb-0">Design</h3>
<h3 className="text-center text-[14px] font-light mb-5 md:mb-0">
Design
</h3>
</div>
<div
id="design-icons-container"
className="flex flex-wrap gap-5 justify-center md:justify-normal align-middle"
>
{designIcons.map((image) => (
<div className="flex flex-col justify-center items-center">
<Image
key={image.id}
src={image.path}
alt={image.name}
width={46}
height={46}
/>
<div
key={image.id}
className="flex flex-col justify-center items-center"
>
<Image src={image.path} alt={image.name} width={46} height={46} />
<h4 className="text-xs text-center mt-2 font-extralight">
{image.name}
</h4>
Expand Down
1 change: 0 additions & 1 deletion app/works/[projectName]/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ function ProjectName({ params }) {
setLoading(false);
};

console.log(projectPage);

return (
<div>
Expand Down
14 changes: 2 additions & 12 deletions app/works/contact/Contact.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,22 @@ function Contact() {
!fullName ||
!email ||
!subject ||
!message /*||
specialChars.test(email)*/
!message
) {
setFormErrors(true);
setErrorManagement(errorManager.formError);
setTimeout(() => {
setFormErrors(false);
}, 3000);
//manejar error
} else {
setFormErrors(false);
console.log("todo ok");
sendEmail();
setButtonText("Sending");
//enviar mail
}
};

const sendEmail = () => {
console.log();
emailjs
.sendForm(
process.env.NEXT_PUBLIC_EMAIL_SERVICE_ID,
Expand All @@ -60,12 +56,6 @@ function Contact() {
)
.then(
(response) => {
console.log(
"response:",
response.status,
"description:",
response.text
);
setErrorManagement(errorManager.formDeliverOk);
setEmail("");
setFullName("");
Expand Down Expand Up @@ -142,7 +132,7 @@ function Contact() {
}}
/>

<label for="message" class="mt-4 font-extralight text-sm">
<label for="message" className="mt-4 font-extralight text-sm">
Message<span className="text-red-500">*</span>
</label>
<textarea
Expand Down
1 change: 0 additions & 1 deletion app/works/portfolio/PortfolioContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ function PortfolioContainer() {
setDataProjects(projects);
}, []);

console.log(dataProjects);

return (
<div className="md:mt-44 w-screen p-6 md:p-0 md:w-[60rem] h-[auto] md:h-auto">
Expand Down
2 changes: 1 addition & 1 deletion components/buttons/Contact/Contact.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function Contact() {
return (
<Link href="#contact-container" scroll={true}>
<button className="cta">
<span class="hover-underline-animation tracking-wide">
<span className="hover-underline-animation tracking-wide">
Contact
</span>
</button>
Expand Down
2 changes: 1 addition & 1 deletion components/buttons/MyWork/MyWork.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function MyWork() {
return (
<Link href="#id-1" scroll={true}>
<button className="cta">
<span class="hover-underline-animation tracking-wide"> My Work</span>
<span className="hover-underline-animation tracking-wide"> My Work</span>
</button>
</Link>
);
Expand Down
2 changes: 1 addition & 1 deletion components/footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { frontendIcons } from "@/components/imagesContainer/frontendIcons";
function Footer() {
return (
<div id="footer-container" className="w-full mt-20">
<hr class="border-t-1 border-gray-800 border-gray my-8" />
<hr className="border-t-1 border-gray-800 border-gray my-8" />
<div className="md:grid md:grid-cols-2 md:grid-rows-2 gap-4 mt-20">
<div id="footer-logo-container">
<div className="w-full flex items-center justify-center flex-row">
Expand Down
8 changes: 4 additions & 4 deletions components/imagesContainer/backendIcons.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
export const backendIcons = [
{ id: 1, name: "Express", path: "/assets/skills-icons/backend/express.svg" },
{ id: 11, name: "Express", path: "/assets/skills-icons/backend/express.svg" },
{
id: 2,
id: 12,
name: "Mongo DB",
path: "/assets/skills-icons/backend/mongodb-wordmark.svg",
},
{
id: 3,
id: 13,
name: "Node JS",
path: "/assets/skills-icons/backend/nodejs-wordmark.svg",
}, {
id: 4,
id: 14,
name: "Firebase",
path: "/assets/skills-icons/backend/firebase.svg",
},
Expand Down
6 changes: 3 additions & 3 deletions components/imagesContainer/designIcons.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export const designIcons = [
{ id: 1, name: "Canva", path: "/assets/skills-icons/design/canva.svg" },
{ id: 17, name: "Canva", path: "/assets/skills-icons/design/canva.svg" },
{
id: 2,
id: 18,
name: "Figma",
path: "/assets/skills-icons/design/figma.svg",
},
{
id: 3,
id: 19,
name: "Photoshop",
path: "/assets/skills-icons/design/photoshop.svg",
},
Expand Down
4 changes: 2 additions & 2 deletions components/imagesContainer/nativeIcons.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const nativeIcons = [
{ id: 1, name: "React Native", path: "/assets/skills-icons/native/react.svg" },
{ id: 15, name: "React Native", path: "/assets/skills-icons/native/react.svg" },
{
id: 2,
id: 16,
name: "Expo",
path: "/assets/skills-icons/native/expo.svg",
},
Expand Down
2 changes: 1 addition & 1 deletion components/loader/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";

function loader() {
return (
<div class="loadership_SRTPP">
<div className="loadership_SRTPP">
<div></div>
<div></div>
<div></div>
Expand Down

0 comments on commit 0da603e

Please sign in to comment.