Skip to content

Commit

Permalink
SEO for publicProfile component (#84)
Browse files Browse the repository at this point in the history
* SEO for publicProfile

* SEO for publicProfile

* SEO for publicProfile #2
  • Loading branch information
Xtremilicious authored Mar 12, 2020
1 parent 3020971 commit 7b7cb0e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/publicProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { Row, Col } from "antd"
import Header from "./Layout/sideDrawer"
import Footer from "./Layout/footer"
import Loader from "./Layout/loader"
import SEO from "./SEO/SEO"

import userStyles from "../styles/user.module.css"
import styles from "../styles/layout.module.css"
Expand Down Expand Up @@ -64,6 +65,10 @@ export class publicProfile extends Component {
<div>
{data ? (
<div>
<SEO
title={`Walk in the footsteps of ${data.first_name}`}
description={`${data.first_name} has made learning paths using FootstepsApp. Discover ${data.first_name}'s recommended way to learn.`}
/>
<div className={userStyles.content}>
<Header show={false} />
<div className={userStyles.container}>
Expand Down

0 comments on commit 7b7cb0e

Please sign in to comment.