Add Skills component and SectionLine component

This commit is contained in:
dertyp7
2024-01-13 22:37:57 +01:00
parent fcc847513c
commit 16ae42f04b
6 changed files with 46 additions and 2 deletions

View File

@@ -3,6 +3,8 @@ import "@styles/App.scss";
import Header from "@components/Header";
import About from "@components/About";
import ScrollToTop from "@components/ScrollToTop";
import Skills from "@components/Skills";
import SectionLine from "@components/SectionLine";
export default function App() {
const aboutRef = useRef(null);
@@ -45,13 +47,16 @@ export default function App() {
<About />
</div>
<SectionLine />
<div id="skills" ref={skillsRef}>
<h4>Skills</h4>
<Skills />
</div>
<SectionLine />
<div id="projects" ref={projectsRef} style={{ textAlign: "center" }}>
<h4>Projects</h4>
</div>
<h4>Website under construction 🚧👷</h4>
<ScrollToTop />
</div>

View File

@@ -0,0 +1,9 @@
import "@styles/SectionLine.scss";
export default function SectionLine() {
return (
<div className="sectionLine">
<hr />
</div>
);
}

View File

@@ -0,0 +1,5 @@
import "@styles/Skills.scss";
export default function Skills() {
return <div className="skills">Skills</div>;
}

View File

@@ -0,0 +1,23 @@
.sectionLine {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
hr {
width: 60%;
border: 1px solid var(--color-border);
}
@media screen and (max-width: 768px) {
hr {
width: 80%;
}
}
@media screen and (max-width: 480px) {
hr {
width: 90%;
}
}
}

2
src/styles/Skills.scss Normal file
View File

@@ -0,0 +1,2 @@
.skills {
}

View File

@@ -8,7 +8,7 @@
--color-font: #ffffff;
--color-font-muted: #a0a0a0;
--color-border: #1c1c1c;
--color-border: #2b2b2b;
--color-danger: #cf000f;
--color-success: #009944;