Make website work properly when opened as a file in the browser.
This commit is contained in:
16
index.html
16
index.html
@@ -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">Про нас</a>
|
||||
<a href="./index.html" 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">Про нас</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- Content -->
|
||||
<main>
|
||||
<section class="hero">
|
||||
<img src="/images/hero-image.png" alt="Hero image. AI-Generated." class="section-image">
|
||||
<img src="./images/hero-image.png" alt="Hero image. AI-Generated." class="section-image">
|
||||
<h1>Інновації, що змінюють майбутнє</h1>
|
||||
<p>
|
||||
Ми поєднуємо технології, досвід та креативність, щоб створювати рішення,
|
||||
@@ -52,7 +52,7 @@
|
||||
ІТ, бізнес-аналітики та дизайну. Ми прагнемо зробити ваш бізнес
|
||||
успішним у цифрову епоху.
|
||||
</p>
|
||||
<a href="/pages/about.html" class="link-more">Детальніше про нас →</a>
|
||||
<a href="./pages/about.html" class="link-more">Детальніше про нас →</a>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user