Skip to content

Instantly share code, notes, and snippets.

View apotdevin's full-sized avatar

Anthony Potdevin apotdevin

View GitHub Profile
@apotdevin
apotdevin / App.js
Created January 3, 2019 01:49
App file in SockShop
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>;
@apotdevin
apotdevin / CardGrid.jsx
Last active January 4, 2019 14:08
Component files from SockShop
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 / PaymentBox.jsx
Created January 4, 2019 14:10
Final PaymentBox Component
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 / keybase.md
Created March 31, 2020 20:31
Keybase Verification

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: