-
Notifications
You must be signed in to change notification settings - Fork 0
/
sobre.html
121 lines (99 loc) · 5.13 KB
/
sobre.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="pt-br">
<head>
<!-- Primary Meta Tags -->
<link rel="shortcut icon" href="imgs/icon.png" type="image/x-icon">
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="theme-color" content="#f5f9fa">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- APP MOBILE -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<!-- META TAGS GERAL -->
<title>dyAPI Test - Sobre</title>
<meta name="title" content="dyAPI Test - Sobre">
<meta name="description" content="FERRAMENTA, PARA TESTAR E DOCUMENTAR APIs ☕">
<meta name="keywords" content="dyAPI Test, sobre, dypier, teste, api, json, editor, json editor">
<meta name="robots" content="index, follow">
<meta name="language" content="Portuguese">
<meta name="author" content="dyAPI Test">
<meta name="thumbnail" content="https://dyapitest.vercel.app/.github/preview.png">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://dyapitest.vercel.app/sobre.html">
<meta property="og:title" content="dyAPI Test - sobre">
<meta property="og:description" content="FERRAMENTA, PARA TESTAR E DOCUMENTAR APIs ☕">
<meta property="og:image" content="https://dyapitest.vercel.app/.github/preview.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://dyapitest.vercel.app/sobre.html">
<meta property="twitter:title" content="dyAPI Test - sobre">
<meta property="twitter:description" content="FERRAMENTA, PARA TESTAR E DOCUMENTAR APIs ☕">
<meta property="twitter:image" content="https://dyapitest.vercel.app/.github/preview.png">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BNH8X40C6H"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-BNH8X40C6H');
</script>
<!-- LOCAL -->
<link rel="icon" type="image/x-icon" href="imgs/icon.png">
<link id="styleTema" rel="stylesheet" href="css/light.css">
<link id="styleHighlight" href="highlight/styles/base16/google-light.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/index.css">
<script src="js/cookies.js"></script>
<script src="js/style.js"></script>
<!-- ALERTA MODAL -->
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<!-- MD to html -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/marked.umd.min.js"></script>
</head>
<body class="col center">
<header class="row center" style="justify-content: space-between;">
<span style="width: 100px; margin: 10px"></span>
<nav class="center logo" style="cursor: pointer;" onclick="window.location.href = window.location.origin">
<img src="imgs/icon.png" width="24px" height="24px" />
<h1 style="font-style: italic; font-weight: 24px; color: var(--font-color-logo);">dyAPITest</h1>
</nav>
<select style="width: 100px; margin: 10px;" id="select-tema" onchange="handleSelectionTemaChange()"></select>
<script>optionsSelectTema();</script>
</header>
<script>
async function converterMarkdownParaHTML(markdownTexto) {
const elementoHTML = document.getElementById("conteudoMarkdown");
elementoHTML.innerHTML = marked.parse(markdownTexto);
}
async function carregarArquivoMarkdown() {
try {
const response = await fetch('https://dyapitest.vercel.app/sobre.md', { method: 'GET' });
if (response.ok) {
const markdownTexto = await response.text();
await converterMarkdownParaHTML(markdownTexto);
} else {
console.error("Erro ao carregar o arquivo Markdown.");
}
} catch (error) {
console.error("Erro ao carregar o arquivo Markdown:", error);
}
}
// Chame a função para carregar o arquivo Markdown e converter para HTML quando a página carregar
window.onload = function () {
carregarArquivoMarkdown();
};
</script>
<section class="row center">
<span class="sombra conteudoMarkdown" id="conteudoMarkdown">
<img height="26px" src="https://media.tenor.com/6rspVIGKsQIAAAAi/loading.gif"/></span>
</section>
<BotaoVisitaGithub model="modelo3" link="https://github.com/LucasATS/dyApiTest"></BotaoVisitaGithub>
<script
src="https://cdn.jsdelivr.net/gh/LucasATS/BotaoVisitaGithub@5543a67f6227cb9bdb380625b51983b56a10c9ba/BotaoVisitaGithub.js"></script>
<footer class="footer">
<p style="background-color: var(--bg-color); border-radius: 6px; padding: 6px;">29230723-5v</p>
<p onclick="window.location.href = './'"
style="cursor: pointer; background-color: var(--bg-color-logo); border-radius: 6px; padding: 6px;">home</p>
</footer>
</body>
</html>