-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
236777e
commit 6d4d39d
Showing
16 changed files
with
8,495 additions
and
6,271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,70 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta name="theme-color" content="#0070e0" /> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="theme-color" content="#0070e0"> | ||
|
||
<link href="src/reset.css" rel="stylesheet"> | ||
<link href="src/style.css" rel="stylesheet"> | ||
|
||
<title>Medium Zoom | Dropbox Paper Demo</title> | ||
</head> | ||
|
||
<body> | ||
<template id="template-dropbox-paper"> | ||
<div class="paper-wrapper"> | ||
<section class="paper-main" data-zoom-close> | ||
<header class="paper-header"> | ||
<svg class="paper-close" data-zoom-close viewBox="0 0 24 24"> | ||
<path d="M8.817 7.403a1 1 0 0 0-1.414 1.414L10.586 12l-3.183 3.183a1 1 0 0 0 1.414 1.415L12 13.415l3.183 3.183a1 1 0 0 0 1.415-1.415L13.415 12l3.183-3.183a1 1 0 0 0-1.415-1.414L12 10.586 8.817 7.403z" | ||
fill-rule="evenodd"></path> | ||
</svg> | ||
</header> | ||
<div class="paper-container" data-zoom-container></div> | ||
</section> | ||
<aside class="paper-sidebar"> | ||
<header class="paper-sidebar__header"> | ||
<textarea class="paper-sidebar__textarea" rows="1" placeholder="Write a caption"></textarea> | ||
</header> | ||
<section class="paper-sidebar__content"> | ||
<textarea class="paper-sidebar__textarea paper-sidebar__textarea_comment" rows="1" placeholder="New comment"></textarea> | ||
</section> | ||
</aside> | ||
</div> | ||
</template> | ||
<link href="src/reset.css" rel="stylesheet" /> | ||
<link href="src/style.css" rel="stylesheet" /> | ||
|
||
<title>Medium Zoom | Dropbox Paper Demo</title> | ||
</head> | ||
|
||
<article class="container"> | ||
<h1>Dropbox Paper Demo</h1> | ||
<body> | ||
<template id="template-dropbox-paper"> | ||
<div class="paper-wrapper"> | ||
<section class="paper-main" data-zoom-close> | ||
<header class="paper-header"> | ||
<svg class="paper-close" data-zoom-close viewBox="0 0 24 24"> | ||
<path | ||
d="M8.817 7.403a1 1 0 0 0-1.414 1.414L10.586 12l-3.183 3.183a1 1 0 0 0 1.414 1.415L12 13.415l3.183 3.183a1 1 0 0 0 1.415-1.415L13.415 12l3.183-3.183a1 1 0 0 0-1.415-1.414L12 10.586 8.817 7.403z" | ||
fill-rule="evenodd" | ||
></path> | ||
</svg> | ||
</header> | ||
<div class="paper-container" data-zoom-container></div> | ||
</section> | ||
<aside class="paper-sidebar"> | ||
<header class="paper-sidebar__header"> | ||
<textarea | ||
class="paper-sidebar__textarea" | ||
rows="1" | ||
placeholder="Write a caption" | ||
></textarea> | ||
</header> | ||
<section class="paper-sidebar__content"> | ||
<textarea | ||
class="paper-sidebar__textarea paper-sidebar__textarea_comment" | ||
rows="1" | ||
placeholder="New comment" | ||
></textarea> | ||
</section> | ||
</aside> | ||
</div> | ||
</template> | ||
|
||
<img src="src/images/image-1.jpg" alt="Zoom 1 with Dropbox Paper template"> | ||
<article class="container"> | ||
<h1>Dropbox Paper Demo</h1> | ||
|
||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tempora praesentium cupiditate fugit voluptas, rem eligendi, voluptatem | ||
molestias pariatur atque amet, dicta, similique beatae optio quos! Hic necessitatibus dicta magni, tempore. | ||
</p> | ||
<img | ||
src="src/images/image-1.jpg" | ||
alt="Zoom 1 with Dropbox Paper template" | ||
/> | ||
|
||
<img src="src/images/image-2.jpg" alt="Zoom 2 with Dropbox Paper template"> | ||
</article> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Tempora | ||
praesentium cupiditate fugit voluptas, rem eligendi, voluptatem | ||
molestias pariatur atque amet, dicta, similique beatae optio quos! Hic | ||
necessitatibus dicta magni, tempore. | ||
</p> | ||
|
||
<script src="src/index.js"></script> | ||
</body> | ||
<img | ||
src="src/images/image-2.jpg" | ||
alt="Zoom 2 with Dropbox Paper template" | ||
/> | ||
</article> | ||
|
||
<script src="src/index.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,6 @@ | |
"medium-zoom": "1.0.4" | ||
}, | ||
"devDependencies": { | ||
"parcel-bundler": "1.11.0" | ||
"parcel-bundler": "1.12.4" | ||
} | ||
} |
Oops, something went wrong.