Skip to content

Instantly share code, notes, and snippets.

View cruznick's full-sized avatar

Benjamin Martinez cruznick

  • Mexico, Mexico City
View GitHub Profile
@cruznick
cruznick / posts.js
Created January 14, 2019 23:10
creating a gist test for css testing
import React from 'react'
import Layout from '../components/Layout'
import { Link, graphql } from 'gatsby'
import SEO from '../components/SEO/SEO'
import { PropTypes } from 'prop-types'
import { Img } from 'gatsby-image'
const Post = ({ data, location }) => {
// data alias
const {
@cruznick
cruznick / Navbar.html
Last active April 5, 2017 07:04
nav bar with center logo and responsive layout
<header class="navigation">
<div class="menu-wrapper">
<a href="{{ site.url }}" class="logo">
<img src="{{ site.url }}/img/{{ site.logo }}" alt="{{ site.title }}">
</a>
<a href="#" class="site-title">{{ site.title}}</a>
<p class="navigation-menu-button" id="js-mobile-menu">&#9776;</p>
<div class="nav">
<ul id="navigation-menu">
<li><a href="#">Inicio</a></li>