Skip to content

Commit

Permalink
Merge pull request #291 from Ajay-Dhangar/dev-1.1
Browse files Browse the repository at this point in the history
Dev 1.1
  • Loading branch information
ajay-dhangar authored Aug 9, 2024
2 parents e6dba83 + 33d8880 commit ccfe4d6
Show file tree
Hide file tree
Showing 42 changed files with 164 additions and 228 deletions.
2 changes: 1 addition & 1 deletion src/components/HomePage/Hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Link from "@docusaurus/Link";

const Hero = () => {
return (
<div className="pb-2 pt-2 md:pt-4 p-4 relative overflow-hidden">
<div className="noise-bg pb-2 pt-2 md:pt-4 p-4 relative overflow-hidden">
<div className="absolute inset-0 overflow-hidden">
<Spotlight
className="-top-40 -left-10 md:-left-32 md:-top-20 h-screen"
Expand Down
111 changes: 111 additions & 0 deletions src/components/HomePage/Skills/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
import React from "react";
import Link from "@docusaurus/Link";
import MagicButton from "../../../ui/MagicButton";
function Skill({
icon,
to,
name,
}: {
icon: string;
name: string;
to?: string;
}) {
return (
<Link
to={to}
className="flex cursor-pointer items-center rounded-lg border border-gray-700 p-2.5 text-inherit hover:border-primary hover:text-primary hover:no-underline animate-fadeIn bg-gray-100 dark:bg-gray-800"
>
<img src={icon} className="mr-2 h-7 w-7" />
<span className="font-medium">{name}</span>
</Link>
);
}

export default function Skills() {
return (
<section className="mx-auto mb-4 flex w-full flex-col p-4">
<h1 className="heading text-4xl text-center lg:text-6xl mb-10">
Let&apos;s Talk About <span className="text-primaryColor">Skills</span>{" "}
and <span className="text-primaryColor">Tools</span>
</h1>

<p className="animate-fadeIn mb-4 tracking-wider md:tracking-normal text-center">
I'm a software engineer specialized in the MERN stack with problem
solving skills and a passion for clean, efficient code. I turn ideas
into solutions through curiosity and collaboration.
</p>

<div className="mt-4 mb-10">
<h4 className="mb-2 text-2xl">Skills</h4>

<p className="mb-6 text-text-400">
I'm using skills that are available for{" "}
<span className="font-semibold">Frontend</span> and{" "}
<span className="font-semibold">Backend</span> development.
</p>

<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-4">
<Skill name="HTML" to="#" icon="/icons/html.svg" />
<Skill name="CSS" to="#" icon="/icons/css.svg" />
<Skill name="JavaScript" to="#" icon="/icons/js.svg" />
<Skill name="React" to="#" icon="/icons/jsx.svg" />
<Skill name="Node.js" to="#" icon="/icons/nodejs.svg" />
<Skill name="MongoDB" to="#" icon="/icons/mongodb.svg" />
<Skill name="Express" to="#" icon="/icons/express.svg" />
<Skill name="Tailwind" to="#" icon="/icons/tailwind.svg" />
<Skill name="Bootstrap" to="#" icon="/icons/bootstrap.svg" />
<Skill name="Material-UI" to="#" icon="/icons/material-ui.svg" />
<Skill name="Python" to="#" icon="/icons/py.svg" />
<Skill name="Git" to="#" icon="/icons/git.svg" />
<Skill name="GitHub" to="#" icon="/icons/github.svg" />
<Skill name="Next.js" to="#" icon="/icons/nextjs.svg" />
<Skill name="TypeScript" to="#" icon="/icons/ts.svg" />
{/* <Skill name="Netlify" to="#" icon="/icons/netlify.svg" /> */}
{/* <Skill name="Vercel " to="#" icon="/icons/vercel.svg" /> */}
{/* <Skill name="GitHub Pages" to="#" icon="/icons/gh-pages.svg" /> */}
</div>
</div>

{/* <div>
<h4 className="mb-2 text-2xl">Tools</h4>
<p className="mb-6 text-text-400">
I'm using tools that are available for{" "}
<span className="font-semibold">Design</span> and{" "}
<span className="font-semibold">Development</span> purposes.
</p>
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-4">
<Skill name="Figma" to="#" icon="/icons/figma.svg" />
<Skill name="VS Code" to="#" icon="/icons/vscode.svg" />
<Skill name="CodePen" to="#" icon="/icons/codepen.svg" />
<Skill name="Stack Overflow" to="#" icon="/icons/so.svg" />
<Skill name="Google" to="#" icon="/icons/google.svg" />
<Skill name="MDN Web Docs" to="#" icon="/icons/mdn.svg" />
<Skill name="Dev.to" to="#" icon="/icons/dev.svg" />
<Skill name="Unsplash" to="#" icon="/icons/unsplash.svg" />
<Skill name="Canva" to="#" icon="/icons/canva.svg" />
<Skill name="Slack" to="#" icon="/icons/slack.svg" />
<Skill name="Zoom" to="#" icon="/icons/zoom.svg" />
<Skill name="Trello" to="#" icon="/icons/trello.svg" />
<Skill name="Notion" to="#" icon="/icons/notion.svg" />
<Skill name="NPM" to="#" icon="/icons/npm.svg" />
<Skill name="Yarn" to="#" icon="/icons/yarn.svg" />
<Skill name="Postman" to="#" icon="/icons/postman.svg" />
<Skill name="Webpack" to="#" icon="/icons/webpack.svg" />
<Skill name="Babel" to="#" icon="/icons/babel.svg" />
<Skill name="Dotenv" to="#" icon="/icons/dotenv.svg" />
<Skill name="ESLint" to="#" icon="/icons/eslint.svg" />
<Skill name="Prettier" to="#" icon="/icons/prettier.svg" />
<Skill name="Docker" to="#" icon="/icons/docker.svg" />
<Skill name="GitHub Actions" to="#" icon="/icons/actions.svg" />
<Skill name="Lighthouse" to="#" icon="/icons/lighthouse.svg" />
<Skill name="Google Analytics" to="#" icon="/icons/ga.svg" />
<Skill name="Firefox Developer Tools" to="#" icon="/icons/firefox.svg" />
<Skill name="Chrome DevTools" to="#" icon="/icons/chrome.svg" />
</div>
</div> */}
</section>
);
}
240 changes: 13 additions & 227 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -252,235 +252,21 @@ table, tr, td, th {
margin-top: 10px;
}

/* ========================= */
/* -- ChatBot Styles Start */
/* ========================= */


.bpw-layout-left {
width: 400px !important;
height: 50vh;
border-radius: 10px;
left: 10px;
bottom: 5px;
top: 10px;
border: 1px solid transparent;
position: fixed !important;
z-index: 9999;
}

.bpw-from-bot > div,
#input-message {
direction: ltr;
}

.bpw-new-messages-indicator {
background-color: #f5f5f51e;
}

.bpw-header-container {
margin: 10px;
background: var(--ifm-color-primary);
border-radius: 10px;
position: relative;
overflow: hidden;
border: 1px;
}

.bpw-header-name {
font-size: 16px;
font-weight: 600;
}

.bpw-typing-bubble {
background: #00000050;
}

.bpw-chat-bubble-content {
border-radius: 3px;
border: 1px transparent;
}

.bpw-date-container,
.bpw-header-name,
.bpw-header-subtitle {
color: #ffffff3e;
}

.bpw-layout {
width: 400px !important;
height: 70vh;
border-radius: 10px;
right: 10px;
bottom: 5px;
border: 1px;
.text-primaryColor {
color: #48df84;
}

@media (max-width: 450px) {
.bpw-layout-left {
width: 100% !important;
height: 100%;
left: 0;
bottom: 0;
border-radius: 0;
@layer components {
.noise-bg {
background-image: linear-gradient(to bottom, rgba(255,255,255,0) 0%,
rgba(255,255,255,0.6)), url('/landing-page/grid-light.svg');
}
}

.bpw-header-icon,
.bpw-header-icon svg,
.bpw-header-icon svg path {
fill: #ffffff !important;
}

#input-message::placeholder {
color: rgba(0, 0, 0, 0.3);
}

.bpw-composer textarea {
outline: none !important;
border: 1px solid black;
}

.bpw-composer textarea:focus {
outline: none !important;
border: 1px solid black;
}

.bpw-keyboard-single-choice {
background-color: #ffffff33;
border: none;
}

.bpw-button,
.bpw-button-alt {
background-color: var(--ifm-color-primary);
color: #000000;
border-radius: 10px;
border: none;
}

.bpw-button:hover,
.bpw-button-alt:hover {
background-color: #f5f5f55c;
}

.bpw-chat-container {
background-color: #ffffff3e;
scrollbar-width: thin;
scrollbar-color: #f5f5f5 #ffffff;
border: none;
}

.bpw-from-bot .bpw-chat-bubble .bpw-chat-bubble-content {
background-color: #f5f5f537;
color: #000000;
}

.bpw-from-user .bpw-chat-bubble .bpw-chat-bubble-content {
background-color: #00bfa6;
color: #ffffff;
}

.bpw-composer {
background-color: #ffffff45;
border-top: none;
}

.bpw-chat-container::-webkit-scrollbar,
.bpw-chat-container::-moz-scrollbar {
width: 10px;
background-color: #ffffff42;
border: none;
}

::-webkit-scrollbar-track,
.bpw-chat-container::-webkit-scrollbar-track,
.bpw-chat-container::-moz-scrollbar-track {
background-color: transparent;
}

::-webkit-scrollbar-thumb,
.bpw-chat-container::-webkit-scrollbar-thumb,
.bpw-chat-container::-moz-scrollbar-thumb {
background-color: #ffffff30;
border-radius: 1rem;
border: 0.5rem solid transparent;
}

.bpw-bot-avatar img,
.bpw-bot-avatar svg {
border: 3px solid #ffffff;
}

::-webkit-scrollbar {
width: 0.5rem;
}

::-webkit-scrollbar-track {
background-color: transparent;
}

::-webkit-scrollbar-thumb {
background-color: #ffffff;
border-radius: 1rem;
border: 0.5rem solid transparent;
}

.bpw-floating-button i svg path {
fill: var(--ifm-color-primary);
}

.bpw-powered {
text-align: center;
padding: 10px;
font-size: 14px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
}

.bpw-powered a {
color: rgba(82, 82, 163, 0.777);
text-decoration: underline;
}

.bpw-powered a:hover {
text-decoration: underline;
}

.bpw-send-button {
background: var(--ifm-color-primary);
}

.bpw-send-button:hover {
background: #00bfa6b5;
}

.bpw-widget-btn {
border-radius: 50%;
background: var(--ifm-color-primary);
}

.bpw-floating-button::before {
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='white' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 01-2.555-.337A5.972 5.972 0 015.41 20.97a5.969 5.969 0 01-.474-.065 4.48 4.48 0 00.978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25z' /%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
height: undefinedpx !important;
width: undefinedpx !important;
}

.bpw-floating-button {
box-shadow: none !important;
}

.bpw-floating-button:hover {
background-color: var(--ifm-color-primary);
box-shadow: none !important;
}
html[data-theme='dark'] .noise-bg {
background-image: url('/landing-page/grid-dark.svg');
}

/* ========================= */
/* -- ChatBot Styles End */
/* ========================= */
.text-primaryColor {
color: #48df84;
.dyte-badge {
@apply mb-2 inline-block rounded-sm text-text-400;
@apply tracking-wider;
}
}
2 changes: 2 additions & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Head from "@docusaurus/Head";
import Hero from "../components/HomePage/Hero";
import Touch from "../components/HomePage/Touch";
import Projects from "../components/HomePage/Projects";
import Skills from "../components/HomePage/Skills";

export default function Home() {
const { siteConfig } = useDocusaurusContext();
Expand All @@ -27,6 +28,7 @@ export default function Home() {
</Head>
<main className="overflow-hidden">
<Hero />
<Skills />
<Projects />
<Touch />
</main>
Expand Down
1 change: 1 addition & 0 deletions static/icons/ai-chat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/icons/bash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/icons/bootstrap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/icons/c#.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/icons/c.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ccfe4d6

Please sign in to comment.