From f07dead897ca16e1ab3eb9a6677e2c0c4afcbbbb Mon Sep 17 00:00:00 2001 From: Luigi Carvalho Date: Thu, 2 Nov 2023 18:02:22 +0000 Subject: [PATCH 1/5] added email template for contact form --- src/app/[locale]/templates/email.js | 5 +++++ src/app/[locale]/templates/index.js | 1 + src/app/api/sendemail/route.ts | 5 +++-- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 src/app/[locale]/templates/email.js create mode 100644 src/app/[locale]/templates/index.js diff --git a/src/app/[locale]/templates/email.js b/src/app/[locale]/templates/email.js new file mode 100644 index 0000000..0364b37 --- /dev/null +++ b/src/app/[locale]/templates/email.js @@ -0,0 +1,5 @@ +// minify html code by using this website: https://codebeautify.org/minify-html + +const EmailTemplate = (embody) => `Email

LCP

Thank you for contact us! Here's the message:

Date: ${new Date().toUTCString()}

To: ${process.env.EMAIL_USER}

From: ${embody.email}

Name: ${embody.name}

Subject: ${embody.subject}

Body: ${embody.message}

`; + +export { EmailTemplate } \ No newline at end of file diff --git a/src/app/[locale]/templates/index.js b/src/app/[locale]/templates/index.js new file mode 100644 index 0000000..b712dbc --- /dev/null +++ b/src/app/[locale]/templates/index.js @@ -0,0 +1 @@ +export * from './email'; \ No newline at end of file diff --git a/src/app/api/sendemail/route.ts b/src/app/api/sendemail/route.ts index 5bb89f1..3d4b717 100644 --- a/src/app/api/sendemail/route.ts +++ b/src/app/api/sendemail/route.ts @@ -1,14 +1,15 @@ import { NextResponse } from "next/server"; import { sendMailUtil } from '../../[locale]/utils/sendmailUtils'; +import { EmailTemplate } from '../../[locale]/templates'; export async function POST(req: any) { const body = await req.json(); const dataobj = { to: process.env.EMAIL_USER, - from: body.email, + from: `"${body.name}" <${body.email}>`, subject: body.subject, text: `${body.message}\r\n Sent by ${body.email} (${body.name})`, - html: `Hello${body.message}

Sent by: ${body.email} (${body.name})

