Skip to content

Commit a869496

Browse files
niels9001michael-hawker
authored andcommitted
Adding docs button
1 parent 7812ab8 commit a869496

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

CommunityToolkit.App.Shared/Pages/GettingStartedPage.xaml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
1+
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
22
<Page x:Class="CommunityToolkit.App.Shared.Pages.GettingStartedPage"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -89,6 +89,26 @@
8989
<StackPanel Margin="0,16,0,0"
9090
Orientation="Vertical"
9191
Spacing="8">
92+
93+
<Button win:AutomationProperties.Name="Documentation on Learn">
94+
<Button.Content>
95+
<StackPanel Orientation="Horizontal"
96+
Spacing="11">
97+
<FontIcon VerticalAlignment="Center"
98+
FontSize="15"
99+
Foreground="{ThemeResource TextFillColorPrimaryBrush}"
100+
Glyph="&#xE8A5;" />
101+
<TextBlock VerticalAlignment="Center"
102+
Foreground="{ThemeResource TextFillColorPrimaryBrush}"
103+
Text="Documentation on Learn" />
104+
</StackPanel>
105+
</Button.Content>
106+
<interactivity:Interaction.Behaviors>
107+
<interactions:EventTriggerBehavior EventName="Click">
108+
<behaviors:NavigateToUriAction NavigateUri="https://aka.ms/toolkit/docs" />
109+
</interactions:EventTriggerBehavior>
110+
</interactivity:Interaction.Behaviors>
111+
</Button>
92112
<Button win:AutomationProperties.Name="Learn more on GitHub">
93113
<Button.Content>
94114
<StackPanel Orientation="Horizontal"
@@ -107,6 +127,7 @@
107127
</interactions:EventTriggerBehavior>
108128
</interactivity:Interaction.Behaviors>
109129
</Button>
130+
110131
<Button win:AutomationProperties.Name="Join us on Discord">
111132
<Button.Content>
112133
<StackPanel VerticalAlignment="Center"

0 commit comments

Comments
 (0)