Skip to content

Commit a06b99d

Browse files
committed
Update graphics and fix graphics layout
1 parent 3dba732 commit a06b99d

File tree

5 files changed

+24
-4
lines changed

5 files changed

+24
-4
lines changed

images/scan.jpg

4.4 KB
Loading

images/w3c-logo.svg

Lines changed: 1 addition & 0 deletions
Loading

images/webnfc-favicon-simple.png

1.25 KB
Loading

images/webnfc-logo.svg

Lines changed: 1 addition & 0 deletions
Loading

index.html

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<title>Web NFC</title>
55
<meta charset="UTF-8">
6-
<link href="https://raw.githubusercontent.com/google/material-design-icons/master/device/2x_web/ic_nfc_black_48dp.png" rel="icon">
6+
<link rel="icon" type="image/png" href="images/webnfc-favicon-simple.png">
77
<script type="module" src="ndef-record.js"></script>
88
<script src='https://www.w3.org/Tools/respec/respec-w3c' async class=
99
'remove'></script>
@@ -35,6 +35,24 @@
3535
companyURL: "https://intel.com/",
3636
},
3737
],
38+
logos: [
39+
{
40+
src: 'images/w3c-logo.svg',
41+
url: "https://w3.org",
42+
alt: "W3C logo",
43+
width: 95,
44+
height: 68,
45+
id: 'w3c-logo'
46+
},
47+
{
48+
src: 'images/webnfc-logo.svg',
49+
url: "https://w3c.github.io/web-nfc/",
50+
alt: "Web NFC logo",
51+
width: 95,
52+
height: 68,
53+
id: 'webnfc-logo'
54+
}
55+
],
3856
testSuiteURI: "https://wpt.fyi/web-nfc/",
3957
wg: "Web NFC Community Group",
4058
wgURI: "https://www.w3.org/community/web-nfc/",
@@ -113,7 +131,7 @@
113131
<style>
114132
table.simple { border: 1px solid #000; }
115133
table.simple td { border-right: 1px solid #000; }
116-
img { width: 100%; height: auto }
134+
img.illustration { width: 100%; height: auto }
117135
</style>
118136
</head>
119137

@@ -4418,13 +4436,13 @@ <h3>Parsing content</h3>
44184436
some persistent UI while the scanning can happen, for instance a modal
44194437
dialog with the ability to cancel at any point.
44204438
</p>
4421-
<img src="images/scan.jpg">
4439+
<img class="illustration" src="images/scan.jpg">
44224440
<p>
44234441
An implementation could also show the data that is about to be uploaded,
44244442
postpone sharing the read data until the user OK'd it and even show some
44254443
UI allowing the user to select which records to share.
44264444
</p>
4427-
<img src="images/approve.jpg">
4445+
<img class="illustration" src="images/approve.jpg">
44284446
<section> <h4>Reading and writing during a scan</h4>
44294447
<p>
44304448
When the user scans a tag, at that point the web application has access

0 commit comments

Comments
 (0)