style(assets): snigdha os og images and favicon

This commit is contained in:
eshanized
2024-12-25 10:33:50 +05:30
parent 739348810e
commit b657e6ffe2
5 changed files with 25 additions and 11 deletions

View File

@@ -12,7 +12,7 @@
<!-- Open Graph Tags for Social Media -->
<meta property="og:title" content="Snigdha OS - Advanced Penetration Testing Distribution" />
<meta property="og:description" content="Snigdha OS is an advanced penetration testing distribution designed for professionals to perform security testing and vulnerability assessments." />
<meta property="og:image" content="/path/to/your/image.jpg" />
<meta property="og:image" content="/snigdhaos-og.png" />
<meta property="og:url" content="https://www.snigdhaos.org" />
<meta property="og:type" content="website" />
@@ -20,10 +20,10 @@
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Snigdha OS - Advanced Penetration Testing Distribution" />
<meta name="twitter:description" content="Snigdha OS is an advanced penetration testing distribution designed for professionals to perform security testing and vulnerability assessments." />
<meta name="twitter:image" content="/path/to/your/image.jpg" />
<meta name="twitter:image" content="/snigdhaos-og.png" />
<!-- Favicon -->
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<!-- Canonical Link to prevent duplicate content issues -->
<link rel="canonical" href="https://www.snigdhaos.org" />
@@ -39,7 +39,7 @@
"publisher": {
"@type": "Organization",
"name": "Snigdha OS Team",
"logo": "https://www.snigdhaos.org/logo.png"
"logo": "https://www.snigdhaos.org/snigdhaos-logo.png"
}
}
</script>
@@ -53,16 +53,22 @@
<!-- Single Page Apps for GitHub Pages (SPA) Script -->
<script type="text/javascript">
(function(l) {
if (l.search[1] === '/' ) {
var decoded = l.search.slice(1).split('&').map(function(s) {
return s.replace(/~and~/g, '&')
}).join('?');
window.history.replaceState(null, null,
l.pathname.slice(0, -1) + decoded + l.hash
if (l.search && l.search.startsWith('/')) {
const decoded = l.search
.slice(1) // Remove the leading "/"
.split('&') // Split the query string
.map(s => s.replace(/~and~/g, '&')) // Replace "~and~" with "&"
.join('?'); // Join the components with "?"
window.history.replaceState(
null,
'', // The second argument is the title; an empty string keeps it unchanged
l.pathname.slice(0, -1) + decoded + l.hash // Build the new URL
);
}
}(window.location))
})(window.location);
</script>
</head>
<body>

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

8
public/favicon.svg Normal file
View File

@@ -0,0 +1,8 @@
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256">
<title>Snigdha OS Favicon</title>
<style>
.s0 { fill: #6495ed }
</style>
<path id="Path 7" fill-rule="evenodd" class="s0" d="m112.8 111.5q25.7 27 1.7 53.9-21.4 20.9-41.9 22.9c8.6-7.4 11-19.8 5.8-29.9q-26.1-27.2-39.2-47.7-15.1-39.6 40.9-53.8 9.4-15.5 91.4-55.6c15.4-4.4 31.8 2.8 38.9 17.2 7 14.4 2.8 31.8-10.2 41.3l-112.8 7.1q-1.9 20.7 25.4 44.6zm-35.5-43.4c-11.4 3.4-26.3 9.6-30.2 20.4-2 5.8-0.9 12.1 1.1 17.7 10.5 16.1 24.2 31.5 37.5 45.3l1 1.1 0.7 1.3c2.8 5.5 4 11.5 3.7 17.4 6-3.7 11.4-8.2 16.2-12.8 12.4-14.2 11.3-26.2-1.5-39.8-14.4-12.7-29.3-30.2-28.5-50.6zm124.1-45.1c-4.8-9.8-15.8-14.9-26.4-12.3-20.9 10.3-42.3 21.1-62.1 33.2-3.7 2.2-12.5 7.7-18.6 12.5l102.1-6.4c7.4-6.8 9.5-17.8 5-27z"/>
<path id="Path 8" fill-rule="evenodd" class="s0" d="m143.8 144.3q-25.7-26.9-1.8-53.9 21.5-20.8 42-22.8c-8.6 7.4-11 19.7-5.9 29.8q26.2 27.2 39.3 47.8 15 39.6-40.9 53.7-9.4 15.5-91.5 55.7c-15.4 4.4-31.7-2.9-38.8-17.3-7-14.4-2.8-31.7 10.1-41.3l112.8-7.1q2-20.7-25.3-44.6zm35.5 43.5c11.4-3.4 26.3-9.6 30.2-20.5 2-5.7 0.9-12-1.2-17.6-10.4-16.1-24.2-31.5-37.4-45.4l-1.1-1-0.6-1.3c-2.8-5.5-4-11.5-3.8-17.4-5.9 3.6-11.4 8.2-16.1 12.8-12.5 14.1-11.3 26.2 1.4 39.7 14.5 12.7 29.4 30.3 28.6 50.7zm-124.1 45.1c4.8 9.7 15.8 14.8 26.3 12.2 20.9-10.2 42.3-21 62.2-33.1 3.7-2.2 12.5-7.7 18.5-12.6l-102 6.5c-7.4 6.8-9.5 17.8-5 27z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
public/snigdhaos-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

BIN
public/snigdhaos-og.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB