Skip to content

Commit

Permalink
Merge pull request #17 from microsoft/niels9001/previewmessage
Browse files Browse the repository at this point in the history
Add preview message
  • Loading branch information
nmetulev authored Nov 19, 2024
2 parents 8e049ab + 4cb4ad7 commit 6f01e52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 27 deletions.
6 changes: 3 additions & 3 deletions AIDevGallery/Controls/HomePage/Header/HeaderCarousel.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
TextAlignment="Center"
TextWrapping="Wrap">
<Run Text="Learn how to build next-gen experiences with on-device AI." />
<!--<Run Text="This app is in preview," />
<Hyperlink NavigateUri="www.microsoft.com">learn more</Hyperlink>-->
<Run Text="Build next-gen experiences with on-device AI." />
<Run Text="This app is in" />
<Hyperlink NavigateUri="https://aka.ms/ai-dev-gallery">preview</Hyperlink><Run Text="." />
</TextBlock>
</Grid>

Expand Down
24 changes: 0 additions & 24 deletions AIDevGallery/Pages/HomePage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<controls:HeaderCarousel Height="436" />

<StackPanel
Grid.Row="1"
Margin="0,0,0,76"
Expand All @@ -44,28 +43,5 @@
</StackPanel>
</Grid>
</ScrollViewer>

</Grid>
<!--<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="LayoutVisualStates">
<VisualState x:Name="WideLayout">
<VisualState.StateTriggers>
<AdaptiveTrigger MinWindowWidth="960" />
</VisualState.StateTriggers>
</VisualState>
<VisualState x:Name="NarrowLayout">
<VisualState.StateTriggers>
<AdaptiveTrigger MinWindowWidth="0" />
</VisualState.StateTriggers>
<VisualState.Setters>
<Setter Target="Carousel.(Grid.Column)" Value="0" />
<Setter Target="Carousel.(Grid.Row)" Value="1" />
<Setter Target="Carousel.HorizontalAlignment" Value="Stretch" />
<Setter Target="Carousel.MaxWidth" Value="1200" />
<Setter Target="Carousel.Margin" Value="0,48,0,0" />
</VisualState.Setters>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>-->

</Page>

0 comments on commit 6f01e52

Please sign in to comment.