Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 120 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<!DOCTYPE html>
<html>
<head>
<title>LinguaRecorder Demos</title>
<meta charset="utf-8"/>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: Arial, sans-serif;
padding: 20px;
background-color: #f5f5f5;
}

h1 {
text-align: center;
margin-bottom: 30px;
color: #333;
}

.grid-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 20px;
max-width: 1400px;
margin: 0 auto;
}

.demo-item {
background: white;
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.demo-title {
background: #4a5568;
color: white;
padding: 10px 15px;
font-size: 14px;
font-weight: bold;
}

.iframe-wrapper {
width: 100%;
height: 400px;
overflow: hidden;
position: relative;
background: white;
}

.demo-item iframe {
width: 200%;
height: 200%;
border: none;
transform: scale(0.5);
transform-origin: 0 0;
}
</style>
</head>
<body>
<h1>LinguaRecorder Demo Collection</h1>

<div class="grid-container">
<div class="demo-item">
<div class="demo-title">simple.html</div>
<div class="iframe-wrapper">
<iframe src="simple.html" title="Simple LinguaRecorder demo" sandbox="allow-scripts allow-same-origin allow-forms"></iframe>
</div>
</div>

<div class="demo-item">
<div class="demo-title">list.html</div>
<div class="iframe-wrapper">
<iframe src="list.html" title="Word list demo" sandbox="allow-scripts allow-same-origin allow-forms"></iframe>
</div>
</div>

<div class="demo-item">
<div class="demo-title">list-dynamic.html</div>
<div class="iframe-wrapper">
<iframe src="list-dynamic.html" title="Dynamic word list demo" sandbox="allow-scripts allow-same-origin allow-forms"></iframe>
</div>
</div>

<div class="demo-item">
<div class="demo-title">list-micro.html</div>
<div class="iframe-wrapper">
<iframe src="list-micro.html" title="Micro word list demo" sandbox="allow-scripts allow-same-origin allow-forms"></iframe>
</div>
</div>

<div class="demo-item">
<div class="demo-title">list-mini.html</div>
<div class="iframe-wrapper">
<iframe src="list-mini.html" title="Mini word list demo" sandbox="allow-scripts allow-same-origin allow-forms"></iframe>
</div>
</div>

<div class="demo-item">
<div class="demo-title">list-rtl.html</div>
<div class="iframe-wrapper">
<iframe src="list-rtl.html" title="Right-to-left word list demo" sandbox="allow-scripts allow-same-origin allow-forms"></iframe>
</div>
</div>

<div class="demo-item">
<div class="demo-title">sandbox.html</div>
<div class="iframe-wrapper">
<iframe src="sandbox.html" title="LinguaRecorder sandbox demo" sandbox="allow-scripts allow-same-origin allow-forms"></iframe>
</div>
</div>
</div>
</body>
</html>