https://www.oldbookillustrations.com/
https://unsplash.com/images/stock/public-domain
gcloud sql instances create commerce-sql-00 --database-version=POSTGRES_12 --tier db-f1-micro --region europe-west2
gcloud sql users set-password postgres --instance=commerce-sql-00 --prompt-for-password
gcloud sql instances describe commerce-sql-00 --format="value(connectionName)"
Setting up DB to be pushed and deployed easy peasy
Log in to Google Cloud console
Set up Cloud SQL proxy PostgreSQL
import React, { useState } from "react"; | |
import styles from "./Header.module.css"; | |
import { motion } from "framer-motion"; | |
import theme from "tailwindcss/defaultTheme"; | |
import MenuToggle from "./MenuToggle"; | |
import SvgIcon from "./SvgIcon"; | |
import { Link } from "gatsby"; | |
const Header = () => { | |
// const [variant, setVariant] = useState("closed") |
blabla |
const itemsJson = require('./items.json'); | |
const FS = require('fs'); | |
const PATH = require('path') | |
const SVGO = require('svgo'); | |
const svgo = new SVGO(); | |
let out = itemsJson.map((itemJson) => { | |
let imagePath = itemJson["imagePath"] |
I hereby claim:
To claim this, I am signing this object: