Skip to content

Instantly share code, notes, and snippets.

@vertis
Created January 9, 2019 15:39
Show Gist options
  • Save vertis/14f1c11fbcba4f22cd6d2fb5c4692ddb to your computer and use it in GitHub Desktop.
Save vertis/14f1c11fbcba4f22cd6d2fb5c4692ddb to your computer and use it in GitHub Desktop.
import React from "react"
import styled from "styled-components"
const AdWrapper = styled.div`
text-align: center;
margin: 1em;
`
const AdFrame = styled.iframe`
border: 0;
width: 320px;
height: 144px;
`
export default () => (
<AdWrapper>
<AdFrame src="https://makerads.xyz/ad" />
</AdWrapper>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment