Skip to content

Instantly share code, notes, and snippets.

View josephbona's full-sized avatar

Joseph Bona josephbona

View GitHub Profile
@josephbona
josephbona / fetch.js
Created January 19, 2023 17:03
Pink Whitney Products
// Graphql query
const gql = `
{
collection(handle: "the-pink-whitney") {
products(first: 5, sortKey: BEST_SELLING) {
edges {
node {
title
handle
description
@josephbona
josephbona / main-product.liquid
Last active June 4, 2022 23:40
Dawn Product Gallery
{% comment %}theme-check-disable TemplateLength{% endcomment %}
{{ 'section-main-product.css' | asset_url | stylesheet_tag }}
{{ 'component-accordion.css' | asset_url | stylesheet_tag }}
{{ 'component-badge.css' | asset_url | stylesheet_tag }}
{{ 'component-price.css' | asset_url | stylesheet_tag }}
{{ 'component-rte.css' | asset_url | stylesheet_tag }}
{{ 'component-slider.css' | asset_url | stylesheet_tag }}
<link rel="stylesheet" href="{{ 'component-cart-notification.css' | asset_url }}" media="print" onload="this.media='all'">
<link rel="stylesheet" href="{{ 'component-deferred-media.css' | asset_url }}" media="print" onload="this.media='all'">

Sept 11 Contest Notes

Pregame

Error specifies market ID. Generic “This market/bet is no longer available” would be better

First Inning

First inning results were late. Manually resulted by chalkline but after 2nd inning started.

Bets Config Backup

{
  "alert_banner": {},
  "navigation": {
    "store": {
      "image": {
        "title": "Barstool Bets Merch",
        "href": "https://store.barstoolsports.com/collections/barstool-bets",
        "slug": "",
@josephbona
josephbona / subbrands-api.md
Last active November 16, 2017 22:29
Fleshing out subbrands endpoints

Subbrands API

GET /brands

Returns a list of brands.

GET /brands/featured

Returns an object. stories key will be an array of 3 most recent brand stories for the featured carousel on iOS all brands screen.

Why is this change necessary?

  • When there are no comments on a story it is a bad UX. Something looks off and it's not clear what to do as a user.

How does it address the issue?

  • Add a message and show the form if there are no comments (unless comments are closed)
  • If there are < 3 comments, show the form

Before

screen shot 2017-07-18 at 10 56 29 am

Why is this change necessary?

  • When there are no comments on a story it is a bad UX. Something looks off and it's not clear what to do as a user.

How does it address the issue?

  • Add a message and show the form if there are no comments (unless comments are closed)
  • If there are < 3 comments, show the form

Before

screen shot 2017-07-18 at 10 56 29 am

Why is this change necessary?

  • When there are no comments on a story it is a bad UX. Something looks off and it's not clear what to do as a user.

How does it address the issue?

  • Add a message and show the form if there are no comments (unless comments are closed)
  • If there are < 3 comments, show the form

Before

screen shot 2017-07-18 at 10 56 29 am

Venues

STEWARD MANOR COUNTRY CLUB- GARDEN CITY

  • $85-$130 per person- 100 minimum
  • Oct 13, 20
  • Nov 15 22 29
  • $40 vendor meals
  • After 100 minimum kids 50% off

Bridgeview yacht club

  • Left a message for Jen

General

  • learn more buttons should not be images
    • same with our services titles
  • Click to call button on mobile
  • Overall the responsive looks good though
  • horizontal scroll bar for some reason
  • shouldn't be styling by ID (i.e. #home-cta)
  • overall good usage of Bootstrap
    • shouldn't be explicitly stating .col-sm-12 or .col-xs-12