fix: add version from package json on footer, apply no resize for textarea contact, add skills section on sidebar and change the order

This commit is contained in:
GivFNZ 2025-03-23 12:19:40 -03:00
parent 8501375e70
commit f34fc32189
No known key found for this signature in database
GPG Key ID: 63DD92181B575322
5 changed files with 9 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "givs-website-react", "name": "givs-website-react",
"private": true, "private": true,
"version": "1.3.1", "version": "1.3.2",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@ -29,12 +29,12 @@ function App() {
<section id="about"> <section id="about">
<About /> <About />
</section> </section>
<section id="contact">
<Contact />
</section>
<section id="skills"> <section id="skills">
<Skills /> <Skills />
</section> </section>
<section id="contact">
<Contact />
</section>
<section id="projects"> <section id="projects">
<Projects /> <Projects />
</section> </section>

View File

@ -1,8 +1,10 @@
import packageInfo from '../../../package.json'
export default function Footer() { export default function Footer() {
const { version } = packageInfo
return ( return (
<footer> <footer>
<p>© 2025 GivFNZ</p> <p>© 2025 GivFNZ</p>
<p>Version: 1.3.1</p> <p>Version: {version}</p>
</footer> </footer>
) )
} }

View File

@ -40,6 +40,7 @@ export default function Header() {
<DrawerContainer onClick={() => setOpenDrawer(false)}> <DrawerContainer onClick={() => setOpenDrawer(false)}>
<DrawerItem>Giv's Website</DrawerItem> <DrawerItem>Giv's Website</DrawerItem>
<DrawerItem href="#about">{t("about")}</DrawerItem> <DrawerItem href="#about">{t("about")}</DrawerItem>
<DrawerItem href="#skills">{t("skills")}</DrawerItem>
<DrawerItem href="#contact">{t("contact")}</DrawerItem> <DrawerItem href="#contact">{t("contact")}</DrawerItem>
<DrawerItem href="#projects">{t("projects")}</DrawerItem> <DrawerItem href="#projects">{t("projects")}</DrawerItem>
<DrawerItem href="#music">{t("music")}</DrawerItem> <DrawerItem href="#music">{t("music")}</DrawerItem>

View File

@ -6,6 +6,7 @@ export const TextArea = styled.textarea`
width: 100%; width: 100%;
padding: 1rem; padding: 1rem;
border-radius: 8px; border-radius: 8px;
resize: none;
`; `;
export const Button = styled.button` export const Button = styled.button`