laespina commited on
Commit
fe126ea
·
verified ·
1 Parent(s): b96c2eb

Render org README in static page

Browse files
Files changed (1) hide show
  1. index.html +93 -18
index.html CHANGED
@@ -1,19 +1,94 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="pt-BR">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Licinexus — Infraestrutura de IA vertical em Licitação Pública</title>
7
+ <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
8
+ <style>
9
+ :root {
10
+ --bg: #0a0f28;
11
+ --bg-soft: #0f1535;
12
+ --fg: #e2e8f0;
13
+ --muted: #94a3b8;
14
+ --accent: #2968ed;
15
+ --accent-light: #60a5fa;
16
+ --border: rgba(255,255,255,0.08);
17
+ --card: rgba(255,255,255,0.03);
18
+ }
19
+ * { box-sizing: border-box; }
20
+ body {
21
+ margin: 0;
22
+ font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
23
+ background: var(--bg);
24
+ color: var(--fg);
25
+ line-height: 1.7;
26
+ padding: 24px 16px;
27
+ }
28
+ .container {
29
+ max-width: 980px;
30
+ margin: 0 auto;
31
+ }
32
+ h1 { font-size: 2.2rem; line-height: 1.2; margin: 1.5rem 0 1rem; letter-spacing: -0.02em; color: #fff; }
33
+ h2 { font-size: 1.55rem; margin: 2.5rem 0 1rem; color: #fff; border-bottom: 1px solid var(--border); padding-bottom: 0.4rem; }
34
+ h3 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; color: var(--accent-light); }
35
+ p { margin: 0.8rem 0; color: var(--fg); }
36
+ a { color: var(--accent-light); text-decoration: none; }
37
+ a:hover { text-decoration: underline; }
38
+ blockquote {
39
+ border-left: 3px solid var(--accent);
40
+ padding: 0.6rem 1.2rem;
41
+ margin: 1.2rem 0;
42
+ color: var(--muted);
43
+ background: var(--card);
44
+ border-radius: 0 8px 8px 0;
45
+ }
46
+ table {
47
+ width: 100%;
48
+ border-collapse: collapse;
49
+ margin: 1rem 0 1.5rem;
50
+ font-size: 0.95rem;
51
+ background: var(--card);
52
+ border-radius: 8px;
53
+ overflow: hidden;
54
+ }
55
+ th, td { padding: 0.7rem 0.9rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
56
+ th { background: var(--bg-soft); color: var(--accent-light); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
57
+ code {
58
+ background: var(--bg-soft);
59
+ padding: 2px 6px;
60
+ border-radius: 4px;
61
+ font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
62
+ font-size: 0.9em;
63
+ color: var(--accent-light);
64
+ }
65
+ pre { background: var(--bg-soft); padding: 1rem; border-radius: 8px; overflow-x: auto; }
66
+ pre code { background: none; padding: 0; color: var(--fg); }
67
+ hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
68
+ ul, ol { padding-left: 1.5rem; }
69
+ li { margin: 0.3rem 0; }
70
+ em { color: var(--muted); }
71
+ strong { color: #fff; }
72
+ #content { opacity: 0; transition: opacity 0.3s; }
73
+ #content.ready { opacity: 1; }
74
+ </style>
75
+ </head>
76
+ <body>
77
+ <div class="container">
78
+ <div id="content">Carregando…</div>
79
+ </div>
80
+ <script>
81
+ fetch('README.md')
82
+ .then(r => r.text())
83
+ .then(md => {
84
+ // Remove o YAML frontmatter
85
+ const cleaned = md.replace(/^---[\s\S]*?---\n*/, '');
86
+ document.getElementById('content').innerHTML = marked.parse(cleaned);
87
+ document.getElementById('content').classList.add('ready');
88
+ })
89
+ .catch(e => {
90
+ document.getElementById('content').innerText = 'Erro ao carregar conteúdo: ' + e.message;
91
+ });
92
+ </script>
93
+ </body>
94
  </html>