Last active
August 19, 2019 19:37
-
-
Save joelvarty/9be37d5e637737b4fdbb99bb1c27fb2c to your computer and use it in GitHub Desktop.
Agility Tutorial for creating a react page template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { ContentZone } from '../agility-react' | |
class TwoColumnTemplate extends Component { | |
render() { | |
return ( | |
<div className="two-column-template"> | |
<div className="main-column"> | |
<ContentZone name='MainContentZone' {...this.props} /> | |
</div> | |
<div className="right-column"> | |
<ContentZone name='RightContentZone' {...this.props} /> | |
</div> | |
</div> | |
); | |
} | |
} | |
export default TwoColumnTemplate; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment