Skip to content

Commit

Permalink
Merge pull request #52 from sezallagwal/newAitools-
Browse files Browse the repository at this point in the history
cold mail | resume tailoring tools | cover letter | fixed chatbot related errors
  • Loading branch information
GauravKesh authored Oct 28, 2024
2 parents b3b074e + c135084 commit 1d3e49b
Show file tree
Hide file tree
Showing 3 changed files with 147 additions and 8 deletions.
127 changes: 119 additions & 8 deletions app/(data)/Template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ export default [
name: "Homework Helper",
desc: "Assists students with their homework by providing explanations and solutions to various subjects.",
category: "Education and Assistance Tools",
icon: "https://img.icons8.com/external-flaticons-flat-flat-icons/64/external-homework-university-flaticons-flat-flat-icons-3.png",
icon: "https://img.icons8.com/external-flaticons-flat-flat-icons/64/external-homework-university-flaticons-flat-flat-icons-3.png",
aiPrompt:
"Provide explanations and solutions for the givenHomeworkQuestion.",
slug: "homework-helper",
Expand All @@ -549,7 +549,7 @@ export default [
name: "Dialogue Maker",
desc: "Generates engaging dialogues for stories, scripts, and other creative writing projects.",
category: "Education and Assistance Tools",
icon: "https://img.icons8.com/external-vitaliy-gorbachev-lineal-color-vitaly-gorbachev/60/external-dialogue-support-vitaliy-gorbachev-lineal-color-vitaly-gorbachev.png",
icon: "https://img.icons8.com/external-vitaliy-gorbachev-lineal-color-vitaly-gorbachev/60/external-dialogue-support-vitaliy-gorbachev-lineal-color-vitaly-gorbachev.png",
aiPrompt:
"Generate a dialogue based on the givenCharacters and givenScenario.",
slug: "dialogue-maker",
Expand Down Expand Up @@ -595,7 +595,7 @@ export default [
name: "LinkedIn Post Generator",
desc: "Generates professional LinkedIn posts to enhance your professional presence and engagement.",
category: "Social Media and Writing Tools",
icon: "https://img.icons8.com/color/50/linkedin.png",
icon: "https://img.icons8.com/color/50/linkedin.png",
aiPrompt:
"Generate a LinkedIn post based on the givenTopic and givenKeywords.",
slug: "linkedin-post-generator",
Expand All @@ -618,7 +618,7 @@ export default [
name: "Schedule Maker",
desc: "Helps you create a daily or weekly schedule to manage your time effectively.",
category: "Lifestyle and Routine Tools",
icon: "https://img.icons8.com/fluency/48/overtime--v1.png",
icon: "https://img.icons8.com/fluency/48/overtime--v1.png",
aiPrompt: "Create a schedule based on the givenTasks and givenTimeFrame.",
slug: "schedule-maker",
form: [
Expand All @@ -640,7 +640,7 @@ export default [
name: "Workout Buddy",
desc: "Generates personalized workout plans to help you stay fit and healthy.",
category: "Lifestyle and Routine Tools",
icon: "https://img.icons8.com/external-smashingstocks-flat-smashing-stocks/66/external-Workout-fitness-smashingstocks-flat-smashing-stocks-3.png",
icon: "https://img.icons8.com/external-smashingstocks-flat-smashing-stocks/66/external-Workout-fitness-smashingstocks-flat-smashing-stocks-3.png",
aiPrompt:
"Generate a workout plan based on the givenFitnessGoals and givenPreferences.",
slug: "workout-buddy",
Expand Down Expand Up @@ -715,7 +715,7 @@ export default [
name: "Synonym and Antonym Finder",
desc: "Finds synonyms and antonyms for words to enhance your vocabulary and writing.",
category: "Language and Grammar Tools",
icon: "https://img.icons8.com/fluency/48/dictionary.png",
icon: "https://img.icons8.com/fluency/48/dictionary.png",
aiPrompt: "Find synonyms and antonyms for the givenWord.",
slug: "synonym-antonym-finder",
form: [
Expand All @@ -731,7 +731,7 @@ export default [
name: "Pro Writer",
desc: "Provides advanced writing assistance to help you craft professional and polished content.",
category: "Specialized Writing and Content Creation Tools",
icon: "https://img.icons8.com/external-flaticons-flat-flat-icons/64/external-writer-professions-flaticons-flat-flat-icons-2.png",
icon: "https://img.icons8.com/external-flaticons-flat-flat-icons/64/external-writer-professions-flaticons-flat-flat-icons-2.png",
aiPrompt:
"Provide advanced writing assistance for the givenText to make it more professional and polished.",
slug: "pro-writer",
Expand All @@ -748,7 +748,7 @@ export default [
name: "Content Writer",
desc: "Helps you create high-quality content for blogs, articles, and other writing projects.",
category: "Specialized Writing and Content Creation Tools",
icon: "https://img.icons8.com/fluency/48/libre-office-writer.png",
icon: "https://img.icons8.com/fluency/48/libre-office-writer.png",
aiPrompt:
"Generate high-quality content based on the givenTopic and givenKeywords.",
slug: "content-writer",
Expand All @@ -767,4 +767,115 @@ export default [
},
],
},

{
name: "Cold Email Generator",
desc: "Generates professional cold emails for networking or job hunting based on user objectives.",
category: "Job Application Tools",
icon: "https://img.icons8.com/keek/100/email-open.png",
aiPrompt:
"Generate a professional cold email based on the givenObjective, givenCompany, and givenJobTitle.",
slug: "cold-email-generator",
form: [
{
label: "Objective",
field: "input",
name: "givenObjective",
required: true,
},
{
label: "Company",
field: "input",
name: "givenCompany",
required: true,
},
{
label: "Job Title",
field: "input",
name: "givenJobTitle",
required: true,
},
],
},
{
name: "Resume Tailoring Tool",
desc: "Tailors resumes based on a job description, providing suggestions for keyword alignment.",
category: "Job Application Tools",
icon: "https://img.icons8.com/stickers/50/resume.png",
aiPrompt:
"Provide suggestions to tailor the givenResume based on the givenJobDescription.",
slug: "resume-tailoring-tool",
form: [
{
label: "Resume",
field: "textarea",
name: "givenResume",
required: true,
},
{
label: "Job Description",
field: "textarea",
name: "givenJobDescription",
required: true,
},
],
},
{
name: "Resume Bullet Point Optimizer",
desc: "Optimizes resume bullet points in an XYZ format (action, task, result).",
category: "Job Application Tools",
icon: "https://img.icons8.com/color/50/overview-pages-3.png",
aiPrompt:
"Generate an optimized resume bullet point based on the givenAction, givenTask, and givenResult.",
slug: "resume-bullet-point-optimizer",
form: [
{
label: "Action",
field: "input",
name: "givenAction",
required: true,
},
{
label: "Task",
field: "input",
name: "givenTask",
required: true,
},
{
label: "Result",
field: "input",
name: "givenResult",
required: true,
},
],
},
{
name: "Cover Letter Generator",
desc: "Generates personalized cover letters for job applications based on job title, company name, and key skills.",
category: "Job Application Tools",
icon: "https://img.icons8.com/external-flaticons-lineal-color-flat-icons/50/external-cover-letter-job-search-flaticons-lineal-color-flat-icons-3.png",
aiPrompt:
"Generate a professional cover letter based on the givenJobTitle, givenCompany, and givenSkills.",
slug: "cover-letter-generator",
form: [
{
label: "Job Title",
field: "input",
name: "givenJobTitle",
required: true,
},
{
label: "Company",
field: "input",
name: "givenCompany",
required: true,
},
{
label: "Skills",
field: "textarea",
name: "givenSkills",
required: true,
},
],
},
];
2 changes: 2 additions & 0 deletions app/dashboard/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import React, { useState } from 'react';
import SideNav from './_components/SideNav';
import Header from './_components/Header';
import { TotalUsageContext } from '../(context)/TotalUsageContext';
import ChatbotEmbed from '@/components/ui/Chatbot';

interface LayoutProps {
children: React.ReactNode;
Expand All @@ -27,6 +28,7 @@ const Layout: React.FC<LayoutProps> = ({ children }) => {
<main>{children}</main>
</div>
</div>
<ChatbotEmbed />
</TotalUsageContext.Provider>
);
};
Expand Down
26 changes: 26 additions & 0 deletions components/ui/Chatbot.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
"use client";
import { useEffect } from 'react';

const ChatbotEmbed = () => {
useEffect(() => {
const script = document.createElement('script');
script.src = "https://www.chatbase.co/embed.min.js";
script.async = true;
document.body.appendChild(script);
}, []);

return (
<script
dangerouslySetInnerHTML={{
__html: `
window.embeddedChatbotConfig = {
chatbotId: "ovbho5wpUTjf5qmaFHSIt",
domain: "www.chatbase.co"
};
`,
}}
/>
);
};

export default ChatbotEmbed;

0 comments on commit 1d3e49b

Please sign in to comment.