Skip to content

Instantly share code, notes, and snippets.

View RafaelDavisH's full-sized avatar
🏠
Working from home

Rafael D. Hernandez RafaelDavisH

🏠
Working from home
View GitHub Profile
@RafaelDavisH
RafaelDavisH / Alerts2.js
Last active September 1, 2020 18:07
Reusable Alert Component styled with TailwindCSS
import React from "react";
const Alert = ({ children, className = "", style, alertType, ...rest }) => {
const alertTypes = {
error: [
{
textColor: "text-red-700",
bgColor: "bg-red-100",
borderColor: "border-red-400"
}
@RafaelDavisH
RafaelDavisH / Alert.js
Last active September 1, 2020 20:20
Reusable TailwindCSS Styled Alert Component with className. Its meant to work with TaildwindCSS and GatsbyJS.
import React from "react";
const Alert = ({ children, className = "", style, alertType, ...rest }) => {
const alertTypes = {
error: [
{
textColor: "text-red-700",
bgColor: "bg-red-100",
borderColor: "border-red-400"
}
@RafaelDavisH
RafaelDavisH / Base_cs.txt
Last active December 21, 2020 18:03
Base_cs Club schedule and links
Learning Goal: Learn the basics of computer science with Base_cs series
Learning Curriculum:
Schedule its based on the first link, a compiled list of base_cs series content. The rest of links are other forms of the content to support our learning
- Github Repo
Link: https://github.com/vaidehijoshi/basecs-series
- Podcast
Link: https://overcast.fm/itunes1304168963/base-cs-podcast
@RafaelDavisH
RafaelDavisH / meta-tags.json
Last active August 16, 2022 01:31
prep curriculum for launch
{
// Translate below keys' value 👇🏼.
// e.i. "title" : "<TRANSLATION>"
"title": "Learn to Code — For Free — Coding Courses for Busy People",
"description": "Learn to Code — For Free",
"social-description": "Learn to Code — For Free",
// ONLY translate above strings 👆🏼
"keywords": [
"python",
"javascript",