mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-26 16:02:38 +00:00
Adding version number to the navbar, probably will remove
This commit is contained in:
@@ -60,6 +60,13 @@ var HomePage = React.createClass({
|
||||
return(
|
||||
<div className='homePage page'>
|
||||
<Navbar>
|
||||
<Nav.item
|
||||
newTab={true}
|
||||
href='https://github.com/stolksdorf/naturalcrit/issues'
|
||||
color='red'
|
||||
icon='fa-bug'>
|
||||
issue?
|
||||
</Nav.item>
|
||||
<Nav.item
|
||||
href='/homebrew/changelog'
|
||||
color='purple'
|
||||
|
||||
@@ -16,6 +16,7 @@ var Navbar = React.createClass({
|
||||
<Nav.item href='/homebrew' className='homebrewLogo'>
|
||||
<div>The Homebrewery</div>
|
||||
</Nav.item>
|
||||
<Nav.item>v1.5.0</Nav.item>
|
||||
</Nav.section>
|
||||
|
||||
<Nav.section>
|
||||
|
||||
@@ -58,6 +58,7 @@ var Nav = {
|
||||
return {
|
||||
icon : null,
|
||||
href : null,
|
||||
newTab : false,
|
||||
onClick : function(){},
|
||||
color : null
|
||||
};
|
||||
@@ -72,7 +73,7 @@ var Nav = {
|
||||
if(this.props.icon) icon = <i className={'fa ' + this.props.icon} />;
|
||||
|
||||
if(this.props.href){
|
||||
return <a href={this.props.href} className={classes} >
|
||||
return <a href={this.props.href} className={classes} target={this.props.newTab ? '_blank' : '_self'}>
|
||||
{this.props.children}
|
||||
{icon}
|
||||
</a>
|
||||
|
||||
3
todo.md
3
todo.md
@@ -5,6 +5,7 @@ X Make statusbar un-fixed
|
||||
X Simplify the panel css to remove the current issues
|
||||
- Build new `BrewRenderer`, clean support for partial rendering
|
||||
- Add `infoBox` to BrewRenderer to show views, and current pages
|
||||
- remove old status bar
|
||||
- Add in markdown editor
|
||||
- Add bleed snippet (bump)
|
||||
- Add the '/new' page and force save to reduce database size
|
||||
@@ -14,6 +15,8 @@ X Test the old/small brew filtering for deleteion
|
||||
- Partial rendering kills style tags on unrendered pages. Detect if pages have style tags and render them.
|
||||
- Add in the link of Pateron?
|
||||
|
||||
- Add in a tutorial page?
|
||||
|
||||
## v1.6
|
||||
- Add error handling to the saving wdiget in the status bar
|
||||
- Should provide error dump to copy and a link to github issues page
|
||||
|
||||
Reference in New Issue
Block a user