From 813ef36401f5bf3f506352827be327a1f5f93ceb Mon Sep 17 00:00:00 2001 From: Juthatip McDevitt Date: Sun, 14 Apr 2024 22:33:42 -0500 Subject: [PATCH] added about section --- awwwards_ss3/src/App.jsx | 7 ++-- awwwards_ss3/src/components/About.jsx | 44 +++++++++++++++++++++++++ awwwards_ss3/src/components/NavBody.jsx | 2 +- awwwards_ss3/src/index.css | 35 ++++++++++++++++++-- 4 files changed, 81 insertions(+), 7 deletions(-) create mode 100644 awwwards_ss3/src/components/About.jsx diff --git a/awwwards_ss3/src/App.jsx b/awwwards_ss3/src/App.jsx index 69bf798..abb4d43 100644 --- a/awwwards_ss3/src/App.jsx +++ b/awwwards_ss3/src/App.jsx @@ -1,16 +1,17 @@ +import About from "./components/About" import Header from "./components/Header" import Home from "./components/Home" -//import PreLoader from "./components/preloader/PreLoader" - +import PreLoader from "./components/preloader/PreLoader" function App() { return (
- {/**/} +
+
) } diff --git a/awwwards_ss3/src/components/About.jsx b/awwwards_ss3/src/components/About.jsx new file mode 100644 index 0000000..e5d6d82 --- /dev/null +++ b/awwwards_ss3/src/components/About.jsx @@ -0,0 +1,44 @@ +import { PiArrowElbowRightDown, PiArrowElbowDownRightLight } from "react-icons/pi"; + +const About = () => { + return ( +
+
+

Full service digital agency.

+
+

Two engagement models.

+

Paris / San Diego

+
+
+
+
+
+

We are a digital brand accelerator. Our mission is to tarnsform founders’ visions into remarkable brands. Choose traditional compensation or and equity + off set through our Venture Model-your vision, your decision.

+
+
+
+

Agency & Venture

+ Models + +
+ + Explore our services
+ + and engagement models +
+
+
+
+

Transforming visions into brands.

+ + +

See the work

+
+
+
+
+ ) +} + +export default About \ No newline at end of file diff --git a/awwwards_ss3/src/components/NavBody.jsx b/awwwards_ss3/src/components/NavBody.jsx index 0564cf5..303d83f 100644 --- a/awwwards_ss3/src/components/NavBody.jsx +++ b/awwwards_ss3/src/components/NavBody.jsx @@ -43,7 +43,7 @@ const NavBody = ({links, selectedLink, setSelectedLink}) => { const { title, href } = link; return {/*This a tag can change to be Link to take to pages*/} {setSelectedLink({isActive: true, index})}} onMouseLeave={() => {setSelectedLink({isActive: false, index})}} - animate={selectedLink.isActive && selectedLink.index != index ? "open" : "closed"} className='flex overflow-hidden text-[3.5vw] leading-none text-[#0E0E0E] mx-40'> + animate={selectedLink.isActive && selectedLink.index != index ? "open" : "closed"} className='flex overflow-hidden text-[3.5vw] leading-none text-[#0E0E0E] mx-40 underline'> {getChars(title)} diff --git a/awwwards_ss3/src/index.css b/awwwards_ss3/src/index.css index c0161e2..a41d0ae 100644 --- a/awwwards_ss3/src/index.css +++ b/awwwards_ss3/src/index.css @@ -13,7 +13,7 @@ body{ .home-text{ font-family: "NB-International-Pro-Bold"; } -.btn{ +.btn, .btn-about{ position: relative; text-decoration: none; } @@ -30,10 +30,40 @@ body{ transform-origin: bottom right; transition: transform 0.25s ease-out; } -.btn:hover::after{ +.btn:hover::after, .btn-about:hover::after{ transform: scaleX(1); transform-origin: bottom left; } + +.btn-about::before{ + content: ''; + position: absolute; + width: 100%; + transform: scaleX(1); + border-radius: 5px; + height: 4px; + bottom: 0; + left: 0; + background: currentcolor; + transform-origin: bottom right; +} +.btn-about:hover::before{ + transform: scaleX(0); +} +.btn-about::after{ + content: ''; + position: absolute; + width: 100%; + transform: scaleX(0); + border-radius: 5px; + height: 4px; + bottom: 0; + left: 0; + background: currentcolor; + transform-origin: bottom right; + transition: transform 0.5s ease-out; +} + .btn-1{ background: linear-gradient(to right, #0E0E0E 50%, transparent 50%); background-size: 200% 100%; @@ -55,7 +85,6 @@ body{ - @font-face { font-family: "NB-International-Pro-Bold"; src: local("NB-International-Pro-Bold"), url("./assets/NB-International-Pro-Bold.ttf") format("opentype");