` + html: EmailTemplate(body) }; console.log(dataobj); From 549358b52a80902f7918518b25b34f8e49ae2e89 Mon Sep 17 00:00:00 2001 From: Luigi Carvalho Date: Fri, 3 Nov 2023 08:40:33 +0000 Subject: [PATCH 2/5] added logos --- public/images/logos/logo.png | Bin 0 -> 11410 bytes public/images/logos/logo.svg | 19 +++++++++++++++++++ public/images/logos/logo_compact.png | Bin 0 -> 10182 bytes public/images/logos/logo_compact.svg | 19 +++++++++++++++++++ src/app/[locale]/components/footer.js | 2 +- 5 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 public/images/logos/logo.png create mode 100644 public/images/logos/logo.svg create mode 100644 public/images/logos/logo_compact.png create mode 100644 public/images/logos/logo_compact.svg diff --git a/public/images/logos/logo.png b/public/images/logos/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..80b9363f661dc6d052bcfff2095fb2e73e5fe8fe GIT binary patch literal 11410 zcmeHtcT`i`ws#OTh!X6mR24x`2rZP*1wo}rmo6nhfDlNb8mb2@2#EBK6zM1sq=SOA zP$DgKun;;3p-6w5bMHO(o^!wVzA?TwzCRv=jO@%c*IaY{W?6IXy`MeMQe$Si%me~~ znD5u?F%|@ZG#!5EqHjXj0HQ4J&O@9s8ihi*;6R=j zxGh{oNfl>cr3TZ$IKf3kZaKn5g++u##H7Vw(&ExEacMDWVX<2{xTu(jh_INj)EMh} z7zo5LiqwCId#I@aw?U(XtZdQN2q90DE3g2tgeM%hL?Lii+@2_B7cAUUj_-F4IB~p9v&V-9%4dhj6GCDT3Q+^ED9AB6$Cg0 zv0g4XD^Ece>@`5rpGB!4ur?T^D-MZv;XV{?WsSz;P|GtQ= z4HV&wI0Oa@6%i8ola{tNa2yinjQES~ z@&j%Sv^|K5N-`W1f#Q#O>m2fx=()tesT(Ck`zfK_Ou$CM75? zB5f@wWo2z8C}k@R6PB{E6S1=q{X^E@ru>^ERck;HOcW+60h1OH7m<{PNeTZk=l8*X zo1%}#+c+GWCI3(9|D^qs{XcQ@pW*t4segv`|B$0y|0SIcz5IKg9{Lv;0Q@WVC;tL8 zxDp=cfX2vc;2R6E+{#uMcPnQHwCo}KKZgEd-v53u0=42#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WiA=3$Y2LzRh7%Ka`n{U8|QRr$zlgE6;>FYIec>R?Yp8eV!TeTZ^Pd+Pa;NMQm?x zCUU+m)*eY3DL+zs2Ph<+tp$&3DrIBEC8rV6$i&9|8d-&9C+hTbJ2zegCNY}<{;_&A z{Ro!U{$zmp0g80?oabL8wxx(bDhZV_%CFJ5hqb<(j}dFk_rY9O^?# zZ*BhAkbM{f6tS!GCELZ4nnQ&{GCuYb>=DX + + + + + + + + + + + + + + + + + + diff --git a/public/images/logos/logo_compact.png b/public/images/logos/logo_compact.png new file mode 100644 index 0000000000000000000000000000000000000000..dc4c23c7336810d16755eaf0ea64746fdaa5853d GIT binary patch literal 10182 zcmeHtXIPWl(kPt`C`yqaf@nZ`4@G*Hju?tkB|zvsp*O`s@4bU`ktzbAD+&k+0cj#l zKp=D>6sg`9_dfgVea`*9``qu|pNHpppS){k)~s1Gvu0+^ON5@T+C@qxN&*6ciyG=G zPyzzN-Sg)+G62#)HX8~2P`IlbBM1nn-=9B(DZJFz0H8Ed^#M}Z&BX=oiX`y$l(Lah zQM}`??B$JsD7i_A^EpZhi%EzGi;Id#ia|smB0`el62g2)DG`XUun@4+ zHwS|U$Ok&wQr2!R0x%mlE4YBKi#x!dfI!Aq3V3yaBVjjuU7TGJQogdBzbK@D_j9ly zryS*tKmKGqZEU5WDtG=M1xB)*_DH0=l%SxGkB@*4M8M6{PEc4=(rATzvw7Wd&h2=eiL3n=XEzC8cPC_>17@JJE-G{0juo#yP?r=81qC__@Pn zIiYZbo0q3G{I4$X2Sa5~I1CB5krNRTf$$3p^9w;_1pfu~rxj)XK&bj6HEiT;VWQ%~ zwh%Z!Fx7@%6fP{z4->yF%r9(f1D6z*fLY&`xcw)u->3W=r#n^vBQX&%5pgj|VNqcT zNwM2Pf6n=Z{I@9vZeG^*=i8DK`IGXWuz!;O7iRvuy8f}%zpM5ClcC-Ja;(m+{Oi1) z+ZR9p_J#b-z5q;0(F3>#0sZCw5d23E|M&io9VNeW(yB&KwzKJX zs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dFj%aS-5g1Y0N<{r?NCe_c6N)jy( z)oQJ>;!n$H*BjBhlmzroqU3;H(Yx-rEe3meqit8YSc`D=6?)vf&FAjyhH^}rs%x=h zQHBK>PVCHeHd3Ai-5^FokxOJQqjULy4_r9Y6s}$akaOR^xTBqLd9PblB@}2Ow(830 z@FU(CS28>*XV{*{D$yh`6)U7=m!!*B&{UmYUmqF0j0%66Ol0oK)KHr#(8B|UYSH5o z4KwLY(c%6JV6Y)z0b}l7Rh5@fjwqlBK0-hW^pn*u>gE3*2kKWeSty!G!L;I($OInI z4C+7LX#gqC+uAhcgp@$*`M(>~2;s=W(RSr*-+LjiJ91GyG9HYy*tXq08xvKy3Omry zSC60#gN5V{=4dOgen@MNE#(;(r^%3~$ALRf?_$sVZE+>Bo!_D@kn`Vn<-uSWP|jz% z&kycJ6jT&A(Uf}u*ZPaq1#7;!7WLu1fu%sEbikRYurmTpTUF(8FnCnsvBeWnBtKZ> zC)c2|<~a!Z8>xSWJwTGtor`jpwm6mx&=Kh~mK-xJ-UO#0t+n{L=<~0oTy0 zH69V3tsWv9{-enCW<9_E%322DRCb{nKX@JlXoCR~R=)<)4MW^9C0V_jdA1iJ>qwK3 z4_p_Q7MVU(VTTJDXv)Qp*0dbEzr4=hdWAYiAAbG$>(kE0w4$#5J^Dv;UC}CZ^VII7 zO~huATB_vK%x|gP$-ZEf)s8!fSS`5Wtf+GQ|D1Wj4_J>dX~2xRWZRuU?l zf6)H*1mJ7}JJJtN7FPF;hU6bL=ZreO`LYl8MOnNnYFbQqd&$j~dd9z(21kRuzP|3c zG(GN8JwMB`iD71O4!A-P*I&YZ;OQ-i@RUO!#Stfnr5}MyyH=AG%@ea{Kc|dj^uCqG zT*PwE^iS;ioWi0D + + + + + + + + + + + + + + + + + + diff --git a/src/app/[locale]/components/footer.js b/src/app/[locale]/components/footer.js index 864b389..09aec37 100644 --- a/src/app/[locale]/components/footer.js +++ b/src/app/[locale]/components/footer.js @@ -42,7 +42,7 @@ export default function Footer() { LCP Github - + LCP Instagram From 4c45ecf7e166128e868abb1b4b6c4c9f87d02ee5 Mon Sep 17 00:00:00 2001 From: Luigi Carvalho Date: Fri, 3 Nov 2023 09:59:39 +0000 Subject: [PATCH 3/5] added logos in main page --- public/images/logos/logo.svg | 2 +- public/images/logos/logo_compact.svg | 2 +- src/app/[locale]/components/header.js | 15 +++++++-------- src/app/[locale]/components/navbar.js | 12 +++++++++++- src/app/[locale]/styles/globals.scss | 17 +++++++++++++++++ 5 files changed, 37 insertions(+), 11 deletions(-) diff --git a/public/images/logos/logo.svg b/public/images/logos/logo.svg index 6ea7b47..2261290 100644 --- a/public/images/logos/logo.svg +++ b/public/images/logos/logo.svg @@ -1,7 +1,7 @@ - + diff --git a/public/images/logos/logo_compact.svg b/public/images/logos/logo_compact.svg index 74889b8..f4bc611 100644 --- a/public/images/logos/logo_compact.svg +++ b/public/images/logos/logo_compact.svg @@ -1,7 +1,7 @@ - + diff --git a/src/app/[locale]/components/header.js b/src/app/[locale]/components/header.js index 1280da0..2f5edb5 100644 --- a/src/app/[locale]/components/header.js +++ b/src/app/[locale]/components/header.js @@ -10,22 +10,21 @@ export default function Header() {

-
-

LCP

-

+

+

{t('desc')}

{t('btnSeeMore')}
-
+
LCP
diff --git a/src/app/[locale]/components/navbar.js b/src/app/[locale]/components/navbar.js index 7d56c08..4b83782 100644 --- a/src/app/[locale]/components/navbar.js +++ b/src/app/[locale]/components/navbar.js @@ -1,5 +1,6 @@ "use client"; import React, { useState } from 'react'; +import Image from 'next/image'; import { useLocale, useTranslations } from 'next-intl'; export default function Navbar() { @@ -15,7 +16,16 @@ export default function Navbar() { <>