[feat] index:header, about, project, contact
This commit is contained in:
parent
54a7c858e3
commit
338129fcc6
7 changed files with 178 additions and 28 deletions
13
components/Button.js
Normal file
13
components/Button.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
const Button = ({ children, variation, ...props }) => (
|
||||
<button
|
||||
{...props}
|
||||
className={`title rounded-2xl px-8 py-2 shadow-md transition duration-300 ease-in-out ${
|
||||
variation === "primary"
|
||||
? "bg-gray-400 hover:bg-slate-500 text-gray-100 hover:text-white"
|
||||
: "transparent border border-gray-400 hover:border-slate-500 text-gray-400 hover:text-gray-300"
|
||||
}`}>
|
||||
{children}
|
||||
</button>
|
||||
);
|
||||
|
||||
export default Button;
|
||||
Loading…
Add table
Add a link
Reference in a new issue