This repository has been archived by the owner on Jan 10, 2022. It is now read-only.
forked from sourcey/spectacle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request sourcey#26 from FormidableLabs/task-reconfigContent
[WIP] Reconfigure for Content Components
- Loading branch information
Showing
44 changed files
with
4,333 additions
and
3,456 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import React from "react"; | ||
import { Link } from "react-router"; | ||
import { Header, Footer } from "formidable-landers"; | ||
|
||
// Variables and Stylesheet | ||
import LOGO from "../../static/logo.svg"; | ||
import "../styles/styles.css"; | ||
|
||
class App extends React.Component { | ||
render() { | ||
const SpectacleLogoLink = ( | ||
<h1 className="u-noMargin"> | ||
<a | ||
href="/" | ||
className="Logo" | ||
dangerouslySetInnerHTML={{__html: LOGO}} | ||
/> | ||
</h1> | ||
); | ||
|
||
return ( | ||
<div className="Site"> | ||
<Header | ||
logoProject={SpectacleLogoLink} | ||
padding="20px 6vw 30px" | ||
theme="dark" | ||
> | ||
<div className="default"> | ||
<Link to="/about" activeClassName="is-active">About</Link> | ||
<Link to="/docs" activeClassName="is-active">Docs</Link> | ||
<a href="https://www.github.com/FormidableLabs/spectacle/issues">Issues</a> | ||
<a href="https://github.com/FormidableLabs/spectacle">GitHub</a> | ||
</div> | ||
</Header> | ||
|
||
{ this.props.children } | ||
|
||
<Footer | ||
padding="5rem 6vw 6rem" | ||
/> | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
App.propTypes = { | ||
children: React.PropTypes.node | ||
}; | ||
|
||
App.defaultProps = { | ||
children: null | ||
}; | ||
|
||
export default App; |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// | ||
// Import markdown files from /docs folder in the repo | ||
// | ||
|
||
import GettingStarted from "spectacle/docs/getting-started.md"; | ||
import BasicConcepts from "spectacle/docs/basic-concepts.md"; | ||
import Api from "spectacle/docs/tag-api.md"; | ||
import Props from "spectacle/docs/props.md"; | ||
import Extensions from "spectacle/docs/extensions.md"; | ||
|
||
export const config = [ | ||
{ | ||
name: "Getting Started", | ||
slug: "getting-started", | ||
docs: GettingStarted | ||
}, { | ||
name: "Basic Concepts", | ||
slug: "basic-concepts", | ||
docs: BasicConcepts | ||
}, { | ||
name: "API", | ||
slug: "tag-api", | ||
docs: Api | ||
}, { | ||
name: "Props", | ||
slug: "props", | ||
docs: Props | ||
}, { | ||
name: "Extensions", | ||
slug: "extensions", | ||
docs: Extensions | ||
} | ||
]; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.