From dcf266f6813c9cc6a65e0f7537621042d79939fd Mon Sep 17 00:00:00 2001 From: Gregory Beaver Date: Tue, 2 May 2017 21:44:30 -0500 Subject: [PATCH] fix link to the logo, add some text in the examples page --- docs/md/README.md | 2 +- docs/src/components/Examples.jsx | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/docs/md/README.md b/docs/md/README.md index db8b4b7..c91ffb3 100644 --- a/docs/md/README.md +++ b/docs/md/README.md @@ -1,4 +1,4 @@ -Ion Router Logo +Ion Router Logo # ion-router ###### Connecting your url and redux state diff --git a/docs/src/components/Examples.jsx b/docs/src/components/Examples.jsx index 965b513..daff9f1 100644 --- a/docs/src/components/Examples.jsx +++ b/docs/src/components/Examples.jsx @@ -1,8 +1,11 @@ import React from 'react' import { connect } from 'react-redux' + import ExampleToggle from '../toggles/ExampleToggle' +import { getConnectedLink } from 'ion-router/Link' import thing from './Example' +const Link = getConnectedLink(connect, 'mainStore') const Example = connect(state => ({ example: state.examples.example }), undefined, undefined, { storeKey: 'mainStore' })(thing) @@ -10,7 +13,19 @@ const Example = connect(state => ({ export default function Examples() { return (
- + ( +
+

Examples of ion-router's power

+

+ There are many ways ion-router can be used, and this + list will grow as new ones are added. +

+
    +
  • Basic Example
  • +
+
+ )} + />
) }