added seo shit

Signed-off-by: Ash Entwisle <ash.entwisle@protonmail.com>
issue/index
Ash Entwisle 2023-09-13 01:07:11 +00:00
parent bd67199df0
commit 483ab4bf43
No known key found for this signature in database
GPG Key ID: 0E3CBB6B4BE9FE33
6 changed files with 165 additions and 8 deletions

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 KiB

View File

@ -1,9 +1,48 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 128 128">
<path d="M50.4 78.5a75.1 75.1 0 0 0-28.5 6.9l24.2-65.7c.7-2 1.9-3.2 3.4-3.2h29c1.5 0 2.7 1.2 3.4 3.2l24.2 65.7s-11.6-7-28.5-7L67 45.5c-.4-1.7-1.6-2.8-2.9-2.8-1.3 0-2.5 1.1-2.9 2.7L50.4 78.5Zm-1.1 28.2Zm-4.2-20.2c-2 6.6-.6 15.8 4.2 20.2a17.5 17.5 0 0 1 .2-.7 5.5 5.5 0 0 1 5.7-4.5c2.8.1 4.3 1.5 4.7 4.7.2 1.1.2 2.3.2 3.5v.4c0 2.7.7 5.2 2.2 7.4a13 13 0 0 0 5.7 4.9v-.3l-.2-.3c-1.8-5.6-.5-9.5 4.4-12.8l1.5-1a73 73 0 0 0 3.2-2.2 16 16 0 0 0 6.8-11.4c.3-2 .1-4-.6-6l-.8.6-1.6 1a37 37 0 0 1-22.4 2.7c-5-.7-9.7-2-13.2-6.2Z" />
<style>
path { fill: #000; }
@media (prefers-color-scheme: dark) {
path { fill: #FFF; }
}
</style>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="50mm"
height="50mm"
viewBox="0 0 50 50"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<g
id="layer3">
<rect
style="fill:#282c34;fill-opacity:1;stroke-width:0.383964"
id="rect1"
width="50"
height="50"
x="0"
y="-3.2449276e-07" />
<g
id="layer2"
transform="matrix(1.2967046,0,0,1.1575242,-2.7770808,-0.60514607)">
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:42.0168px;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono';fill:#607857;fill-opacity:1;stroke-width:3.50141"
x="8.3829136"
y="37.671043"
id="text2-2-0"><tspan
id="tspan2-9-9"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono';fill:#607857;fill-opacity:1;stroke-width:3.50141"
x="8.3829136"
y="37.671043">#</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:42.0168px;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono';fill:#98c379;fill-opacity:1;stroke-width:3.50129;stroke-dasharray:none"
x="9.2495804"
y="37.242447"
id="text2-6"><tspan
id="tspan2-2"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono';fill:#98c379;fill-opacity:1;stroke-width:3.50129;stroke-dasharray:none"
x="9.2495804"
y="37.242447">#</tspan></text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 749 B

After

Width:  |  Height:  |  Size: 2.0 KiB

76
public/logo.svg Normal file
View File

@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="200mm"
height="50.000008mm"
viewBox="0 0 200 50.000008"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<g
id="layer6"
transform="translate(-1.6430215e-7,-100)">
<rect
style="fill:#282c34;fill-opacity:1;stroke-width:0.767927"
id="rect1-5"
width="200"
height="50.000008"
x="1.6430215e-07"
y="100" />
<g
id="layer4"
transform="matrix(0.99264735,0,0,0.98039325,27.720578,-1.7157017)">
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:33.3952px;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono';fill:#617a57;fill-opacity:1;stroke-width:42.5354;stroke-dasharray:none"
x="26.838634"
y="142.2"
id="text7"
transform="scale(1.0018572,0.99814625)"><tspan
id="tspan7"
style="fill:#617a57;fill-opacity:1;stroke-width:42.5354"
x="26.838634"
y="142.2">HullCSS</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:33.3952px;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono';fill:#98c379;fill-opacity:1;stroke-width:42.5354;stroke-dasharray:none"
x="27.836781"
y="141.69907"
id="text7-1"
transform="scale(1.0018572,0.99814625)"><tspan
id="tspan7-2"
style="stroke-width:42.5354"
x="27.836781"
y="141.69907">HullCSS</tspan></text>
</g>
<g
id="layer9">
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:42.0168px;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono';fill:#607857;fill-opacity:1;stroke-width:3.50141"
x="8.3829222"
y="124.06232"
id="text2-2-0-4"
transform="matrix(1.2967046,0,0,1.1575242,-2.7770807,-0.60514606)"><tspan
id="tspan2-9-9-7"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono';fill:#607857;fill-opacity:1;stroke-width:3.50141"
x="8.3829222"
y="124.06232">#</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:42.0168px;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono';fill:#98c379;fill-opacity:1;stroke-width:3.50129;stroke-dasharray:none"
x="9.2495842"
y="123.63372"
id="text2-6-6"
transform="matrix(1.2967046,0,0,1.1575242,-2.7770807,-0.60514606)"><tspan
id="tspan2-2-5"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono';fill:#98c379;fill-opacity:1;stroke-width:3.50129;stroke-dasharray:none"
x="9.2495842"
y="123.63372">#</tspan></text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

30
public/manifest.json Normal file
View File

@ -0,0 +1,30 @@
{
"name": "HullCSS Website and Blog",
"short_name": "HullCSS",
"start_url": "/",
"display": "standalone",
"background_color": "#282c34",
"theme_color": "#98c379",
"lang": "en-GB",
"description": "HullCSS is the computers science society at the University of Hull. We are a group of students who are passionate about technology and want to share our knowledge with others.",
"icons": [
{
"src": "logo.svg",
"sizes": "any",
"type": "image/svg+xml",
"purpose": "any"
},
{
"src": "favicon.svg",
"sizes": "any",
"type": "image/svg+xml",
"purpose": "any maskable"
},
{
"src": "favicon.ico",
"sizes": "32x32 128x128 180x180 192x192 256x256",
"type": "image/x-icon",
"purpose": "any maskable"
}
]
}

4
public/robots.txt Normal file
View File

@ -0,0 +1,4 @@
User-agent: *
Allow: /
Sitemap: https://hullcss.org/sitemap-index.xml

8
public/sw.js Normal file
View File

@ -0,0 +1,8 @@
importScripts('https://storage.googleapis.com/workbox-cdn/releases/6.5.4/workbox-sw.js');
workbox.routing.registerRoute(
({request}) => request.destination === 'image',
new workbox.strategies.CacheFirst()
);