Add the logo to the demo.
Logo design courtesy Jay Vining.
This commit is contained in:
parent
097e909d07
commit
23482b2af8
|
@ -217,6 +217,10 @@ button > svg path {
|
|||
margin-right: -15px;
|
||||
}
|
||||
|
||||
#pf-masthead-logo {
|
||||
width: 30vw;
|
||||
}
|
||||
|
||||
.github-corner {
|
||||
display: block;
|
||||
position: absolute;
|
||||
|
|
|
@ -8,15 +8,14 @@
|
|||
<body>
|
||||
{{>partials/navbar.html}}
|
||||
<main id="content" class="mt-5 mb-5">
|
||||
<div class="container">
|
||||
<div class="flex-column">
|
||||
<div class="text-center">
|
||||
<h1>Pathfinder</h1>
|
||||
<p class="lead">
|
||||
A fast, high-quality, open source text and vector graphics renderer for
|
||||
GPUs.
|
||||
</p>
|
||||
</div>
|
||||
<div class="container d-flex flex-row">
|
||||
<div><img alt="" src="/svg/demo/logo" id="pf-masthead-logo"></div>
|
||||
<div class="flex-column d-flex justify-content-center ml-5">
|
||||
<h1 class="display-4">Pathfinder</h1>
|
||||
<p class="lead">
|
||||
A fast, high-quality, open source text and vector graphics renderer for
|
||||
GPUs.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
<option value="font-nimbus-sans">Font: Nimbus Sans</option>
|
||||
<option value="font-inter-ui">Font: Inter UI</option>
|
||||
<option value="svg-tiger">SVG: Ghostscript Tiger</option>
|
||||
<option value="svg-logo">SVG: Pathfinder Logo</option>
|
||||
<option value="svg-custom">SVG: Custom…</option>
|
||||
</select>
|
||||
<input id="pf-file-select" type="file">
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
<nav class="navbar navbar-expand-sm navbar-dark bg-dark">
|
||||
<a class="navbar-brand" href="/">Pathfinder</a>
|
||||
<a class="navbar-brand" href="/">
|
||||
<img id="pf-navbar-logo" alt="" src="/svg/demo/logo" width="30" class="mr-2">
|
||||
Pathfinder
|
||||
</a>
|
||||
<div class="collapse navbar-collapse">
|
||||
<ul class="navbar-nav mr-auto">
|
||||
<li class="nav-item dropdown {{#if isDemo}}active{{/if}}">
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
<label for="pf-select-file">SVG document</label>
|
||||
<select id="pf-select-file" class="form-control custom-select">
|
||||
<option value="tiger" selected>Ghostscript Tiger</option>
|
||||
<option value="logo">Pathfinder Logo</option>
|
||||
<option value="load-custom">Load File…</option>
|
||||
</select>
|
||||
<input id="pf-file-select" type="file">
|
||||
|
|
|
@ -98,8 +98,9 @@ static BUILTIN_FONTS: [(&'static str, &'static str); 4] = [
|
|||
("inter-ui", "../../resources/fonts/inter-ui/Inter-UI-Regular.ttf"),
|
||||
];
|
||||
|
||||
static BUILTIN_SVGS: [(&'static str, &'static str); 1] = [
|
||||
static BUILTIN_SVGS: [(&'static str, &'static str); 2] = [
|
||||
("tiger", "../../resources/svg/Ghostscript_Tiger.svg"),
|
||||
("logo", "../../resources/svg/pathfinder_logo.svg"),
|
||||
];
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
|
||||
|
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 223 KiB |
Loading…
Reference in New Issue