diff --git a/cv-project/src/App.jsx b/cv-project/src/App.jsx index 1a96c3f..d00749c 100644 --- a/cv-project/src/App.jsx +++ b/cv-project/src/App.jsx @@ -7,6 +7,7 @@ import ExperienceDisplay from "./components/experienceDisplay"; import "./App.css"; import { useState } from "react"; +import Button from "./components/button"; function App() { const [basicInfo, setBasicInfo] = useState({ @@ -26,16 +27,18 @@ function App() {
- - + text="Add Education" + className="normal-btn" + /> +
setFieldOfStudy(e.target.value)} /> - - + setGraduationDate(""); + setSchoolName(""); + setFieldOfStudy(""); + }} + text="Submit" + /> +
) : null} diff --git a/cv-project/src/components/experienceForm.jsx b/cv-project/src/components/experienceForm.jsx index 0efb964..4c94302 100644 --- a/cv-project/src/components/experienceForm.jsx +++ b/cv-project/src/components/experienceForm.jsx @@ -1,5 +1,6 @@ import { useState } from "react"; import Input from "./input"; +import Button from "./button"; export default function ExperienceForm(props) { return ( @@ -94,27 +95,28 @@ function JobForm({ isActive, jobs, setJobs }) { onChange={(e) => setJobDescription(e.target.value)} /> - - +
+
) : null} diff --git a/cv-project/src/styles/input.css b/cv-project/src/styles/input.css index aa06f51..4245b70 100644 --- a/cv-project/src/styles/input.css +++ b/cv-project/src/styles/input.css @@ -15,5 +15,13 @@ } .input input { - font-size: 1.3rem; + font-size: 1.1rem; + padding: 0.5rem; + border-radius: 0.4rem; + outline: 1px solid hsl(var(--light-gray)); + border: none; +} + +.input input:focus { + outline: 2px solid hsl(var(--dark-gray)); }