Skip to content

Instantly share code, notes, and snippets.

Henrique Cavalieri hcavalieri

Block or report user

Report or block hcavalieri

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hcavalieri
hcavalieri / fetching-data-sanity-preview.md
Created Sep 17, 2018
My implementation of fetching data from Sanity for live-previewing on a Gatsby site. Extension of my guide on https://henrique.codes
View fetching-data-sanity-preview.md

Fetching and subscribing to data from Sanity

const sanityClient = require('@sanity/client');
const imageUrlBuilder = require('@sanity/image-url');

// I store my query in another file for reusability with
// the `gatsby-source-plugin`
const modularQueries = require('../../../../sanityQueries/modularQuery.js');
import { removeWhitespace } from '../../../utils/strings';
View FeedbackNataFront.md

Feedback front Nata

CSS e afins

[🔔 NOVA] Incluir mais "fallbacks" para as fontes

Primeiramente, mandaram muito em aplicar as mudanças propostas! O que acharam, fez sentido?

Uma coisa que percebi nessa implementação foi que vocês só incluiram a sans-serif como fonte "fallback" pro heading:

You can’t perform that action at this time.