CN.CAICT.IDIS.Client.Web/Components/Pages/Home.razor

76 lines
3.9 KiB
Plaintext

@page "/"
<PageTitle>主页</PageTitle>
<MudText Typo="Typo.h3" GutterBottom="true" Color="Color.Default">你好,<MudLink Href="https://www.idfactory.cn/" Typo="Typo.h3">工业互联网标识</MudLink></MudText>
<MudText Class="mb-8">欢迎来到工业互联网标识解析Web端,有什么你想了解的么?</MudText>
<MudAlert Severity="Severity.Normal">
你可以找到一些文档和案例,从
<MudLink Href="http://server.bitfall.icu:3000/root/iFactory.Godot/src/branch/main/ReadMe/%E5%B7%A5%E4%B8%9A%E4%BA%92%E8%81%94%E7%BD%91%E6%A0%87%E8%AF%86%E8%A7%A3%E6%9E%90%E4%B8%8E%E6%B3%A8%E5%86%8C/%E6%A0%87%E8%AF%86%E8%A7%A3%E6%9E%90%E6%AD%A5%E9%AA%A4.md" Target="_blank" Typo="Typo.body2" Color="Color.Primary">
<b>iFactory 文档中心</b>
</MudLink>
</MudAlert>
<br />
<MudText Typo="Typo.h5" GutterBottom="true">这里有些什么呢?</MudText>
<br />
<MudText Typo="Typo.body2">
基于IDIS_Runtime的一些实现 <br />
可以在Web端完成一些手动注册与解析的操作<br />
通常这些操作会由相关的生产系统自动化解析<br />
<br />
你可以在&lt;AppBar&gt;的右上角切换夜间模式<br />
如果你觉得暗色主题更好的话<br />
<br />
</MudText>
@* <br /> *@
@* <MudText Typo="Typo.h5" GutterBottom="true">此模板中的交互性</MudText> *@
@* <br /> *@
@* <MudText Typo="Typo.body2"> *@
@* When you opt for the "Global" Interactivity Location, <br /> *@
@* the render modes are defined in App.razor and consequently apply to all child components.<br /> *@
@* In this case, providers are globally set in the MainLayout.<br /> *@
@* <br /> *@
@* On the other hand, if you choose the "Per page/component" Interactivity Location,<br /> *@
@* it is necessary to include the <br /> *@
@* <br /> *@
@* &lt;MudPopoverProvider /&gt; <br /> *@
@* &lt;MudDialogProvider /&gt; <br /> *@
@* &lt;MudSnackbarProvider /&gt; <br /> *@
@* <br /> *@
@* components on every interactive page.<br /> *@
@* <br /> *@
@* If a render mode is not specified for a page, it defaults to Server-Side Rendering (SSR),<br /> *@
@* similar to this page. While MudBlazor allows pages to be rendered in SSR,<br /> *@
@* please note that interactive features, such as buttons and dropdown menus, will not be functional. *@
@* </MudText> *@
@* *@
@* <br /> *@
@* <MudText Typo="Typo.h5" GutterBottom="true">What's New in Blazor with the Release of .NET 8</MudText> *@
@* <br /> *@
@* <MudText Typo="Typo.h6" GutterBottom="true">Prerendering</MudText> *@
@* <MudText Typo="Typo.body2" GutterBottom="true"> *@
@* If you're exploring the features of .NET 8 Blazor,<br /> you might be pleasantly surprised to learn that each page is prerendered on the server,<br /> regardless of the selected render mode.<br /><br /> *@
@* This means that you'll need to inject all necessary services on the server,<br /> even when opting for the wasm (WebAssembly) render mode.<br /><br /> *@
@* This prerendering functionality is crucial to ensuring that WebAssembly mode feels fast and responsive,<br /> especially when it comes to initial page load times.<br /><br /> *@
@* For more information on how to detect prerendering and leverage the RenderContext, you can refer to the following link: *@
@* <MudLink Href="https://github.com/dotnet/aspnetcore/issues/51468#issuecomment-1783568121" Target="_blank" Typo="Typo.body2" Color="Color.Primary"> *@
@* More details *@
@* </MudLink> *@
@* </MudText> *@
@* *@
@* <br /> *@
@* <MudText Typo="Typo.h6" GutterBottom="true">InteractiveAuto</MudText> *@
@* <MudText Typo="Typo.body2"> *@
@* A discussion on how to achieve this can be found here: *@
@* <MudLink Href="https://github.com/dotnet/aspnetcore/issues/51468#issue-1950424116" Target="_blank" Typo="Typo.body2" Color="Color.Primary"> *@
@* More details *@
@* </MudLink> *@
@* </MudText> *@