From 26e0ac6a59b77d502806a778bf0e13d5ae633f75 Mon Sep 17 00:00:00 2001 From: Abhishek Tiwari Date: Sun, 20 Aug 2023 23:54:23 +0530 Subject: [PATCH] removed nodeemailer --- components/contactme/nodemailer.js | 19 ------------------- components/githubCard/githubcard.js | 12 ++++++------ 2 files changed, 6 insertions(+), 25 deletions(-) delete mode 100644 components/contactme/nodemailer.js diff --git a/components/contactme/nodemailer.js b/components/contactme/nodemailer.js deleted file mode 100644 index d936f0e..0000000 --- a/components/contactme/nodemailer.js +++ /dev/null @@ -1,19 +0,0 @@ -import nodemailer from "nodemailer"; - -const email = process.env.EMAIL; -const pass = process.env.EMAIL_PASS; - -export const transporter = nodemailer.createTransport({ - service: "gmail", - auth: { - user: email, - password : pass, - }, -}); - -export const mailOptions = { - from: "tiwari.abhishektiwari23@gmail.com", - to: "abhishek.tiwari.ug21@nsut.ac.in", - subject : "nodemailer", - text : 'hello' -}; \ No newline at end of file diff --git a/components/githubCard/githubcard.js b/components/githubCard/githubcard.js index a314ac5..cbb4393 100644 --- a/components/githubCard/githubcard.js +++ b/components/githubCard/githubcard.js @@ -16,30 +16,30 @@ const OpenCard = ({ userName }) => {
    - {/*
  • +
  • ⭐ Total Stars :{" "}
    {userName.stars}
  • 🔄 Total Commits :{" "}
    {userName.commits_count}
    -
  • */} +
  • 🔄 Total Repos :{" "}
    {userName.public_repos}
  • - {/*
  • +
  • 🔄 Non Forked Repos :{" "}
    {userName.repos_count_nonforked}
    -
  • */} +
  • 🛠️ Total Pull Request :{" "}
    {userName.pullRequests_count}
  • - {/*
  • +
  • 🚫 Total Contributions :{" "}
    {userName.issues_count}
    -
  • */} +
  • 🎒 Flollowers :{" "}
    {userName.followers}