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 "animate.css";
export default function SecondSection() {
export default function Demo() {
return (
<section className="relative flex !tracking-wide flex-col items-center overflow-hidden">
<div className="!container relative">

View File

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

View File

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

View File

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