Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
074432d9
Commit
074432d9
authored
Feb 25, 2019
by
JJ Kasper
Committed by
Tim Neutkens
Feb 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop images from experimental-amp and with-amp examples (#6446)
parent
6ffc2ffc
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
18 deletions
+0
-18
dog.js
examples/experimental-amp/pages/dog.js
+0
-2
index.js
examples/experimental-amp/pages/index.js
+0
-2
cat.jpg
examples/experimental-amp/static/cat.jpg
+0
-0
dog.jpg
examples/experimental-amp/static/dog.jpg
+0
-0
dog.js
examples/with-amp/pages/dog.js
+0
-7
index.js
examples/with-amp/pages/index.js
+0
-7
cat.jpg
examples/with-amp/static/cat.jpg
+0
-0
dog.jpg
examples/with-amp/static/dog.jpg
+0
-0
No files found.
examples/experimental-amp/pages/dog.js
View file @
074432d9
...
...
@@ -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
...
...
examples/experimental-amp/pages/index.js
View file @
074432d9
...
...
@@ -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
...
...
examples/experimental-amp/static/cat.jpg
deleted
100644 → 0
View file @
6ffc2ffc
39.2 KB
examples/experimental-amp/static/dog.jpg
deleted
100644 → 0
View file @
6ffc2ffc
64.7 KB
examples/with-amp/pages/dog.js
View file @
074432d9
...
...
@@ -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
...
...
examples/with-amp/pages/index.js
View file @
074432d9
...
...
@@ -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 u
p
...
...
examples/with-amp/static/cat.jpg
deleted
100644 → 0
View file @
6ffc2ffc
39.2 KB
examples/with-amp/static/dog.jpg
deleted
100644 → 0
View file @
6ffc2ffc
64.7 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment