Skip to content

Commit

Permalink
add paged package from demo
Browse files Browse the repository at this point in the history
  • Loading branch information
dmca-glasgow committed Nov 11, 2024
1 parent 6376f61 commit 498b091
Show file tree
Hide file tree
Showing 34 changed files with 6,076 additions and 0 deletions.
25 changes: 25 additions & 0 deletions packages/paged/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local
_pagedjsBin

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
43 changes: 43 additions & 0 deletions packages/paged/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0" />
<style>
@import url('/src/styles/index.scss');
</style>
<script type="module" src="/src/main.ts"></script>

<title>Vite + TS</title>
</head>
<body>
<div class="actions">
<button class="web-btn active">Web</button>
<label class="pages-enabled">
<input type="checkbox" checked />
Print view enabled
</label>
<button class="pages-btn">Pages</button>
<select class="layout-select">
<option>Single</option>
<option selected>Double</option>
</select>
<select class="paper-select">
<option selected>A4</option>
<option>Letter</option>
<option>Legal</option>
</select>
<button class="print-btn">Print</button>
</div>
<main>
<div class="app show">
<h1>Hey!</h1>
</div>
<div class="print-view">
<div class="pages double"></div>
</div>
</main>
</body>
</html>
Loading

0 comments on commit 498b091

Please sign in to comment.