mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
WIP on viewer design implementation.
This commit is contained in:
parent
79d354084d
commit
bea7a0c0f3
@ -20,12 +20,19 @@ namespace Remotely.Server.Services.RcImplementations
|
||||
_appConfig = appConfig;
|
||||
}
|
||||
|
||||
public Task<string> GetFaviconUrl(ViewerModel viewerModel)
|
||||
public Task<string> GetFaviconUrl(PageModel viewerModel)
|
||||
{
|
||||
return Task.FromResult("/_content/Immense.RemoteControl.Server/favicon.ico");
|
||||
}
|
||||
|
||||
public Task<string> GetPageDescription(ViewerModel viewerModel)
|
||||
public async Task<string> GetLogoUrl(PageModel viewerModel)
|
||||
{
|
||||
return await GetTheme(viewerModel) == ViewerPageTheme.Dark ?
|
||||
"/images/viewer/remotely-logo-dark.svg" :
|
||||
"/images/viewer/remotely-logo-light.svg";
|
||||
}
|
||||
|
||||
public Task<string> GetPageDescription(PageModel viewerModel)
|
||||
{
|
||||
return Task.FromResult("Open-source remote support tools.");
|
||||
}
|
||||
@ -35,16 +42,6 @@ namespace Remotely.Server.Services.RcImplementations
|
||||
return Task.FromResult("Remotely Remote Control");
|
||||
}
|
||||
|
||||
public Task<string> GetProductName(PageModel pageModel)
|
||||
{
|
||||
return Task.FromResult("Remotely");
|
||||
}
|
||||
|
||||
public Task<string> GetProductSubtitle(PageModel pageModel)
|
||||
{
|
||||
return Task.FromResult("Remote Control");
|
||||
}
|
||||
|
||||
public Task<ViewerPageTheme> GetTheme(PageModel pageModel)
|
||||
{
|
||||
if (pageModel.User.Identity.IsAuthenticated)
|
||||
|
||||
54
Server/wwwroot/images/viewer/remotely-logo-dark.svg
Normal file
54
Server/wwwroot/images/viewer/remotely-logo-dark.svg
Normal file
@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="21.296mm"
|
||||
height="6.684mm"
|
||||
viewBox="0 0 21.295999 6.6840064"
|
||||
version="1.1"
|
||||
id="svg5"
|
||||
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
|
||||
sodipodi:docname="remotely-logo-dark.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview7"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.4770342"
|
||||
inkscape:cx="136.42202"
|
||||
inkscape:cy="173.32029"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1009"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" />
|
||||
<defs
|
||||
id="defs2" />
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93889px;font-family:'Berlin Sans FB';-inkscape-font-specification:'Berlin Sans FB';fill:#000000;stroke-width:0.264583"
|
||||
x="0.91102451"
|
||||
y="4.5172524"
|
||||
id="text63"><tspan
|
||||
id="tspan61"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93889px;font-family:'Berlin Sans FB';-inkscape-font-specification:'Berlin Sans FB';fill:#ffffff;fill-opacity:1;stroke-width:0.264583"
|
||||
x="0.91102451"
|
||||
y="4.5172524"
|
||||
sodipodi:role="line">Remotely</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
54
Server/wwwroot/images/viewer/remotely-logo-light.svg
Normal file
54
Server/wwwroot/images/viewer/remotely-logo-light.svg
Normal file
@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="21.296mm"
|
||||
height="6.684mm"
|
||||
viewBox="0 0 21.295999 6.6840064"
|
||||
version="1.1"
|
||||
id="svg5"
|
||||
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
|
||||
sodipodi:docname="remotely-logo-light.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview7"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.4770342"
|
||||
inkscape:cx="136.42202"
|
||||
inkscape:cy="173.32029"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1009"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" />
|
||||
<defs
|
||||
id="defs2" />
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93889px;font-family:'Berlin Sans FB';-inkscape-font-specification:'Berlin Sans FB';fill:#000000;stroke-width:0.264583"
|
||||
x="0.91102451"
|
||||
y="4.5172524"
|
||||
id="text63"><tspan
|
||||
id="tspan61"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:4.93889px;font-family:'Berlin Sans FB';-inkscape-font-specification:'Berlin Sans FB';fill:#03b1eb;fill-opacity:1;stroke-width:0.264583"
|
||||
x="0.91102451"
|
||||
y="4.5172524"
|
||||
sodipodi:role="line">Remotely</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
Loading…
Reference in New Issue
Block a user