Skip to content

added new feature 1911 #1912

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions components/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import { Container } from "reactstrap";
import { useSession, signOut, signIn } from "next-auth/react";
import classes from "./header.module.css";
import Link from "next/link";
import NewTwitterLogo from "../UI/NewTwitterlogo";
import {
RiCloseLine,
RiYoutubeFill,
RiGithubFill,
RiTwitterFill,
RiLinkedinFill,
} from "react-icons/ri";
// import NewTwitterLogo from "../UI/NewTwitterlogo";
// import {
// RiCloseLine,
// RiYoutubeFill,
// RiGithubFill,
// RiTwitterFill,
// RiLinkedinFill,
// } from "react-icons/ri";

import {
AiFillHome,
Expand Down Expand Up @@ -157,7 +157,7 @@ const Header = () => {
</div>
)}

<div className={`${classes.nav__right}`}>
{/* <div className={`${classes.nav__right}`}>
<div
className={`flex flex-row items-center gap-3 border-l-2 pl-4 border-l-slate-500 `}
>
Expand Down Expand Up @@ -206,7 +206,7 @@ const Header = () => {
<RiLinkedinFill />
</Link>
</div>
</div>
</div> */}
</div>
</div>

Expand Down
76 changes: 73 additions & 3 deletions components/UI/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ import Image from "next/image";
import heroImg from "../../public/images/PiyushGarg.png";
import classes from "../../styles/hero.module.css";
import classNames from "../../styles/subtitle.module.css";
import NewTwitterLogo from "./NewTwitterlogo";
import classes1 from "../Header/header.module.css"

import {
RiCloseLine,
RiYoutubeFill,
RiGithubFill,
RiTwitterFill,
RiLinkedinFill,
} from "react-icons/ri";

const Hero = () => {
return (
Expand Down Expand Up @@ -51,9 +61,69 @@ const Hero = () => {
</div>
</Col>
<Col lg="6" md="6">
<div className={`${classes.hero__img} text-end`}>
<Image alt="Piyush Garg" src={heroImg} width="450" height="450" />
</div>
<Row style={{display:"flex",flexDirection:"column",gap:"4rem"}}>
<div className={`${classes1.hero__img} text-end`}>
<Image
alt="Piyush Garg"
src={heroImg}
width="450"
height="450"
/>
</div>
<div className={`${classes1.nav__right}`}>

<div
className={`flex flex-row items-center gap-20 border-l-2 pl-4 border-l-slate-500 `}
>
<span style={{fontSize:"20px",color:"white",fontWeight:"bold"}}>📢 Follow me</span>

<Link
aria-label="Youtube Channel"
href="https://youtube.com/@piyushgargdev"
target="_blank"
title="Youtube Channel"
id="youtube-channel"
className={`cursor-pointer text-[#ffffff] hover:text-[--site-theme-color] transform ease-in-out hover:-translate-y+1 hover:scale-150`}
rel="noreferrer"
>
<RiYoutubeFill size={40} />
</Link>

<Link
href="https://github.com/piyushgarg-dev/"
target="_blank"
title="Github Account"
id="github-account"
className={`cursor-pointer text-[#ffffff] hover:text-[--site-theme-color] transform ease-in-out hover:-translate-y+1 hover:scale-150`}
rel="noreferrer"
>
<RiGithubFill size={40} />
</Link>

<Link
href="https://twitter.com/piyushgarg_dev"
target="_blank"
title="Twitter Account"
id="twitter-account"
className={`cursor-pointer text-[#ffffff] hover:text-[--site-theme-color] transform ease-in-out hover:-translate-y+1 hover:scale-150`}
rel="noreferrer"
>
<NewTwitterLogo />
</Link>

<Link
href="https://www.linkedin.com/in/piyushgarg195/"
target="_blank"
title="LinkedIn Account"
id="linkedin-account"
className={`cursor-pointer text-[#ffffff] hover:text-[--site-theme-color] transform ease-in-out hover:-translate-y+1 hover:scale-150`}
rel="noreferrer"
>
<RiLinkedinFill size={40} />
</Link>
</div>
</div>
</Row>
</Col>
</Row>
</Container>
Expand Down
3 changes: 2 additions & 1 deletion components/UI/NewTwitterlogo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import React from "react";
const NewTwitterLogo = () => (
<svg
xmlns="http://www.w3.org/2000/svg"
height="0.9em"
height="1.5em"
viewBox="0 0 512 512"
fill="currentColor"

>
<path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z" />
</svg>
Expand Down
Loading
Loading