Skip to content

Commit

Permalink
Started UserPage
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmicPredator committed Sep 8, 2023
1 parent 18b987c commit 1ffa6e8
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/AniMoe.App/AniMoe.App.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<None Remove="Views\ReviewView.xaml" />
<None Remove="Views\RootWindow.xaml" />
<None Remove="Views\StaffView.xaml" />
<None Remove="Views\UserPage.xaml" />
</ItemGroup>

<ItemGroup>
Expand Down Expand Up @@ -162,6 +163,9 @@
<None Update="Assets\profile.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<Page Update="Views\UserPage.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Views\StaffView.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
Expand Down
3 changes: 3 additions & 0 deletions src/AniMoe.App/AniMoe.App.csproj.user
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
<None Update="App.xaml">
<SubType>Designer</SubType>
</None>
<Page Update="Views\UserPage.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Views\StaffView.xaml">
<SubType>Designer</SubType>
</Page>
Expand Down
1 change: 1 addition & 0 deletions src/AniMoe.App/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
using Microsoft.Extensions.Caching.Memory;
using AniMoe.App.Models.MediaListStatusModel;
using Serilog;
using Microsoft.UI.Windowing;

namespace AniMoe.App
{
Expand Down
1 change: 1 addition & 0 deletions src/AniMoe.App/Views/RootWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public sealed partial class RootWindow : Window
public RootWindow()
{
this.InitializeComponent();
AppWindow.TitleBar.IconShowOptions = IconShowOptions.HideIconAndSystemMenu;
if (MicaController.IsSupported())
this.SystemBackdrop = new MicaBackdrop { Kind = MicaKind.BaseAlt };
else
Expand Down
11 changes: 11 additions & 0 deletions src/AniMoe.App/Views/UserPage.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<Page
x:Class="AniMoe.App.Views.UserPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="using:AniMoe.App.Views"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid />
</Page>
25 changes: 25 additions & 0 deletions src/AniMoe.App/Views/UserPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Controls.Primitives;
using Microsoft.UI.Xaml.Data;
using Microsoft.UI.Xaml.Input;
using Microsoft.UI.Xaml.Media;
using Microsoft.UI.Xaml.Navigation;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;

namespace AniMoe.App.Views
{
public sealed partial class UserPage : Page
{
public UserPage()
{
this.InitializeComponent();
}
}
}

0 comments on commit 1ffa6e8

Please sign in to comment.