aegisnode 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,183 @@
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><%= appName %> | AegisNode</title>
7
+ <style>
8
+ :root {
9
+ --bg: #f2f5f8;
10
+ --ink: #122031;
11
+ --muted: #4a5a6d;
12
+ --card: #ffffff;
13
+ --line: #dbe4ee;
14
+ --accent: #1473e6;
15
+ --accent-soft: #e9f2ff;
16
+ }
17
+
18
+ * { box-sizing: border-box; }
19
+
20
+ body {
21
+ margin: 0;
22
+ min-height: 100vh;
23
+ font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
24
+ color: var(--ink);
25
+ background:
26
+ radial-gradient(circle at 10% 0%, #dce9ff 0%, transparent 36%),
27
+ radial-gradient(circle at 100% 100%, #d4ffe6 0%, transparent 32%),
28
+ var(--bg);
29
+ display: grid;
30
+ place-items: center;
31
+ padding: 24px;
32
+ }
33
+
34
+ .shell {
35
+ width: min(860px, 100%);
36
+ border: 1px solid var(--line);
37
+ border-radius: 20px;
38
+ overflow: hidden;
39
+ background: var(--card);
40
+ box-shadow: 0 22px 64px rgba(17, 35, 58, 0.12);
41
+ }
42
+
43
+ .head {
44
+ padding: 20px 24px;
45
+ border-bottom: 1px solid var(--line);
46
+ background:
47
+ linear-gradient(135deg, #ffffff 0%, #f8fbff 55%, #f2f8ff 100%);
48
+ display: flex;
49
+ justify-content: space-between;
50
+ align-items: center;
51
+ gap: 12px;
52
+ }
53
+
54
+ .badge {
55
+ display: inline-flex;
56
+ align-items: center;
57
+ gap: 6px;
58
+ padding: 6px 10px;
59
+ border-radius: 999px;
60
+ border: 1px solid #c9ddfb;
61
+ background: var(--accent-soft);
62
+ font-size: 12px;
63
+ color: #0c4e9a;
64
+ letter-spacing: 0.02em;
65
+ text-transform: uppercase;
66
+ font-weight: 700;
67
+ }
68
+
69
+ .dot {
70
+ width: 8px;
71
+ height: 8px;
72
+ border-radius: 999px;
73
+ background: #18a957;
74
+ box-shadow: 0 0 0 4px #dcf7e8;
75
+ flex-shrink: 0;
76
+ }
77
+
78
+ .body {
79
+ padding: 28px 24px 22px;
80
+ }
81
+
82
+ h1 {
83
+ margin: 0 0 12px;
84
+ line-height: 1.2;
85
+ font-size: clamp(28px, 4vw, 40px);
86
+ letter-spacing: -0.02em;
87
+ }
88
+
89
+ p {
90
+ margin: 0;
91
+ color: var(--muted);
92
+ line-height: 1.65;
93
+ font-size: 16px;
94
+ }
95
+
96
+ .meta {
97
+ margin-top: 22px;
98
+ display: grid;
99
+ gap: 10px;
100
+ grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
101
+ }
102
+
103
+ .meta-item {
104
+ border: 1px solid var(--line);
105
+ border-radius: 12px;
106
+ padding: 12px 14px;
107
+ background: #fbfdff;
108
+ }
109
+
110
+ .meta-label {
111
+ margin: 0;
112
+ font-size: 11px;
113
+ letter-spacing: 0.08em;
114
+ text-transform: uppercase;
115
+ color: #687a90;
116
+ }
117
+
118
+ .meta-value {
119
+ margin: 4px 0 0;
120
+ font-size: 16px;
121
+ font-weight: 650;
122
+ color: var(--ink);
123
+ word-break: break-word;
124
+ }
125
+
126
+ .cmd {
127
+ margin-top: 18px;
128
+ display: inline-flex;
129
+ align-items: center;
130
+ gap: 8px;
131
+ padding: 10px 14px;
132
+ border-radius: 12px;
133
+ border: 1px solid #cadef7;
134
+ background: #f4f9ff;
135
+ color: #21466e;
136
+ font-size: 14px;
137
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
138
+ }
139
+
140
+ footer {
141
+ border-top: 1px solid var(--line);
142
+ padding: 14px 24px 16px;
143
+ font-size: 13px;
144
+ color: #6d7f95;
145
+ background: #fcfdff;
146
+ }
147
+ </style>
148
+ </head>
149
+ <body>
150
+ <main class="shell">
151
+ <header class="head">
152
+ <div class="badge">
153
+ <span class="dot"></span>
154
+ Framework Online
155
+ </div>
156
+ <strong>AegisNode</strong>
157
+ </header>
158
+
159
+ <section class="body">
160
+ <h1>Install Confirmed</h1>
161
+ <p>
162
+ Your project is running correctly with AegisNode. This page is the default fallback for <code>/</code>.
163
+ Define your own <code>route.get('/')</code> in <code>routes.js</code> to replace it.
164
+ </p>
165
+
166
+ <div class="meta">
167
+ <article class="meta-item">
168
+ <p class="meta-label">Project</p>
169
+ <p class="meta-value"><%= appName %></p>
170
+ </article>
171
+ <article class="meta-item">
172
+ <p class="meta-label">Environment</p>
173
+ <p class="meta-value"><%= env %></p>
174
+ </article>
175
+ </div>
176
+
177
+ <div class="cmd"><%= createAppCommand %></div>
178
+ </section>
179
+
180
+ <footer>Copyright <%= nowYear %> AegisNode</footer>
181
+ </main>
182
+ </body>
183
+ </html>
@@ -0,0 +1,148 @@
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><%= appName %> | Maintenance</title>
7
+ <style>
8
+ :root {
9
+ --bg: #f5f1e8;
10
+ --ink: #1f1a17;
11
+ --muted: #63564e;
12
+ --card: rgba(255, 255, 255, 0.94);
13
+ --line: rgba(31, 26, 23, 0.08);
14
+ --accent: #b5552d;
15
+ }
16
+
17
+ * { box-sizing: border-box; }
18
+
19
+ body {
20
+ margin: 0;
21
+ min-height: 100vh;
22
+ display: grid;
23
+ place-items: center;
24
+ padding: 24px;
25
+ background:
26
+ radial-gradient(circle at 10% 0%, rgba(181, 85, 45, 0.12) 0%, transparent 32%),
27
+ radial-gradient(circle at 100% 100%, rgba(99, 86, 78, 0.14) 0%, transparent 30%),
28
+ var(--bg);
29
+ color: var(--ink);
30
+ font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
31
+ }
32
+
33
+ .shell {
34
+ width: min(760px, 100%);
35
+ background: var(--card);
36
+ border: 1px solid var(--line);
37
+ box-shadow: 0 24px 80px rgba(31, 26, 23, 0.08);
38
+ padding: 28px 24px;
39
+ }
40
+
41
+ .eyebrow {
42
+ display: inline-flex;
43
+ align-items: center;
44
+ gap: 8px;
45
+ margin-bottom: 18px;
46
+ padding: 7px 11px;
47
+ border: 1px solid rgba(181, 85, 45, 0.18);
48
+ background: rgba(181, 85, 45, 0.08);
49
+ color: #7a3518;
50
+ font-size: 12px;
51
+ letter-spacing: 0.08em;
52
+ text-transform: uppercase;
53
+ font-weight: 700;
54
+ }
55
+
56
+ .dot {
57
+ width: 8px;
58
+ height: 8px;
59
+ border-radius: 999px;
60
+ background: var(--accent);
61
+ flex-shrink: 0;
62
+ }
63
+
64
+ h1 {
65
+ margin: 0 0 14px;
66
+ font-size: clamp(30px, 4.4vw, 44px);
67
+ line-height: 1.1;
68
+ letter-spacing: -0.03em;
69
+ }
70
+
71
+ p {
72
+ margin: 0;
73
+ color: var(--muted);
74
+ line-height: 1.7;
75
+ font-size: 16px;
76
+ }
77
+
78
+ .meta {
79
+ margin-top: 22px;
80
+ display: grid;
81
+ gap: 12px;
82
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
83
+ }
84
+
85
+ .meta-item {
86
+ padding: 12px 14px;
87
+ border: 1px solid var(--line);
88
+ background: rgba(255, 255, 255, 0.8);
89
+ }
90
+
91
+ .meta-label {
92
+ margin: 0;
93
+ font-size: 11px;
94
+ letter-spacing: 0.08em;
95
+ text-transform: uppercase;
96
+ color: #846f63;
97
+ }
98
+
99
+ .meta-value {
100
+ margin: 6px 0 0;
101
+ font-size: 16px;
102
+ font-weight: 650;
103
+ color: var(--ink);
104
+ word-break: break-word;
105
+ }
106
+
107
+ footer {
108
+ margin-top: 18px;
109
+ font-size: 13px;
110
+ color: #7b6e67;
111
+ }
112
+ </style>
113
+ </head>
114
+ <body>
115
+ <main class="shell">
116
+ <div class="eyebrow">
117
+ <span class="dot"></span>
118
+ Maintenance Mode
119
+ </div>
120
+
121
+ <h1>We&apos;ll be back soon.</h1>
122
+ <p><%= appName %> is temporarily unavailable while maintenance is in progress.</p>
123
+
124
+ <div class="meta">
125
+ <section class="meta-item">
126
+ <p class="meta-label">Environment</p>
127
+ <p class="meta-value"><%= env %></p>
128
+ </section>
129
+ <section class="meta-item">
130
+ <p class="meta-label">Requested Path</p>
131
+ <p class="meta-value"><%= requestPath %></p>
132
+ </section>
133
+ <section class="meta-item">
134
+ <p class="meta-label">Status</p>
135
+ <p class="meta-value"><%= statusCode %></p>
136
+ </section>
137
+ <% if (retryAfter) { %>
138
+ <section class="meta-item">
139
+ <p class="meta-label">Retry After</p>
140
+ <p class="meta-value"><%= retryAfter %></p>
141
+ </section>
142
+ <% } %>
143
+ </div>
144
+
145
+ <footer>Copyright <%= nowYear %> AegisNode</footer>
146
+ </main>
147
+ </body>
148
+ </html>