mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-31 04:22:44 +00:00
yay for waindows pathing
This commit is contained in:
BIN
shared/naturalcrit2/logo/CODE Bold.otf
Normal file
BIN
shared/naturalcrit2/logo/CODE Bold.otf
Normal file
Binary file not shown.
BIN
shared/naturalcrit2/logo/CODE Light.otf
Normal file
BIN
shared/naturalcrit2/logo/CODE Light.otf
Normal file
Binary file not shown.
21
shared/naturalcrit2/logo/logo.jsx
Normal file
21
shared/naturalcrit2/logo/logo.jsx
Normal file
@@ -0,0 +1,21 @@
|
||||
var React = require('react');
|
||||
var Icon = require('naturalcrit/icon.svg.jsx');
|
||||
|
||||
var Logo = React.createClass({
|
||||
getDefaultProps: function() {
|
||||
return {
|
||||
hoverSlide : false
|
||||
};
|
||||
},
|
||||
|
||||
render : function(){
|
||||
return <a className='logo' {... this.props} href='/'>
|
||||
<Icon />
|
||||
<span className='name'>
|
||||
Natural<span className='crit'>Crit</span>
|
||||
</span>
|
||||
</a>
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = Logo;
|
||||
38
shared/naturalcrit2/logo/logo.less
Normal file
38
shared/naturalcrit2/logo/logo.less
Normal file
@@ -0,0 +1,38 @@
|
||||
@font-face {
|
||||
font-family : CodeLight;
|
||||
src : url('/assets/naturalCrit/logo/CODE Light.otf');
|
||||
}
|
||||
@font-face {
|
||||
font-family : CodeBold;
|
||||
src : url('/assets/naturalCrit/logo/CODE Bold.otf');
|
||||
}
|
||||
|
||||
|
||||
.logo{
|
||||
color : white;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
|
||||
svg{
|
||||
//vertical-align : middle;
|
||||
height : 0.9em;
|
||||
margin-right : 0.2em;
|
||||
cursor : pointer;
|
||||
fill : white;
|
||||
}
|
||||
|
||||
span.name{
|
||||
//font-size: 1em;
|
||||
//line-height: 0.3em;
|
||||
font-family : 'CodeLight';
|
||||
span.crit{
|
||||
font-family : 'CodeBold';
|
||||
}
|
||||
small{
|
||||
font-size: 0.3em;
|
||||
font-family : 'Open Sans';
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user