Switch over to WebAssembly, Rust and Yew #35
28
index.html
@ -2,17 +2,45 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
<meta name="referer" content="no-referer-when-downgrade" />
|
||||||
<title>Blake Rain</title>
|
<title>Blake Rain</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon.png" />
|
||||||
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
||||||
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
||||||
|
<link rel="manifest" href="/site.webmanifest" />
|
||||||
|
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#12304c" />
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
|
<meta name="msapplication-TileColor" content="#12304e" />
|
||||||
|
<meta name="theme-color" content="#12304e" />
|
||||||
<link
|
<link
|
||||||
href="https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;700&family=Roboto:wght@100;300;400;500;700&family=Source+Code+Pro:wght@400;700&display=swap"
|
href="https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;700&family=Roboto:wght@100;300;400;500;700&family=Source+Code+Pro:wght@400;700&display=swap"
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
/>
|
/>
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
"@type": "WebSite",
|
||||||
|
"name": "Blake Rain",
|
||||||
|
"url": "https://blakerain.com"
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
<link data-trunk rel="rust" data-bin="site" data-wasm-opt="z" />
|
<link data-trunk rel="rust" data-bin="site" data-wasm-opt="z" />
|
||||||
<link data-trunk rel="css" href="target/main.css" />
|
<link data-trunk rel="css" href="target/main.css" />
|
||||||
<link data-trunk rel="copy-dir" href="public/media" />
|
<link data-trunk rel="copy-dir" href="public/media" />
|
||||||
<link data-trunk rel="copy-dir" href="public/content" />
|
<link data-trunk rel="copy-dir" href="public/content" />
|
||||||
|
<link data-trunk rel="copy-file" href="public/android-chrome-72x72.png" />
|
||||||
|
<link data-trunk rel="copy-file" href="public/android-chrome-144x144.png" />
|
||||||
|
<link data-trunk rel="copy-file" href="public/apple-touch-icon.png" />
|
||||||
|
<link data-trunk rel="copy-file" href="public/browserconfig.xml" />
|
||||||
|
<link data-trunk rel="copy-file" href="public/favicon-16x16.png" />
|
||||||
|
<link data-trunk rel="copy-file" href="public/favicon-32x32.png" />
|
||||||
|
<link data-trunk rel="copy-file" href="public/favicon.ico" />
|
||||||
|
<link data-trunk rel="copy-file" href="public/favicon.png" />
|
||||||
|
<link data-trunk rel="copy-file" href="public/mstile-150x150.png" />
|
||||||
|
<link data-trunk rel="copy-file" href="public/safari-pinned-tab.svg" />
|
||||||
|
<link data-trunk rel="copy-file" href="public/site.webmanifest" />
|
||||||
</head>
|
</head>
|
||||||
</html>
|
</html>
|
||||||
|
BIN
public/android-chrome-144x144.png
Normal file
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
BIN
public/android-chrome-72x72.png
Normal file
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
BIN
public/apple-touch-icon.png
Normal file
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
9
public/browserconfig.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<browserconfig>
|
||||||
|
<msapplication>
|
||||||
|
<tile>
|
||||||
|
<square150x150logo src="/mstile-150x150.png"/>
|
||||||
|
<TileColor>#da532c</TileColor>
|
||||||
|
</tile>
|
||||||
|
</msapplication>
|
||||||
|
</browserconfig>
|
BIN
public/favicon-16x16.png
Normal file
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
public/favicon-32x32.png
Normal file
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
BIN
public/favicon.ico
Normal file
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
BIN
public/favicon.png
Normal file
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
BIN
public/mstile-150x150.png
Normal file
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
23
public/safari-pinned-tab.svg
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" standalone="no"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||||
|
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||||
|
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="80.000000pt" height="80.000000pt" viewBox="0 0 80.000000 80.000000"
|
||||||
|
preserveAspectRatio="xMidYMid meet">
|
||||||
|
<metadata>
|
||||||
|
Created by potrace 1.14, written by Peter Selinger 2001-2017
|
||||||
|
</metadata>
|
||||||
|
<g transform="translate(0.000000,80.000000) scale(0.100000,-0.100000)"
|
||||||
|
fill="#000000" stroke="none">
|
||||||
|
<path d="M20 780 c-19 -19 -20 -33 -20 -380 0 -347 1 -361 20 -380 19 -19 33
|
||||||
|
-20 380 -20 347 0 361 1 380 20 19 19 20 33 20 380 0 347 -1 361 -20 380 -19
|
||||||
|
19 -33 20 -380 20 -347 0 -361 -1 -380 -20z m501 -163 c68 -46 79 -119 26
|
||||||
|
-172 -31 -31 -31 -33 -12 -41 29 -13 65 -73 65 -108 0 -47 -31 -99 -70 -118
|
||||||
|
-29 -15 -62 -18 -182 -18 -139 0 -148 1 -148 19 0 13 9 21 30 26 l30 7 0 188
|
||||||
|
0 188 -30 6 c-21 4 -30 11 -30 26 0 19 6 20 144 20 132 0 146 -2 177 -23z"/>
|
||||||
|
<path d="M320 516 l0 -76 73 0 c64 0 76 3 95 23 27 29 28 67 3 98 -16 20 -30
|
||||||
|
24 -95 27 l-76 4 0 -76z"/>
|
||||||
|
<path d="M320 294 l0 -86 86 3 c76 4 88 7 105 28 25 31 24 82 -2 115 -19 24
|
||||||
|
-26 26 -105 26 l-84 0 0 -86z"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
23
public/site.webmanifest
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"start": "https://www.blakerain.com/",
|
||||||
|
"name": "BlakeRain",
|
||||||
|
"description": "Personal site of Blake Rain",
|
||||||
|
"short_name": "BlakeRain",
|
||||||
|
"lang": "en-GB",
|
||||||
|
"orientation": "any",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "/android-chrome-72x72.png",
|
||||||
|
"sizes": "72x72",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/android-chrome-144x144.png",
|
||||||
|
"sizes": "144x144",
|
||||||
|
"type": "image/png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"theme_color": "#12304E",
|
||||||
|
"background_color": "#ffffff",
|
||||||
|
"display": "standalone"
|
||||||
|
}
|