Skip to content

Commit

Permalink
destructered the props in Leftbar.js file and changed class to classN…
Browse files Browse the repository at this point in the history
…ame in multiple files
  • Loading branch information
Ayush Srivastava authored and Ayush Srivastava committed Aug 7, 2022
1 parent 552d7cc commit 2c3191d
Show file tree
Hide file tree
Showing 5 changed files with 4,342 additions and 32 deletions.
8 changes: 4 additions & 4 deletions components/core/LeftBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ const LeftBar = ({ data, setData, children, setChildren }) => {
];

const props = {
data: data,
setData: setData,
children: children,
setChildren: setChildren,
data,
setData,
children,
setChildren,
};

const twitterShareLink =
Expand Down
6 changes: 3 additions & 3 deletions components/core/Loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import React from "react";

const Loader = () => {
return (
<div class="spinner">
<div class="cube1"></div>
<div class="cube2"></div>
<div className="spinner">
<div className="cube1"></div>
<div className="cube2"></div>
</div>
);
};
Expand Down
10 changes: 5 additions & 5 deletions components/utils/StylishBtn.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import React from "react";

const StylishBtn = ({ text, icon, icon1 }) => {
return (
<div class="relative inline-flex items-center justify-start py-3 pl-4 pr-12 overflow-hidden font-semibold text-indigo-600 transition-all duration-150 ease-in-out rounded hover:pl-10 hover:pr-6 bg-gray-50 group border border-indigo-600">
<span class="absolute bottom-0 left-0 w-full h-1 transition-all duration-150 ease-in-out bg-indigo-600 group-hover:h-full"></span>
<span class="absolute right-0 pr-4 duration-200 ease-out group-hover:translate-x-12">
<div className="relative inline-flex items-center justify-start py-3 pl-4 pr-12 overflow-hidden font-semibold text-indigo-600 transition-all duration-150 ease-in-out rounded hover:pl-10 hover:pr-6 bg-gray-50 group border border-indigo-600">
<span className="absolute bottom-0 left-0 w-full h-1 transition-all duration-150 ease-in-out bg-indigo-600 group-hover:h-full"></span>
<span className="absolute right-0 pr-4 duration-200 ease-out group-hover:translate-x-12">
{icon1}
</span>
<span class="absolute left-0 pl-2.5 -translate-x-12 group-hover:translate-x-0 ease-out duration-200">
<span className="absolute left-0 pl-2.5 -translate-x-12 group-hover:translate-x-0 ease-out duration-200">
{icon}
</span>
<span class="relative w-full text-left transition-colors duration-200 ease-in-out group-hover:text-white">
<span className="relative w-full text-left transition-colors duration-200 ease-in-out group-hover:text-white">
{text}
</span>
</div>
Expand Down
Loading

0 comments on commit 2c3191d

Please sign in to comment.