From 53ce6749e81813ebe780b26a68ca211f542dee0b Mon Sep 17 00:00:00 2001 From: matan Date: Mon, 14 Oct 2024 11:17:48 +0300 Subject: [PATCH] Changed the website logo --- src/CatalogLogo.svg | 5 +++++ src/PortLogo.svg | 3 --- src/components/Catalog.tsx | 2 +- src/components/Footer.tsx | 2 +- src/components/Header.css | 2 +- src/components/Header.tsx | 4 ++-- src/components/Manage.tsx | 16 +++++++--------- 7 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 src/CatalogLogo.svg delete mode 100644 src/PortLogo.svg diff --git a/src/CatalogLogo.svg b/src/CatalogLogo.svg new file mode 100644 index 0000000..8aa5ce4 --- /dev/null +++ b/src/CatalogLogo.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/src/PortLogo.svg b/src/PortLogo.svg deleted file mode 100644 index fbaf081..0000000 --- a/src/PortLogo.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/components/Catalog.tsx b/src/components/Catalog.tsx index 279dd47..0e2f905 100644 --- a/src/components/Catalog.tsx +++ b/src/components/Catalog.tsx @@ -79,7 +79,7 @@ const dogs = [ const Catalog: React.FC = () => { return (
-

Port's Dog Catalog

+

Dog's Catalog

{dogs.map((dog, index) => ( diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 16bb018..7a80d02 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -4,7 +4,7 @@ import './Footer.css'; const Footer: React.FC = () => { return (
-

© {new Date().getFullYear()} The Dog Catalog. All rights reserved.

+

{new Date().getFullYear()} The Dog Catalog.

); }; diff --git a/src/components/Header.css b/src/components/Header.css index 54faa6b..a66d7ac 100644 --- a/src/components/Header.css +++ b/src/components/Header.css @@ -9,7 +9,7 @@ } .logo img { - height: 20px; /* Set logo height to 20px */ + height: 30px; /* Set logo height to 20px */ } .nav-container { diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 1ee4d88..927c9d1 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { Link } from 'react-router-dom'; // Import Link for routing -import PortLogo from '../PortLogo.svg'; +import CatalogLogo from '../CatalogLogo.svg'; import './Header.css'; const Header: React.FC = () => { @@ -9,7 +9,7 @@ const Header: React.FC = () => { diff --git a/src/components/Manage.tsx b/src/components/Manage.tsx index ad56951..9c275dd 100644 --- a/src/components/Manage.tsx +++ b/src/components/Manage.tsx @@ -5,10 +5,9 @@ const Manage = () => { const [dogData, setDogData] = useState({ name: '', age: '', - picture: '', height: '', color: '', - favoritePortFeature: '', + favoriteToy: '', favoriteMeal: '', }); @@ -23,10 +22,9 @@ const Manage = () => { setDogData({ name: '', age: '', - picture: '', height: '', color: '', - favoritePortFeature: '', + favoriteToy: '', favoriteMeal: '', }); }; @@ -42,23 +40,23 @@ const Manage = () => {
Age: - +
height: - +
color: - +
favoriteToy: - +
favoriteMeal: - +