Fixes logo path in Oxigraph Server

pull/73/head
Tpt 4 years ago
parent 1b9163c49e
commit 225309758e
  1. 22
      server/logo.svg
  2. 2
      server/src/main.rs

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="450" height="450" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(12.76 10.88)">
<g transform="translate(3.918 -4.85)">
<path d="m359.6 280.9c-2.544-1.346-5.14-2.493-7.743-3.516l1.863-0.15s-16.61-7.354-18.06-60.72c-1.438-53.37 15.83-62.48 15.83-62.48l-2.48 0.109c13.04-6.69 24.26-17.27 31.67-31.22 19.3-36.29 5.488-81.36-30.81-100.7-36.31-19.28-81.37-5.506-100.7 30.82-7.927 14.9-10.18 31.27-7.677 46.73l-0.851-1.306s4.373 19.37-41.03 47.55c-45.4 28.2-65.88 14.16-65.88 14.16l1.302 1.925c-1.298-0.803-2.544-1.624-3.901-2.333-36.31-19.29-81.38-5.509-100.7 30.8-19.28 36.31-5.489 81.36 30.81 100.7 27.06 14.36 58.97 10.36 81.46-7.655l-0.487 0.946s16.53-13.6 64.16 11.97c37.6 20.18 43.18 39.96 43.9 47.38-0.983 27.57 13.39 54.62 39.39 68.43 36.3 19.3 81.37 5.498 100.7-30.8 19.29-36.3 5.507-81.38-30.8-100.7zm-83.93 9.785c-6.018 2.129-23.2 4.487-59.39-14.92-39.19-21.04-45-38.62-45.86-43.89 0.557-6.401 0.202-12.79-0.891-19.02l0.239 0.359s-3.189-17.1 41.65-44.94c40.13-24.91 58.38-19.96 61.77-18.65 2.185 1.485 4.45 2.867 6.825 4.131 4.518 2.398 9.174 4.283 13.89 5.672 5.52 5.257 15.68 20.18 16.73 59.41 1.078 39.54-10.53 54.78-16.86 60.17-6.526 2.956-12.63 6.897-18.11 11.68z" fill="#c58e70" image-rendering="optimizeQuality" shape-rendering="geometricPrecision"/>
<g stroke="#000">
<g transform="matrix(1.675 0 0 1.675 -22.42 105.5)">
<path d="m115.7 70.95a44.63 44.63 0 0 1-44.63 44.63 44.63 44.63 0 0 1-44.63-44.63 44.63 44.63 0 0 1 44.63-44.63 44.63 44.63 0 0 1 44.63 44.63zm-0.84-4.31 6.96 4.31-6.96 4.31 5.98 5.59-7.66 2.87 4.78 6.65-8.09 1.32 3.4 7.46-8.19-0.29 1.88 7.98-7.98-1.88 0.29 8.19-7.46-3.4-1.32 8.09-6.65-4.78-2.87 7.66-5.59-5.98-4.31 6.96-4.31-6.96-5.59 5.98-2.87-7.66-6.65 4.78-1.32-8.09-7.46 3.4 0.29-8.19-7.98 1.88 1.88-7.98-8.19 0.29 3.4-7.46-8.09-1.32 4.78-6.65-7.66-2.87 5.98-5.59-6.96-4.31 6.96-4.31-5.98-5.59 7.66-2.87-4.78-6.65 8.09-1.32-3.4-7.46 8.19 0.29-1.88-7.98 7.98 1.88-0.29-8.19 7.46 3.4 1.32-8.09 6.65 4.78 2.87-7.66 5.59 5.98 4.31-6.96 4.31 6.96 5.59-5.98 2.87 7.66 6.65-4.78 1.32 8.09 7.46-3.4-0.29 8.19 7.98-1.88-1.88 7.98 8.19-0.29-3.4 7.46 8.09 1.32-4.78 6.65 7.66 2.87z" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<circle cx="71.5" cy="70.5" r="41.04" fill="none" stroke-width="7.922"/>
</g>
<g transform="matrix(1.675 0 0 1.675 203.9 229.2)">
<path d="m115.7 70.95a44.63 44.63 0 0 1-44.63 44.63 44.63 44.63 0 0 1-44.63-44.63 44.63 44.63 0 0 1 44.63-44.63 44.63 44.63 0 0 1 44.63 44.63zm-0.84-4.31 6.96 4.31-6.96 4.31 5.98 5.59-7.66 2.87 4.78 6.65-8.09 1.32 3.4 7.46-8.19-0.29 1.88 7.98-7.98-1.88 0.29 8.19-7.46-3.4-1.32 8.09-6.65-4.78-2.87 7.66-5.59-5.98-4.31 6.96-4.31-6.96-5.59 5.98-2.87-7.66-6.65 4.78-1.32-8.09-7.46 3.4 0.29-8.19-7.98 1.88 1.88-7.98-8.19 0.29 3.4-7.46-8.09-1.32 4.78-6.65-7.66-2.87 5.98-5.59-6.96-4.31 6.96-4.31-5.98-5.59 7.66-2.87-4.78-6.65 8.09-1.32-3.4-7.46 8.19 0.29-1.88-7.98 7.98 1.88-0.29-8.19 7.46 3.4 1.32-8.09 6.65 4.78 2.87-7.66 5.59 5.98 4.31-6.96 4.31 6.96 5.59-5.98 2.87 7.66 6.65-4.78 1.32 8.09 7.46-3.4-0.29 8.19 7.98-1.88-1.88 7.98 8.19-0.29-3.4 7.46 8.09 1.32-4.78 6.65 7.66 2.87z" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<circle cx="71.5" cy="70.5" r="41.04" fill="none" stroke-width="7.922"/>
</g>
<g transform="matrix(1.675 0 0 1.675 194 -28.63)">
<path d="m115.7 70.95a44.63 44.63 0 0 1-44.63 44.63 44.63 44.63 0 0 1-44.63-44.63 44.63 44.63 0 0 1 44.63-44.63 44.63 44.63 0 0 1 44.63 44.63zm-0.84-4.31 6.96 4.31-6.96 4.31 5.98 5.59-7.66 2.87 4.78 6.65-8.09 1.32 3.4 7.46-8.19-0.29 1.88 7.98-7.98-1.88 0.29 8.19-7.46-3.4-1.32 8.09-6.65-4.78-2.87 7.66-5.59-5.98-4.31 6.96-4.31-6.96-5.59 5.98-2.87-7.66-6.65 4.78-1.32-8.09-7.46 3.4 0.29-8.19-7.98 1.88 1.88-7.98-8.19 0.29 3.4-7.46-8.09-1.32 4.78-6.65-7.66-2.87 5.98-5.59-6.96-4.31 6.96-4.31-5.98-5.59 7.66-2.87-4.78-6.65 8.09-1.32-3.4-7.46 8.19 0.29-1.88-7.98 7.98 1.88-0.29-8.19 7.46 3.4 1.32-8.09 6.65 4.78 2.87-7.66 5.59 5.98 4.31-6.96 4.31 6.96 5.59-5.98 2.87 7.66 6.65-4.78 1.32 8.09 7.46-3.4-0.29 8.19 7.98-1.88-1.88 7.98 8.19-0.29-3.4 7.46 8.09 1.32-4.78 6.65 7.66 2.87z" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<circle cx="71.5" cy="70.5" r="41.04" fill="none" stroke-width="7.922"/>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

@ -33,7 +33,7 @@ use url::{form_urlencoded, Url};
const MAX_SPARQL_BODY_SIZE: u64 = 1_048_576; const MAX_SPARQL_BODY_SIZE: u64 = 1_048_576;
const HTML_ROOT_PAGE: &str = include_str!("../templates/query.html"); const HTML_ROOT_PAGE: &str = include_str!("../templates/query.html");
const LOGO: &str = include_str!("../../logo.svg"); const LOGO: &str = include_str!("../logo.svg");
const SERVER: &str = concat!("Oxigraph/", env!("CARGO_PKG_VERSION")); const SERVER: &str = concat!("Oxigraph/", env!("CARGO_PKG_VERSION"));
#[derive(FromArgs)] #[derive(FromArgs)]

Loading…
Cancel
Save