PHP Classes

File: frontend/src/components/Routes/Home/InitialSection/index.tsx

Recommend this page to a friend!
  Classes of carlos carvalho   yrprey PHP application   frontend/src/components/Routes/Home/InitialSection/index.tsx   Download  
File: frontend/src/components/Routes/Home/InitialSection/index.tsx
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: yrprey PHP application
Web app to learn about OWASP API vulnerabilities
Author: By
Last change:
Date: 3 months ago
Size: 1,004 bytes
 

Contents

Class file image Download
import { useContext } from "react"; import { StyledInitialSection } from "./style"; import { Context } from "@/context/context"; import Image from "next/image"; const InitialSection = () => { const { router } = useContext(Context); return ( <StyledInitialSection> <div className="container"> <div className="container-left"> <h1> Your Complete <span>Vulnerability</span> Site. </h1> <p>Find the most beautiful collectibles in one place!</p> <button className="btn-initial" onClick={() => router.push("/register")}> Request free access </button> </div> <div className="container-right"> <Image className="image" src={"/hacker-1.webp"} width="100" height="100" sizes="100" alt="padclock" ></Image> </div> </div> </StyledInitialSection> ); }; export default InitialSection;