Make website work properly when opened as a file in the browser.

This commit is contained in:
2025-09-11 18:37:27 +03:00
parent e42c98866e
commit 2dd53deb70
5 changed files with 42 additions and 42 deletions

View File

@@ -4,24 +4,24 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Про нас » Веб-програмування ПР№1</title>
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="../style.css">
</head>
<body>
<!-- Navbar -->
<nav>
<div class="nav-links">
<a href="/" class="nav-logo"><img src="/images/website-logo.png" alt="Логотип компанії"></a>
<a href="/pages/gallery.html">Галерея</a>
<a href="/pages/articles.html">Статті</a>
<a href="/pages/contacts.html">Контакти</a>
<a href="/pages/about.html"><u>Про нас</u></a>
<a href="../index.html" class="nav-logo"><img src="../images/website-logo.png" alt="Логотип компанії"></a>
<a href="./gallery.html">Галерея</a>
<a href="./articles.html">Статті</a>
<a href="./contacts.html">Контакти</a>
<a href="./about.html"><u>Про нас</u></a>
</div>
</nav>
<!-- Content -->
<main>
<section class="about-hero">
<img src="/images/about-image.png" alt="About us image. AI-Generated." class="section-image">
<img src="../images/about-image.png" alt="About us image. AI-Generated." class="section-image">
<h1>Про нас</h1>
<p>
Наша компанія вже понад 10 років працює на ринку ІТ, створюючи інноваційні рішення