Skip to content

Commit

Permalink
clearing out the canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
chetanverma16 committed Jan 29, 2023
1 parent 2d09b48 commit 17f8a64
Show file tree
Hide file tree
Showing 9 changed files with 245 additions and 1,288 deletions.
6 changes: 3 additions & 3 deletions components/Header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Header = ({ handleWorkScroll, handleAboutScroll, isBlog }) => {
const router = useRouter();

return (
<>
<div className="max-w-4xl mx-auto">
<Popover className="block tablet:hidden mt-5">
{({ open }) => (
<>
Expand All @@ -31,7 +31,7 @@ const Header = ({ handleWorkScroll, handleAboutScroll, isBlog }) => {
</div>
</div>
<Popover.Panel
className={`absolute top-14 right-10 w-5/12 z-10 p-2 bg-white shadow-md rounded-md`}
className={`absolute top-8 right-0 w-8/12 z-10 p-2 bg-white shadow-md rounded-md`}
>
<div className="grid grid-cols-1">
<Button classes="bg-white" onClick={() => router.push('/')}>
Expand Down Expand Up @@ -89,7 +89,7 @@ const Header = ({ handleWorkScroll, handleAboutScroll, isBlog }) => {
</Button>
</div>
</div>
</>
</div>
);
};

Expand Down
10 changes: 4 additions & 6 deletions components/Socials/index.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
import React from "react";
import Button from "../Button";

import yourData from "../../data/portfolio.json";
import React from 'react';
import Button from '../Button';

const Socials = ({ className }) => {
return (
<div className={`${className} flex flex-wrap mob:flex-nowrap link`}>
{yourData.socials.map((social, index) => (
{/* {yourData.socials.map((social, index) => (
<Button key={index} onClick={() => window.open(social.link)}>
{social.title}
</Button>
))}
))} */}
</div>
);
};
Expand Down
126 changes: 0 additions & 126 deletions data/portfolio copy.json

This file was deleted.

1 change: 0 additions & 1 deletion data/portfolio.json

This file was deleted.

Loading

0 comments on commit 17f8a64

Please sign in to comment.