File tree Expand file tree Collapse file tree 6 files changed +75
-17
lines changed
.template.config/templates Expand file tree Collapse file tree 6 files changed +75
-17
lines changed Original file line number Diff line number Diff line change 6
6
7
7
<ItemGroup >
8
8
<PackageReference Include =" AntDesign.Charts" Version =" 0.2.1" />
9
- <PackageReference Include =" AntDesign.ProLayout" Version =" 0.1.0-nightly-210513142421 " />
9
+ <PackageReference Include =" AntDesign.ProLayout" Version =" 0.1.0-nightly-210714165658 " />
10
10
<PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly" Version =" 5.0.0" />
11
11
<PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version =" 5.0.0" PrivateAssets =" all" />
12
12
<PackageReference Include =" Microsoft.Extensions.Options.ConfigurationExtensions" Version =" 5.0.0" />
Original file line number Diff line number Diff line change 6
6
7
7
<ItemGroup >
8
8
<PackageReference Include =" AntDesign.Charts" Version =" 0.2.1" />
9
- <PackageReference Include =" AntDesign.ProLayout" Version =" 0.1.0-nightly-210513142421 " />
9
+ <PackageReference Include =" AntDesign.ProLayout" Version =" 0.1.0-nightly-210714165658 " />
10
10
<PackageReference Include =" System.Net.Http.Json" Version =" 5.0.0" />
11
11
</ItemGroup >
12
12
Original file line number Diff line number Diff line change 10
10
<ChildContent >
11
11
@Body
12
12
</ChildContent >
13
+ <FooterRender >
14
+ <FooterView Copyright =" 2021 Ant Design Blazor" Links =" Links" ></FooterView >
15
+ </FooterRender >
13
16
</AntDesign .ProLayout.BasicLayout >
14
17
<SettingDrawer />
15
18
25
28
await base .OnInitializedAsync ();
26
29
_menuData = await HttpClient .GetFromJsonAsync <MenuDataItem []>(" data/menu.json" );
27
30
}
31
+
28
32
// #else
29
33
private readonly MenuDataItem [] _menuData =
30
34
{
31
- new MenuDataItem
32
- {
33
- Path = " /" ,
34
- Name = " welcome" ,
35
- Key = " welcome" ,
36
- Icon = " smile" ,
37
- }
35
+ new MenuDataItem
36
+ {
37
+ Path = " /" ,
38
+ Name = " welcome" ,
39
+ Key = " welcome" ,
40
+ Icon = " smile" ,
41
+ }
38
42
};
39
43
// #endif
44
+
45
+ public LinkItem [] Links { get ; set ; } =
46
+ {
47
+ new LinkItem
48
+ {
49
+ Key = " Ant Design Blazor" ,
50
+ Title = " Ant Design Blazor" ,
51
+ Href = " https://antblazor.com" ,
52
+ BlankTarget = true ,
53
+ },
54
+ new LinkItem
55
+ {
56
+ Key = " github" ,
57
+ Title = (RenderFragment )(@< Icon Type = " github" / > ),
58
+ Href = " https://github.com/ant-design-blazor/ant-design-pro-blazor" ,
59
+ BlankTarget = true ,
60
+ },
61
+ new LinkItem
62
+ {
63
+ Key = " Blazor" ,
64
+ Title = " Blazor" ,
65
+ Href = " https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor?WT.mc_id=DT-MVP-5003987" ,
66
+ BlankTarget = true ,
67
+ }
68
+ };
40
69
}
Original file line number Diff line number Diff line change 7
7
8
8
<ItemGroup >
9
9
<PackageReference Include =" AntDesign.Charts" Version =" 0.2.1" />
10
- <PackageReference Include =" AntDesign.ProLayout" Version =" 0.1.0-nightly-210513142421 " />
10
+ <PackageReference Include =" AntDesign.ProLayout" Version =" 0.1.0-nightly-210714165658 " />
11
11
<PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly" Version =" 5.0.0" />
12
12
<PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version =" 5.0.0" PrivateAssets =" all" />
13
13
<PackageReference Include =" Microsoft.Extensions.Options.ConfigurationExtensions" Version =" 5.0.0" />
Original file line number Diff line number Diff line change 10
10
<ChildContent >
11
11
@Body
12
12
</ChildContent >
13
+ <FooterRender >
14
+ <FooterView Copyright =" 2021 Ant Design Blazor" Links =" Links" ></FooterView >
15
+ </FooterRender >
13
16
</AntDesign .ProLayout.BasicLayout >
14
17
<SettingDrawer />
15
18
28
31
// #else
29
32
private readonly MenuDataItem [] _menuData =
30
33
{
31
- new MenuDataItem
32
- {
33
- Path = " /" ,
34
- Name = " welcome" ,
35
- Key = " welcome" ,
36
- Icon = " smile" ,
37
- }
34
+ new MenuDataItem
35
+ {
36
+ Path = " /" ,
37
+ Name = " welcome" ,
38
+ Key = " welcome" ,
39
+ Icon = " smile" ,
40
+ }
38
41
};
39
42
// #endif
43
+
44
+ public LinkItem [] Links { get ; set ; } =
45
+ {
46
+ new LinkItem
47
+ {
48
+ Key = " Ant Design Blazor" ,
49
+ Title = " Ant Design Blazor" ,
50
+ Href = " https://antblazor.com" ,
51
+ BlankTarget = true ,
52
+ },
53
+ new LinkItem
54
+ {
55
+ Key = " github" ,
56
+ Title = (RenderFragment )(@< Icon Type = " github" / > ),
57
+ Href = " https://github.com/ant-design-blazor/ant-design-pro-blazor" ,
58
+ BlankTarget = true ,
59
+ },
60
+ new LinkItem
61
+ {
62
+ Key = " Blazor" ,
63
+ Title = " Blazor" ,
64
+ Href = " https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor?WT.mc_id=DT-MVP-5003987" ,
65
+ BlankTarget = true ,
66
+ }
67
+ };
40
68
}
Original file line number Diff line number Diff line change 5
5
using System . Collections . Generic ;
6
6
using System . Linq ;
7
7
using System . Threading . Tasks ;
8
+ using AntDesign ;
8
9
9
10
namespace AntDesign . Pro . Template . Components
10
11
{
You can’t perform that action at this time.
0 commit comments