Skip to content

Commit

Permalink
Changed About Page style and links
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxlider committed Feb 8, 2024
1 parent 973e23a commit b86dd9b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions FASTER/Views/About.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,19 @@
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Button Grid.Column="0" HorizontalAlignment="Center" Style="{DynamicResource MahApps.Styles.Button.Split}" Name="IGitHubButton" Click="IGitHubButton_Click">
<Button Grid.Column="0" HorizontalAlignment="Center" Style="{DynamicResource MahApps.Styles.Button.MetroSquare.Accent}" Name="IGitHubButton" Click="IGitHubButton_Click">
<StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Github" />
<TextBlock Margin="8 0 0 0" VerticalAlignment="Center">GitHub</TextBlock>
</StackPanel>
</Button>
<Button Grid.Column="1" HorizontalAlignment="Center" Style="{DynamicResource MahApps.Styles.Button.Split}" Name="IForumsButton" Click="IForumsButton_Click">
<Button Grid.Column="1" HorizontalAlignment="Center" Style="{DynamicResource MahApps.Styles.Button.MetroSquare.Accent}" Name="IWikiButton" Click="IWikiButton_Click">
<StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Forum" />
<TextBlock Margin="8 0 0 0" VerticalAlignment="Center">Forums</TextBlock>
<iconPacks:PackIconMaterial Kind="NotebookOutline" />
<TextBlock Margin="8 0 0 0" VerticalAlignment="Center">Wiki</TextBlock>
</StackPanel>
</Button>
<Button Grid.Column="2" HorizontalAlignment="Center" Style="{DynamicResource MahApps.Styles.Button.Split}" Name="IDiscordButton" Click="IDiscordButton_Click">
<Button Grid.Column="2" HorizontalAlignment="Center" Style="{DynamicResource MahApps.Styles.Button.MetroSquare.Accent}" Name="IDiscordButton" Click="IDiscordButton_Click">
<StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Discord" />
<TextBlock Margin="8 0 0 0" VerticalAlignment="Center">Discord</TextBlock>
Expand Down
6 changes: 3 additions & 3 deletions FASTER/Views/About.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ private void IGitHubButton_Click(object sender, RoutedEventArgs e)
Functions.OpenBrowser("https://github.com/Foxlider/FASTER");
}

private void IForumsButton_Click(object sender, RoutedEventArgs e)
private void IWikiButton_Click(object sender, RoutedEventArgs e)
{
Analytics.TrackEvent("About - Clicked Forums", new Dictionary<string, string> {
Analytics.TrackEvent("About - Clicked Wiki", new Dictionary<string, string> {
{ "Name", Properties.Settings.Default.steamUserName }
});
Functions.OpenBrowser("https://forums.bohemia.net/forums/topic/224359-foxs-arma-server-tool-extended-rewrite-faster/");
Functions.OpenBrowser("https://github.com/Foxlider/FASTER/wiki");
}

private void IDonateButton_Click(object sender, RoutedEventArgs e)
Expand Down

0 comments on commit b86dd9b

Please sign in to comment.