diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx
index 0dea88a..5877c58 100644
--- a/src/components/Header/Header.tsx
+++ b/src/components/Header/Header.tsx
@@ -1,9 +1,9 @@
import React, { useState } from "react";
// import { Header, Image } from 'semantic-ui-react'
-import Curiologo from '../assets/images/Csmall.png'
-import './header.css';
-import { Link ,BrowserRouter as Router } from 'react-router-dom';
-import { FaGithub, FaLinkedin, FaTwitter } from 'react-icons/fa';
+import Curiologo from "../assets/images/Csmall.png";
+import "./header.css";
+import { Link, BrowserRouter as Router } from "react-router-dom";
+import { FaGithub, FaLinkedin, FaTwitter } from "react-icons/fa";
const HeaderCurio = () => {
//Used to toggle the hamburger menu
@@ -11,28 +11,51 @@ const HeaderCurio = () => {
return (
<>
-
- {/* Wrapping the Link components within the Router component */}
-
- {/* Logo linking to the homepage */}
-
-
-
-
- URIO
-
-
- Your Video Translator :)
-
-
-
+ {/* Wrapping the Link components within the Router component */}
+
+ {/* Logo linking to the homepage */}
+
+
+
+
+ URIO
+
+
+ Your Video Translator :)
+
+
+
-
@@ -40,63 +63,94 @@ const HeaderCurio = () => {
Screen width is < 768px above is disabled and below is triggered
Added hamburger menu and generic options for the menu
*/}
- { }
+ {}
- {/* Wrapping the Link components within the Router component */}
-
+ {/* Wrapping the Link components within the Router component */}
+
{/* Logo linking to the homepage */}
-
-
-
- URIO
-
-
- Your Video Translator :)
-
-
-
+
+
+
+ URIO
+
+
+ Your Video Translator :)
+
+
+
- { setTriggerMenu(!triggerMenu) }} className="hamburger-m" type="button">
- {/*
+ {
+ setTriggerMenu(!triggerMenu);
+ }}
+ className="hamburger-m"
+ type="button"
+ >
+ {/*
This is the hamburger line icon
First one is when it's off
Second one is when it's on
*/}
-
-
-
+
+
+
+
{/*
- The menu of the hamburger
- If trigger is true, display it, if not don't*/}
+ The menu of the hamburger
+ If trigger is true, display it, if not don't*/}
>
diff --git a/src/components/Header/header.css b/src/components/Header/header.css
index fa1d6fe..8c50a3b 100644
--- a/src/components/Header/header.css
+++ b/src/components/Header/header.css
@@ -21,20 +21,23 @@
gap: 1vw;
background-color: rgba(0, 0, 0, 0);
transition-duration: 0.2s;
+ margin-top: 5px;
}
.lines-rotated-left-m {
- height: 1.2vw;
- width: 8vw;
+ height: 1vw;
+ width: 6vw;
position: absolute;
transform: rotate(50deg);
- background-image: linear-gradient(to right, purple, pink);
+ background: var(--gradient-text);
+ border-radius: 20%;
}
.lines-rotated-right-m {
- height: 1.2vw;
- width: 8vw;
+ height: 1vw;
+ width: 6vw;
position: absolute;
transform: rotate(-50deg);
- background-image: linear-gradient(to right, purple, pink);
+ background: var(--gradient-text);
+ border-radius: 20%;
}
.hamburger-m:active {
opacity: 0.6;
@@ -43,10 +46,11 @@
opacity: 0.6;
}
.hamburger-lines-m {
- height: 2vw;
- width: 8vw;
+ height: 1vw;
+ width: 6vw;
+ border-radius: 20%;
- background-image: linear-gradient(to right, purple, pink);
+ background: var(--gradient-text);
}
.curio__header-m {
font-family: Manrope;
@@ -70,22 +74,52 @@
align-items: center;
position: absolute;
z-index: 100;
- background-color: #040c18;
height: 60vw;
width: 96vw;
- transition-duration: 1s;
font-size: 1.1rem;
font-family: Manrope;
}
.hamburger-menu-context:active {
opacity: 0.2;
}
-.hamburger-menu-context:hover {
- opacity: 0.2;
-}
.hamburger-menu-context svg {
- margin-right: 10px;
- font-size: 25px;
+ font-size: 30px;
+ color: #dfdfdf;
+}
+.gradient_bg {
+ background: -moz-radial-gradient(
+ circle at 50% 50%,
+ rgba(0, 40, 83, 1) 0%,
+ rgba(4, 12, 24, 1) 50%
+ );
+
+ /* safari 5.1+,chrome 10+ */
+ background: -webkit-radial-gradient(
+ circle at 50% 50%,
+ rgba(0, 40, 83, 1) 0%,
+ rgba(4, 12, 24, 1) 50%
+ );
+
+ /* opera 11.10+ */
+ background: -o-radial-gradient(
+ circle at 50% 50%,
+ rgba(0, 40, 83, 1) 0%,
+ rgba(4, 12, 24, 1) 50%
+ );
+
+ /* ie 10+ */
+ background: -ms-radial-gradient(
+ circle at 50% 50%,
+ rgba(0, 40, 83, 1) 0%,
+ rgba(4, 12, 24, 1) 50%
+ );
+
+ /* global 92%+ browsers support */
+ background: radial-gradient(
+ circle at 50% 50%,
+ rgba(0, 40, 83, 1) 0%,
+ rgba(4, 12, 24, 1) 50%
+ );
}
.gradient__text {
background: var(--gradient-text);
@@ -121,7 +155,7 @@
}
.curio__sign svg:hover {
- color: #1da1f2;
+ color: #1da1f2;
}
.curio__sign p {
@@ -152,6 +186,30 @@
border-radius: 5px;
}
+.github_icon svg {
+ transition: color 0.3s;
+}
+
+.github_icon:hover svg {
+ color: #696363;
+}
+
+.linkedin_icon svg {
+ transition: color 0.3s;
+}
+
+.linkedin_icon:hover svg {
+ color: #0077b5;
+}
+
+.twitter_icon svg {
+ transition: color 0.3s;
+}
+
+.twitter_icon:hover svg {
+ color: #26a7de;
+}
+
@media only screen and (min-width: 768px) {
/* For mobile phones: */
[class="curio__header"] {
diff --git a/src/components/UnderHeader/SearchBar.css b/src/components/UnderHeader/SearchBar.css
index 1ba7a21..2abe4fb 100644
--- a/src/components/UnderHeader/SearchBar.css
+++ b/src/components/UnderHeader/SearchBar.css
@@ -37,6 +37,12 @@
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
+ border-top-left-radius: 0px;
+ border-bottom-left-radius: 0px;
+}
+
+.search_button :hover {
+ background-color: black;
}
.curio__search__input {
diff --git a/src/components/UnderHeader/Searchbar.tsx b/src/components/UnderHeader/Searchbar.tsx
index d665bb2..936dbc7 100644
--- a/src/components/UnderHeader/Searchbar.tsx
+++ b/src/components/UnderHeader/Searchbar.tsx
@@ -29,16 +29,9 @@ const Searchbar: React.FC = ({ handleFormSubmit }) => {
value={term}
name="video-search"
type="text"
- id="searchBar"
placeholder="Search Video..."
/>
- handleSubmit}
- type="submit"
- appearance="primary"
- size="sm"
- id="searchButton"
- >
+ handleSubmit} type="submit">