Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 27 additions & 18 deletions Logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions docs/Linq2GraphQL.Docs/App.razor
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@
<FocusOnNavigate RouteData="@routeData" Selector="h1"/>
</Found>
<NotFound>
@* <PageTitle>Not found</PageTitle> *@
<PageTitle>Page not found - Linq2GraphQL</PageTitle>
<LayoutView Layout="@typeof(MainLayout)">
<p role="alert">Sorry, there's nothing at this address.</p>
<h1 class="page-heading">Page not found</h1>
<p class="lead text-secondary" role="alert">
Sorry, there's nothing at this address. Try the <a href="getting-started">getting started guide</a>
or pick a page from the menu.
</p>
</LayoutView>
</NotFound>
</Router>
10 changes: 8 additions & 2 deletions docs/Linq2GraphQL.Docs/Components/GenerateClient.razor
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
@page "/generate-client"

<h3>Generate Client</h3>
<PageTitle>Online generator - Linq2GraphQL</PageTitle>

<div class="dimmer @(isLoading ? "active" : "")">
<h1 class="page-heading">Online generator</h1>
<p class="lead text-secondary">
Generate a client in the browser from a GraphQL endpoint or a schema, without installing anything. The
result is the same code the <a href="generator">generator</a> writes, downloaded as a zip file.
</p>

<div class="dimmer doc-wide mt-4 @(isLoading ? "active" : "")">
<div class="loader"></div>
<div class="dimmer-content">

Expand Down
20 changes: 20 additions & 0 deletions docs/Linq2GraphQL.Docs/Icons/Icons.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,25 @@ public static class Icons
public static IIconType Terminal_2 => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M8 9l3 3l-3 3' /><path d='M13 15l3 0' /><path d='M3 4m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z' />");
public static IIconType Book => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0' /><path d='M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0' /><path d='M3 6l0 13' /><path d='M12 6l0 13' /><path d='M21 6l0 13' />");
public static IIconType Copy => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M8 8m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z' /><path d='M16 8v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2' />");
public static IIconType Sun => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0' /><path d='M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7' />");
public static IIconType Moon => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z' />");
public static IIconType BrandGithub => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5' />");
public static IIconType Menu => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M4 6l16 0' /><path d='M4 12l16 0' /><path d='M4 18l16 0' />");
public static IIconType X => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M18 6l-12 12' /><path d='M6 6l12 12' />");
public static IIconType ArrowLeft => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M5 12l14 0' /><path d='M5 12l6 6' /><path d='M5 12l6 -6' />");
public static IIconType ArrowRight => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M5 12l14 0' /><path d='M13 18l6 -6' /><path d='M13 6l6 6' />");
public static IIconType Check => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M5 12l5 5l10 -10' />");
public static IIconType Pencil => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4' /><path d='M13.5 6.5l4 4' />");
public static IIconType Package => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M12 3l8 4.5l0 9l-8 4.5l-8 -4.5l0 -9l8 -4.5' /><path d='M12 12l8 -4.5' /><path d='M12 12l0 9' /><path d='M12 12l-8 -4.5' />");
public static IIconType FileCode => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M14 3v4a1 1 0 0 0 1 1h4' /><path d='M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z' /><path d='M10 13l-1 2l1 2' /><path d='M14 13l1 2l-1 2' />");
public static IIconType Filter => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z' />");
public static IIconType Broadcast => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M18.364 19.364a9 9 0 1 0 -12.728 0' /><path d='M15.536 16.536a5 5 0 1 0 -7.072 0' /><path d='M12 13m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0' />");
public static IIconType ChevronsRight => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M7 7l5 5l-5 5' /><path d='M13 7l5 5l-5 5' />");
public static IIconType AlertTriangle => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M12 9v4' /><path d='M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z' /><path d='M12 16h.01' />");
public static IIconType Key => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M16.555 3.843l3.602 3.602a2.877 2.877 0 0 1 0 4.069l-2.643 2.643a2.877 2.877 0 0 1 -4.069 0l-.301 -.301l-6.558 6.558a2 2 0 0 1 -1.239 .578l-.175 .008h-1.172a1 1 0 0 1 -.993 -.883l-.007 -.117v-1.172a2 2 0 0 1 .467 -1.284l.119 -.13l.414 -.414h2v-2h2v-2l2.144 -2.144l-.301 -.301a2.877 2.877 0 0 1 0 -4.069l2.643 -2.643a2.877 2.877 0 0 1 4.069 0z' /><path d='M15 9h.01' />");
public static IIconType Hierarchy => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M12 5m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0' /><path d='M5 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0' /><path d='M19 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0' /><path d='M6.5 17.5l5.5 -4.5l5.5 4.5' /><path d='M12 7l0 6' />");
public static IIconType CircleDashed => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M8.56 3.69a9 9 0 0 0 -2.92 1.95' /><path d='M3.69 8.56a9 9 0 0 0 -.69 3.44' /><path d='M3.69 15.44a9 9 0 0 0 1.95 2.92' /><path d='M8.56 20.31a9 9 0 0 0 3.44 .69' /><path d='M15.44 20.31a9 9 0 0 0 2.92 -1.95' /><path d='M20.31 15.44a9 9 0 0 0 .69 -3.44' /><path d='M20.31 8.56a9 9 0 0 0 -1.95 -2.92' /><path d='M15.44 3.69a9 9 0 0 0 -3.44 -.69' />");
public static IIconType Robot => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M6 4m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z' /><path d='M12 2v2' /><path d='M9 12v9' /><path d='M15 12v9' /><path d='M5 16l4 -2' /><path d='M15 14l4 2' /><path d='M9 18h6' /><path d='M10 8v.01' /><path d='M14 8v.01' />");
public static IIconType ExternalLink => new TablerIcon(@"<path stroke='none' d='M0 0h24v24H0z' fill='none' /><path d='M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6' /><path d='M11 13l9 -9' /><path d='M15 4h5v5' />");
}
}
Loading
Loading