Skip to content

Instantly share code, notes, and snippets.

View Showrin's full-sized avatar

Showrin Barua Showrin

View GitHub Profile
Showrin / MetaWrapper.jsx
Last active April 19, 2023 05:17
A component that implements basic SEO to any NextJS app
View MetaWrapper.jsx
import Head from 'next/head';
import PropTypes from 'prop-types';
const MetaWrapper = (props) => {
const {
View shortCircuitTest.js
let printHello = true;
printHello && console.log("Hello");
printHello = false;
printHello && console.log("Hello");
Showrin /
Created December 4, 2020 05:48 — forked from justincy/
Configure Storybook to work with Next.js, TypeScript, and CSS Modules

In addition to the Storybook for React setup, you'll also need to install these packages:

npm i -D @babel/core babel-loader css-loader style-loader
Showrin / reset.css
Created December 3, 2020 16:08 — forked from DavidWells/reset.css
CSS reset. Follow me on the twitters for more tips:
View reset.css
v2.0-modified | 20110126
License: none (public domain)
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,