74 lines
3.1 KiB
React
74 lines
3.1 KiB
React
|
/**
|
||
|
* ==============================================================================
|
||
|
* Imports
|
||
|
* ==============================================================================
|
||
|
*/
|
||
|
import React from "react";
|
||
|
|
||
|
/** ********************************************** */
|
||
|
/** ********************************************** */
|
||
|
/** ********************************************** */
|
||
|
|
||
|
/** ****************************************************************************** */
|
||
|
/** ****************************************************************************** */
|
||
|
/** ****************************************************************************** */
|
||
|
/** ****************************************************************************** */
|
||
|
/** ****************************************************************************** */
|
||
|
/** ****************************************************************************** */
|
||
|
|
||
|
/**
|
||
|
* ==============================================================================
|
||
|
* Main Component { Functional }
|
||
|
* ==============================================================================
|
||
|
* @param {Object} props - Server props
|
||
|
*/
|
||
|
export default function SingleBlogPostPreset(props) {
|
||
|
// ## Get Contexts
|
||
|
|
||
|
/** ********************************************** */
|
||
|
/** ********************************************** */
|
||
|
/** ********************************************** */
|
||
|
|
||
|
// ## Javascript Variables
|
||
|
|
||
|
/** ********************************************** */
|
||
|
/** ********************************************** */
|
||
|
/** ********************************************** */
|
||
|
|
||
|
|
||
|
/** ********************************************** */
|
||
|
/** ********************************************** */
|
||
|
/** ********************************************** */
|
||
|
|
||
|
// ## React Hooks { useState, useEffect, useRef, etc ... }
|
||
|
|
||
|
/** ********************************************** */
|
||
|
/** ********************************************** */
|
||
|
/** ********************************************** */
|
||
|
|
||
|
// ## Function Return
|
||
|
return (
|
||
|
<React.Fragment>
|
||
|
<GeneralLayout head={ head } user={ props.user }>
|
||
|
<main>
|
||
|
<Hero />
|
||
|
<HowItWorks />
|
||
|
<FeaturedProperties data={ props.data } user={ props.user } />
|
||
|
<AboutUsSection />
|
||
|
{ !props.user && <LoginPromptPopup user={ props.user } /> }
|
||
|
</main>
|
||
|
</GeneralLayout>
|
||
|
</React.Fragment>
|
||
|
);
|
||
|
/** ********************************************** */
|
||
|
/** ********************************************** */
|
||
|
/** ********************************************** */
|
||
|
};
|
||
|
|
||
|
/** ****************************************************************************** */
|
||
|
/** ****************************************************************************** */
|
||
|
/** ****************************************************************************** */
|
||
|
/** ****************************************************************************** */
|
||
|
/** ****************************************************************************** */
|
||
|
/** ****************************************************************************** */
|