Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 3b85d2f

Browse files
donokudashana
authored andcommitted
Stub out a logged out view
1 parent 9b7969f commit 3b85d2f

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

src/GitHub.VisualStudio/UI/Views/LoggedOutView.xaml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
xmlns:local="clr-namespace:GitHub.VisualStudio.UI.Views"
77
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
88
xmlns:sampleData="clr-namespace:GitHub.SampleData;assembly=GitHub.App"
9+
xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI"
910
DataContext="{Binding ViewModel}"
1011
d:DesignHeight="300"
1112
d:DesignWidth="300"
@@ -29,6 +30,37 @@
2930
</UserControl.Resources>
3031

3132
<DockPanel>
32-
<Label Content="Logged Out" />
33+
<StackPanel Orientation="Vertical" VerticalAlignment="Center">
34+
<ui:OcticonImage Icon="mark_github"
35+
Foreground="{DynamicResource GitHubVsWindowText}"
36+
Margin="0,5"
37+
Width="48"
38+
Height="48" />
39+
<Label
40+
HorizontalAlignment="Center"
41+
FontSize="16"
42+
Content="Connect to GitHub" />
43+
<TextBlock
44+
TextWrapping="Wrap"
45+
TextAlignment="Center"
46+
HorizontalAlignment="Center"
47+
Text="Powerful collaboration, code review, and code management for open source and private projects." />
48+
<StackPanel
49+
Margin="0,5"
50+
HorizontalAlignment="Center"
51+
Orientation="Horizontal">
52+
<TextBlock
53+
Margin="5,0"
54+
HorizontalAlignment="Center">
55+
<Hyperlink>Connect...</Hyperlink>
56+
</TextBlock>
57+
58+
<TextBlock
59+
Margin="5,0"
60+
HorizontalAlignment="Center">
61+
<Hyperlink>Sign up</Hyperlink>
62+
</TextBlock>
63+
</StackPanel>
64+
</StackPanel>
3365
</DockPanel>
3466
</local:GenericLoggedOutView>

0 commit comments

Comments
 (0)