Skip to content

Instantly share code, notes, and snippets.

View landolabrum's full-sized avatar
🎯
Focusing

landolabrum landolabrum

🎯
Focusing
View GitHub Profile
@landolabrum
landolabrum / .block
Last active December 11, 2017 20:55
Dealer Monetization
license: gpl-3.0
import { useEffect, useState } from "react";
export function useWindowSize() {
const [windowSize, setWindowSize] = useState({
width: undefined,
height: undefined,
});
useEffect(() => {
function handleResize() {
setWindowSize({
This file has been truncated, but you can view the full file.
const icos = {
"fa-octagon-exclamation": {
path: "M482.8 157.1l-127.1-127.9C346.4 20.8 334.1 16 323 16H188.9c-11.84 0-23.32 4.805-31.76 13.24L29.24 157.2C20.8 165.6 16 177 16 188.1v134.2c0 11.84 4.805 23.32 13.24 31.76l127.1 127.9C165.6 491.2 177 496 188.1 496h134.2c11.84 0 23.32-4.805 31.76-13.24l127.9-127.1C491.2 346.4 496 334.1 496 323V188.9C496 177 491.2 165.5 482.8 157.1zM448 321.7L321.8 448H190.3L64 321.8V190.3L190.2 64h131.4L448 190.2V321.7zM256 304c13.25 0 24-10.75 24-24v-128C280 138.8 269.3 128 256 128S232 138.8 232 152v128C232 293.3 242.8 304 256 304zM256 337.1c-17.36 0-31.44 14.08-31.44 31.44C224.6 385.9 238.6 400 256 400s31.44-14.08 31.44-31.44C287.4 351.2 273.4 337.1 256 337.1z",
width: 512,
height: 512
},
"fa-comment-dots": {
path: "M144 208C126.3 208 112 222.2 112 239.1C112 257.7 126.3 272 144 272s31.1-14.25 31.1-32S161.8 208 144 208zM256 207.1c-17.75 0-31.1 14.25-31.1 32s14.25 31.1 31.1 31.1s31.1-14.25 31.1-31.1S273.8 207.1 256 207.1zM368 208c-17.75 0-31.1 14.25-31.1 32s1
@landolabrum
landolabrum / index.html
Created August 5, 2023 13:46
React + styled-components starter template
<div id="app"></div>