Commit 074432d9 authored by JJ Kasper's avatar JJ Kasper Committed by Tim Neutkens

Drop images from experimental-amp and with-amp examples (#6446)

parent 6ffc2ffc
......@@ -5,7 +5,6 @@ import Byline from '../components/Byline'
export default () => {
const isAmp = useAmp()
const ImageTag = isAmp ? 'amp-img' : 'img'
return (
<div>
<Head>
......@@ -13,7 +12,6 @@ export default () => {
</Head>
<h1>The Dog</h1>
<Byline author='Meow Meow Fuzzyface' />
<ImageTag src='/static/dog.jpg' width='470' height='350' alt='Woof' />
<p>
<a href={isAmp ? '/dog' : '/dog?amp=1'}>
{isAmp ? 'View Non-AMP' : 'View AMP'} Version
......
......@@ -5,7 +5,6 @@ import Byline from '../components/Byline'
export default () => {
const isAmp = useAmp()
const ImageTag = isAmp ? 'amp-img' : 'img'
return (
<>
<Head>
......@@ -13,7 +12,6 @@ export default () => {
</Head>
<h1>The Cat</h1>
<Byline author='Dan Zajdband' />
<ImageTag src='/static/cat.jpg' width='470' height='350' alt='Meow' />
<p>
<a href={isAmp ? '/' : '/?amp=1'}>
{isAmp ? 'View Non-AMP' : 'View AMP'} Version
......
......@@ -8,13 +8,6 @@ export default () => (
</Head>
<h1>The Dog</h1>
<Byline author='Meow Meow Fuzzyface' />
<amp-img
src='/static/dog.jpg'
width='470'
height='350'
layout='responsive'
alt='Woof'
/>
<p className='caption'>Woooooooooooof</p>
<p>
Wafer donut candy soufflé lemon drops icing. Marzipan gummi bears pie
......
......@@ -8,13 +8,6 @@ export default () => (
</Head>
<h1>The Cat</h1>
<Byline author='Dan Zajdband' />
<amp-img
src='/static/cat.jpg'
width='470'
height='350'
layout='responsive'
alt='Meow'
/>
<p className='caption'>Meowwwwwwww</p>
<p>
Cat ipsum dolor <a href='/dog'>sit amet</a>, eat grass, throw it back up
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment