Skip to content

Commit

Permalink
fix: delete read more button + translation button + ortograph service…
Browse files Browse the repository at this point in the history
… and some clean up
  • Loading branch information
pasfono committed Mar 4, 2024
1 parent e121696 commit 439d72a
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 17 deletions.
2 changes: 0 additions & 2 deletions src/components/AnimationsComponent/AnimationsComponent.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import React from "react";
import "./Animations-Component.css";
import { motion, useScroll } from "framer-motion";
import { gsap } from "gsap";
import { ScrollTrigger } from "gsap/ScrollTrigger";
import { ScrollToPlugin } from "gsap/ScrollToPlugin";
import { useEffect } from "react";

function AnimationsComponent() {
const { scrollYProgress } = useScroll();

gsap.registerPlugin(ScrollTrigger, ScrollToPlugin);

Expand Down
18 changes: 11 additions & 7 deletions src/components/Cta/Cta.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,21 @@
color: #fff;
text-decoration: none;
}
.cta-button:hover{
.cta-button:hover {
background-color: transparent;
border: 1px #fff solid;
transition: all .6s;
-moz-transition: all .6s;
-webkit-transition: all .6s;
transition: all 0.6s;
-moz-transition: all 0.6s;
-webkit-transition: all 0.6s;
}

@media (min-width: 344px) {
.cta-wrap {
height: 320px;
}
.cta-component {
margin-top: 40px;
}
}
@media (min-width: 460px) {
.cta-text {
Expand All @@ -79,9 +83,6 @@
}
}
@media (min-width: 640px) {
.cta-component {
/* height: 200vh; */
}
.cta-wrap {
align-items: flex-start;
height: 220px;
Expand All @@ -102,6 +103,9 @@
}
}
@media (min-width: 768px) {
.cta-component {
margin-top: 0;
}
.cta-wrap {
height: 230px;
}
Expand Down
1 change: 0 additions & 1 deletion src/components/Cta/Cta.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from "react";
import "./Cta.css";
// import { useLocation, useNavigate } from "react-router-dom";
import { HashLink } from "react-router-hash-link";

const Cta = ({ langageState }) => {
Expand Down
1 change: 1 addition & 0 deletions src/components/Navbar/Navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ input:checked + .navbar-slider:before {
}
.navbar-switch-langage-container {
right: 8%;
top: 5%;
}
.navbar-contact-us {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navbar/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import jwblanc from "../../assets/logoJWCorp/jwlogosolutionblanc.svg";
import { Link } from "react-router-dom";
import { HashLink } from "react-router-hash-link";

function Navbar({ handlingLangage, langageState, checkDomain }) {
function Navbar({ handlingLangage, checkDomain }) {
const [displayNotification, setDisplayNotification] = useState(false);
useEffect(() => {
setTimeout(() => {
Expand Down
8 changes: 2 additions & 6 deletions src/components/NotreMission/NotreMission.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const NotreMission = ({ langageState }) => {
</>
) : (
<>
We mobilize our knowledge and skills to serve your your
We mobilize our knowledge and skills to serve your
Blockchain projects.
</>
)}
Expand Down Expand Up @@ -175,11 +175,7 @@ const NotreMission = ({ langageState }) => {
</HashLink>
</div>
</div>
<div className="mission-button-container">
<HashLink to="/Services">
{langageState ? <>EN SAVOIR +</> : <>READ MORE</>}
</HashLink>
</div>

</section>
);
};
Expand Down

0 comments on commit 439d72a

Please sign in to comment.