Skip to content

Commit

Permalink
added new examples
Browse files Browse the repository at this point in the history
  • Loading branch information
atellmer committed Jan 8, 2024
1 parent 4db4d09 commit 9e09cbb
Show file tree
Hide file tree
Showing 32 changed files with 703 additions and 41 deletions.
41 changes: 0 additions & 41 deletions index.html

This file was deleted.

2 changes: 2 additions & 0 deletions next/10k-rows/build.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions next/10k-rows/build.js.map

Large diffs are not rendered by default.

60 changes: 60 additions & 0 deletions next/10k-rows/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Dark 10k-rows</title>
<style>
* {
box-sizing: border-box;
}
html, body {
position: relative;
width: 100%;
margin: 0;
padding: 0;
}
body {
color: black;
font-family: Arial;
background-color: #222;
color: white;
}
.header {
top: 0;
left: 0;
width: 100%;
height: 64px;
background-color: blueviolet;
display: flex;
align-items: center;
padding: 16px;
}
.selected {
background-color: green;
}
.table {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
}
td {
width: 25%;
border: 1px solid blueviolet;
}
button {
border: 1px solid gray;
padding: 4px;
outline: none;
}
button:hover {
background-color: pink;
}
</style>
</head>
<body>
<div id="root"></div>
<script src="./build.js"></script>
</body>
</html>
2 changes: 2 additions & 0 deletions next/1k-components/build.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions next/1k-components/build.js.map

Large diffs are not rendered by default.

93 changes: 93 additions & 0 deletions next/1k-components/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<title>Dark 1k-components</title>
<style>
html,
body {
padding: 0;
margin: 0;
font-family: sans-serif;
width: 100%;
height: 100%;
background: #111;
color: #777;
}

#root {
height: 100vh;
}

a {
color: #777;
}

.demo {
overflow-x: hidden;
position: relative;
}

.point {
width: 4px;
height: 4px;
position: absolute;
shape-rendering: optimizeSpeed;
}

.controls {
position: fixed;
top: 0;
width: 100%;
padding: 15px;
background: #e41f1c;
border-bottom: 1px solid darkred;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
color: white;
white-space: nowrap;
}

.controls>input {
margin: 0 10px;
width: 50%;
}

.controls label {
margin-left: 30px;
}

#stats {
position: fixed;
top: 0;
right: 0;
}

.about {
position: fixed;
bottom: 0;
width: 100%;
padding: 10px;
}

#app,
.app-wrapper,
.demo {
width: 100%;
height: 100%;
overflow: hidden;
}
</style>
</head>

<body>
<div id="root"></div>
<script src="./build.js"></script>
</body>

</html>
2 changes: 2 additions & 0 deletions next/animated-grid/build.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions next/animated-grid/build.js.map

Large diffs are not rendered by default.

107 changes: 107 additions & 0 deletions next/animated-grid/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Dark animated grid</title>
<style>
* {
box-sizing: border-box;
}

html {
font-size: 14px;
}

html,
body {
position: relative;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}

body {
font-family: sans-serif;
color: #000;
}

#root {
height: 100%;
}

.content {
display: flex;
width: 100%;
height: 100%;
}

.grid {
position: relative;
display: grid;
grid-template-columns: repeat(10, 1fr);
grid-gap: 8px;
width: 100%;
height: 100%;
margin: auto 0;
padding: 8px;
overflow: hidden;
}

.grid-item {
position: relative;
width: 100%;
background-color: #673ab7;
border-radius: 2px;
transform: translateZ(0);
}

.grid-item span {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #fff;
font-size: 2rem;
}

.button-layout {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 8px;
background-color: #fff;
border-radius: 14px;
}

.button {
border: 0;
background-color: #e91e63;
color: #fff;
padding: 16px 32px;
border-radius: 10px;
cursor: pointer;
font-weight: 700;
text-transform: uppercase;
font-family: sans-serif;
line-height: 1.2;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
transition: box-shadow 0.2s ease-in-out;
}

.button:hover {
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
</style>
</head>

<body>
<div id="root"></div>
<script src="./build.js"></script>
</body>

</html>
2 changes: 2 additions & 0 deletions next/deferred-search/build.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions next/deferred-search/build.js.map

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions next/deferred-search/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Dark Deferred Search</title>
<style>
* {
box-sizing: border-box;
}

html,
body {
margin: 0;
padding: 0;
}

body {
font-family: sans-serif;
padding: 16px;
background-color: #222;
color: #fff;
}
</style>
</head>

<body>
<div id="root"></div>
<script src="./build.js"></script>
</body>

</html>
21 changes: 21 additions & 0 deletions next/sierpinski-triangle/build.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions next/sierpinski-triangle/build.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 9e09cbb

Please sign in to comment.