Skip to content

Instantly share code, notes, and snippets.

Avatar

Anthony Potdevin apotdevin

View GitHub Profile
@apotdevin
apotdevin / keybase.md
Created Mar 31, 2020
Keybase Verification
View keybase.md

Keybase proof

I hereby claim:

  • I am apotdevin on github.
  • I am apotdevin (https://keybase.io/apotdevin) on keybase.
  • I have a public key whose fingerprint is FE6B FBB2 F044 22C8 9BA1 F5C6 5B15 FA7C 82F2 8CC0

To claim this, I am signing this object:

@apotdevin
apotdevin / PaymentBox.jsx
Created Jan 4, 2019
Final PaymentBox Component
View PaymentBox.jsx
import React from "react";
import { Input, Checkbox, Button, message } from "antd";
export class PaymentBox extends React.Component {
constructor(props) {
super(props);
this.state = {
email: "",
confirm: false
};
@apotdevin
apotdevin / CardGrid.jsx
Last active Jan 4, 2019
Component files from SockShop
View CardGrid.jsx
import React from "react";
import { SockCard } from "./SockCard";
import { Row, Col } from "antd";
export const CardGrid = () => (
<Row type={"flex"} justify={"center"}>
<Col xs={24} sm={24} lg={12} xl={8}>
<SockCard title={"Bitcoin Socks"} coin={"bitcoin"} price={10}/>
</Col>
<Col xs={24} sm={24} lg={12} xl={8}>
@apotdevin
apotdevin / App.js
Created Jan 3, 2019
App file in SockShop
View App.js
import React from "react";
import "./App.css";
import { Link, Route, Switch } from "react-router-dom";
import { CardGrid } from "./components/CardGrid";
import { Layout, Menu } from "antd";
const { Header, Content, Footer } = Layout;
const NotFound = () => <h1>Not Found</h1>;
const Contact = () => <h1>CONTACT ME AT...</h1>;
const Terms = () => <h1>THESE ARE THE TERMS AND CONDITIONS</h1>;