Skip to content

Instantly share code, notes, and snippets.

@sintaxi
Created July 10, 2015 03:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sintaxi/afff3fc849abfcd4cdc9 to your computer and use it in GitHub Desktop.
Save sintaxi/afff3fc849abfcd4cdc9 to your computer and use it in GitHub Desktop.
var m = React.createElement
var Header = React.createClass({
role: 'Header',
render: function(){
return m("header", { role:"banner" },
m("div", { id: "cd-logo" },
m("a", {},
m("img", { src: "img/cd-logo.svg", alt: "Logo" })
)
),
m("nav", { className: "main-nav" },
m("ul", {},
m("li", {}, m("a", { className: "cd-signin", href: "#" }, "Sign In")),
m("li", {}, m("a", { className: "cd-signup", href: "#" }, "Sign Up"))
)
)
)
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment