Skip to content

Instantly share code, notes, and snippets.

import React, { useEffect, useState } from 'react';
function Card({ title, text, target, linkTitle, href, rel, onClick }) {
return (
<div className="card">
<div className="card__title">{title}</div>
<div className="card__text">{text}</div>
<a className={`default-link card__link`} target={target} rel={rel} href={href} onClick={onClick}>
@veektrie
veektrie / .git...HEAD
Created June 30, 2023 08:03
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.26+commit.4563c3fc.js&optimize=false&runs=200&gist=
ref: refs/heads/main