Skip to content

Commit

Permalink
Arrumando o Deploy
Browse files Browse the repository at this point in the history
### Deploy com GitHub Pages: Utilizando Caminhos Relativos

Após estudos sobre o processo de deploy, especialmente no contexto do GitHub Pages, descobrimos que ao utilizar um arquivo `index.html` na raiz do repositório local, é fundamental evitar o uso de caminhos absolutos para referenciar arquivos como CSS, imagens e scripts. Em vez disso, devemos adotar **caminhos relativos
  • Loading branch information
Ninja-Haiyai committed Aug 20, 2024
1 parent b7af85c commit 9eee895
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Gastos DF</title>
<link rel="stylesheet" href="/web/css/style.css" />
<link rel="stylesheet" href="css/style.css" />
<link href="https://unpkg.com/[email protected]/css/boxicons.min.css" />
<link rel="icon" href="/web/imagens/favicon.png" type="image/x-icon">
<link rel="icon" href="imagens/favicon.png" type="image/x-icon">
</head>
<body>
<div class="main">
<!-- Navbar -->
<div class="navbar">
<div class="menu">
<ul>
<img id="logo_gastos" src="/web/imagens/favicon.png" />
<img id="logo_gastos" src="imagens/favicon.png" />
<li>
<a href="index.html"><h2 id="botao1">Início</h2></a>
</li>
Expand All @@ -30,7 +30,7 @@

<!-- Logo -->
<div class="logo_container">
<img src="/web/imagens/simbolo.png" alt="Logo do gastos DF" />
<img src="imagens/simbolo.png" alt="Logo do gastos DF" />
</div>

<!-- Content -->
Expand Down

0 comments on commit 9eee895

Please sign in to comment.