Skip to content

Instantly share code, notes, and snippets.

View gbersac's full-sized avatar

Guillaume Bersac gbersac

  • 42
  • Paris
  • 05:40 (UTC -12:00)
View GitHub Profile
<button class="gf_add-to-cart product-form-product-template button btn gf_button-stretch" id="" name="add" onclick="" type="submit">
<span class="AddToCartText">ADD TO CART</span>
<div class="bk-social-proof-embed">
<!--v-if-->
</div>
<div class="bk-stock-countdown">
<div class="stock-countdown-message">
<div class="message">
<span style="font-family:Arial,Helvetica,sans-serif;font-size:18px;color:#4f5154;text-align:left;">Only 7020 items left in stock!</span>
<!--v-html-->
@gbersac
gbersac / Toggle.tsx
Created January 10, 2022 08:49
A simple toggle for react + jss
import React from "react"
import { createUseStyles, useTheme } from "react-jss"
import { Integer } from "../../model/commonTypes"
import { Theme } from "../../theme"
import { injectStyles, StylableComponent } from "./utils"
const useStyles = createUseStyles((t: Theme) => {
return {
lab: {
export function createOneDocument() {
const data = {
"url": "https://firebasestorage.googleapis.com/v0/b/louvcap-eea66.appspot.com/o/public%2FpdfTemplates%2FpdfBackoffice%2Fneo_bulletin-souscription.pdf?alt=media&token=9e026601-95cf-442c-9533-5e7a4eba8ff1",
"fields": [
{
"text": "true",
"type": "CheckBox",
"pages": "1",
"fieldname": "Check Box27."
},