diff --git a/components/artCard.js b/components/artCard.js new file mode 100644 index 0000000..a34dc07 --- /dev/null +++ b/components/artCard.js @@ -0,0 +1,21 @@ +import React from "react"; +import ArtCardStyle from "./artCard.style"; + +function SkillCard({ title, description, image }) { + return ( + +
+ {image && ( +
+ +
+ )} +
{title}
+
{description}
+ +
+
+ ); +} + +export default SkillCard; diff --git a/components/artCard.style.jsx b/components/artCard.style.jsx new file mode 100644 index 0000000..61af6fe --- /dev/null +++ b/components/artCard.style.jsx @@ -0,0 +1,20 @@ +import styled from "styled-components"; + +export default styled.div` + width: 33.33%; + padding: 10px; + .card { + background-color: var(--color1); + padding: 15px; + width: 100%; + height: auto; + border-radius: 5px; + transition: 0.1s; + :hover { + transform: scale(1.1); + } + } + .card-logo { + float: right; + } +`; diff --git a/components/contact.js b/components/contact.js index a23a424..a1db578 100644 --- a/components/contact.js +++ b/components/contact.js @@ -3,7 +3,127 @@ import { name } from "config"; import { ContactStyle } from "./contact.style"; function Contact() { - return Contact will be here; + const [input, setInput] = React.useState({ + senderName: "", + email: "", + message: "", + topic: "", + }); + function changeInput(evt) { + const { name, value } = evt.target; + setInput({ + ...input, + [name]: value, + }); + } + function submitForm(evt) { + evt.preventDefault(); + console.log(input); + } + return ( + +
+
+
+
+

Contact Me

+
+

+ If you have any questions, feel free to contact me. I am always + open to discussing new projects and opportunities. +

+
+

+

+ Email: +

+
+ me@bravo68web.me +

+
+

+

+ Phone: +

+
+ +91 6291559872 +

+
+

+

+ Discord: +

+
+ + Bravo68-DF_Techs#6429 + +

+
+
+
+
+
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+