Rename home page sections to reflect contents (#1572)

## Description

Makes it easier to figure out where to make changes

## Type of change

- [x] 🗺️ Documentation
This commit is contained in:
Niraj Tolia 2022-11-22 14:21:37 -08:00 committed by GitHub
parent d6522e01ae
commit c3ca63a98d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 15 deletions

View File

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import "animate.css"; import "animate.css";
export default function SecondSection() { export default function Demo() {
return ( return (
<section className="relative flex !tracking-wide flex-col items-center overflow-hidden"> <section className="relative flex !tracking-wide flex-col items-center overflow-hidden">
<div className="!container relative"> <div className="!container relative">

View File

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import "animate.css"; import "animate.css";
export default function FirstSection() { export default function Hero() {
return ( return (
<section className="relative !tracking-wide flex flex-col home-wrapper items-center overflow-hidden"> <section className="relative !tracking-wide flex flex-col home-wrapper items-center overflow-hidden">
<div <div

View File

@ -6,7 +6,7 @@ import { Icon } from "@iconify/react";
import "animate.css"; import "animate.css";
import "tw-elements"; import "tw-elements";
export default function ThirdSection() { export default function KeyLoveFAQ() {
useEffect(() => { useEffect(() => {
new WOW().init(); new WOW().init();
feather.replace(); feather.replace();

View File

@ -1,28 +1,22 @@
import React from "react"; import React from "react";
import "animate.css"; import "animate.css";
import loadable from "@loadable/component"; import loadable from "@loadable/component";
import FirstSection from "./FirstSection"; import Hero from "./Hero";
import SecondSection from "./SecondSection"; import Demo from "./Demo";
import FourthSection from "./FourthSection"; import FourthSection from "./FourthSection";
import Cookies from "./Cookies"; import Cookies from "./Cookies";
const ThirdSectionComp = loadable(() => import("./ThirdSection")); const KeyLoveFAQComp = loadable(() => import("./KeyLoveFAQ"));
const BackToTopComp = loadable(() => import("./BackToTop")); const BackToTopComp = loadable(() => import("./BackToTop"));
export function MainComp() { export function MainComp() {
return ( return (
<> <>
{/* SECTION 1 */} <Hero />
<FirstSection /> <Demo />
{/* SECTION 2 */} <KeyLoveFAQComp />
<SecondSection />
{/* SECTION 3 */}
<ThirdSectionComp />
{/* SECTION 4 */}
<FourthSection /> <FourthSection />
{/* BACK TO TOP */}
<BackToTopComp /> <BackToTopComp />
{/* COOKIES */}
<Cookies /> <Cookies />
</> </>
); );