Skip to content

Commit 9b3db00

Browse files
authored
Add initial projects.html file with layout and styles
1 parent fb270f5 commit 9b3db00

1 file changed

Lines changed: 74 additions & 0 deletions

File tree

‎projects.html‎

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<title>devtemDesign · Projects</title>
7+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" />
8+
<link rel="stylesheet" href="/css/projects.css">
9+
</head>
10+
<body>
11+
12+
<!-- HEADER -->
13+
<header class="app-header">
14+
<a class="brand" href="index.html"><i class="fas fa-cube"></i> devtemDesign</a>
15+
<span class="sep">/</span>
16+
<span class="sub">Projects</span>
17+
<div class="header-right">
18+
<div class="header-links">
19+
<a href="https://design.devtem.org/docs" target="_blank" rel="noreferrer" title="Docs"><i class="fas fa-book"></i></a>
20+
<a href="https://devtem.org" target="_blank" rel="noreferrer" title="DevTemple"><i class="fas fa-store"></i></a>
21+
</div>
22+
<div class="theme-toggle">
23+
<button class="theme-btn active" id="btn-dark" title="Dark"><i class="fas fa-moon"></i></button>
24+
<button class="theme-btn" id="btn-light" title="Light"><i class="fas fa-sun"></i></button>
25+
</div>
26+
</div>
27+
</header>
28+
29+
<!-- MAIN -->
30+
<main>
31+
<div class="page-top">
32+
<h1><i class="fas fa-folder-open"></i> Projects <span class="proj-count-badge" id="count-badge">0</span></h1>
33+
<a class="new-btn" href="/builder"><i class="fas fa-plus"></i> New page</a>
34+
</div>
35+
36+
<div class="search-bar">
37+
<i class="fas fa-magnifying-glass"></i>
38+
<input type="text" id="search-input" placeholder="Search projects…">
39+
</div>
40+
41+
<div id="empty-state" class="empty-state" style="display:none;">
42+
<i class="fas fa-folder"></i>
43+
<h2>No projects yet</h2>
44+
<p>Generate and save a page in the builder to see it here.</p>
45+
<a class="new-btn" href="/builder"><i class="fas fa-rocket"></i> Open Builder</a>
46+
</div>
47+
48+
<div class="projects-grid" id="projects-grid"></div>
49+
</main>
50+
51+
<!-- PREVIEW MODAL -->
52+
<div class="preview-modal" id="preview-modal">
53+
<div class="modal-bar">
54+
<span class="modal-title" id="modal-title">Preview</span>
55+
<a class="modal-edit-btn" id="modal-edit-btn" href="#"><i class="fas fa-pen"></i> Edit</a>
56+
<button class="modal-export-btn" id="modal-export-btn"><i class="fas fa-download"></i> Export</button>
57+
<button class="modal-close" id="modal-close"><i class="fas fa-times"></i> Close</button>
58+
</div>
59+
<iframe id="modal-frame" sandbox="allow-scripts allow-same-origin" title="Preview"></iframe>
60+
</div>
61+
62+
<!-- FOOTER -->
63+
<footer class="app-footer">
64+
<a href="/builder"><i class="fas fa-arrow-left"></i> Builder</a>
65+
<span class="fsep">·</span>
66+
<a href="https://design.devtem.org/docs" target="_blank" rel="noreferrer"><i class="fas fa-book"></i> docs</a>
67+
<span class="fsep">·</span>
68+
<a href="https://devtem.org" target="_blank" rel="noreferrer"><i class="fas fa-store"></i> DevTemple</a>
69+
</footer>
70+
71+
<script src="/js/projects.js"></script>
72+
</body>
73+
</html>
74+

0 commit comments

Comments
 (0)