mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-10 12:36:49 +00:00
31 lines
808 B
TypeScript
31 lines
808 B
TypeScript
import React, {FC} from 'react';
|
|
import {Link} from 'react-router-dom';
|
|
import Routes from '../constants/routes';
|
|
import Header from '../components/Header';
|
|
|
|
/**
|
|
* Landing page
|
|
*/
|
|
const Landing: FC = () => (
|
|
<section className="landing">
|
|
<div className="dark-overlay">
|
|
<div className="landing-inner">
|
|
<Header
|
|
title="DevBook"
|
|
lead="Create developer profiles, portfolio, share and get help from other devs"
|
|
icon="code"
|
|
/>
|
|
<div className="buttons">
|
|
<Link to={Routes.SIGN_UP} className="btn btn-primary">
|
|
Sign up
|
|
</Link>
|
|
<Link to={Routes.SIGN_IN} className="btn btn-light">
|
|
Login
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
|
|
export default React.memo(Landing);
|