Add favicon

This commit is contained in:
Gokalp Sen 2024-12-07 00:13:43 +03:00
parent 960512ecbc
commit 512f696734
2 changed files with 10 additions and 1 deletions

8
favicon.svg Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="28" height="28" version="1.1" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
<!-- Gray rounded square background -->
<rect x="2" y="2" width="28" height="28" rx="6" ry="6" fill="#2d2d2d"/>
<!-- Purple GsD text -->
<text x="16" y="21" fill="#bb86fc" font-family="'Segoe UI', sans-serif" font-size="14px" font-weight="bold" text-anchor="middle">GsD</text>
</svg>

After

Width:  |  Height:  |  Size: 442 B

View file

@ -4,13 +4,14 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GsDistance</title> <title>GsDistance</title>
<link rel="icon" type="image/svg+xml" href="favicon.svg">
<link rel="stylesheet" href="css/style.css"> <link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="http://storage.gsdistance.org//store/icons/css/all.min.css"> <link rel="stylesheet" href="http://storage.gsdistance.org//store/icons/css/all.min.css">
</head> </head>
<body> <body>
<header> <header>
<nav class="navbar"> <nav class="navbar">
<div class="logo">GsDistance</div> <img src="favicon.svg" alt="GsDistance" width="50" height="50">
<div class="nav-links"> <div class="nav-links">
<a href="#about">About</a> <a href="#about">About</a>
<a href="#services">Services</a> <a href="#services">Services</a>