diff --git a/FediNews/Components/Accounts/LoginComponent.razor b/FediNews/Components/Accounts/LoginComponent.razor new file mode 100644 index 0000000..89bd19f --- /dev/null +++ b/FediNews/Components/Accounts/LoginComponent.razor @@ -0,0 +1,21 @@ +
+

Login

+
+
+

username / email

+ +
+
+

password

+ +
+
+ + Forgot password? +
+
+
+ +@code { + +} diff --git a/FediNews/Components/Accounts/LoginComponent.razor.css b/FediNews/Components/Accounts/LoginComponent.razor.css new file mode 100644 index 0000000..d0e0a31 --- /dev/null +++ b/FediNews/Components/Accounts/LoginComponent.razor.css @@ -0,0 +1,14 @@ +.LoginSection { + margin: 0 auto; +} + +.field { + margin-top: 12px; + margin-bottom: 12px; +} + +.btn { + margin-right: auto; + margin-left: 0; + text-align: right; +} diff --git a/FediNews/Components/Accounts/RegisterComponent.razor b/FediNews/Components/Accounts/RegisterComponent.razor new file mode 100644 index 0000000..84059bc --- /dev/null +++ b/FediNews/Components/Accounts/RegisterComponent.razor @@ -0,0 +1,28 @@ +
+

Register

+
+
+

username

+ +
+
+

email (optional)

+ +
+
+

password

+ +
+
+ @*
*@ + @* *@ + @* *@ + @*
*@ + +
+
+
+ +@code { + +} diff --git a/FediNews/Components/Accounts/RegisterComponent.razor.css b/FediNews/Components/Accounts/RegisterComponent.razor.css new file mode 100644 index 0000000..92a6320 --- /dev/null +++ b/FediNews/Components/Accounts/RegisterComponent.razor.css @@ -0,0 +1,14 @@ +.RegisterSection { + margin: 0 auto; +} + +.field { + margin-top: 12px; + margin-bottom: 12px; +} + +.btn { + margin-right: auto; + margin-left: 0; + text-align: right; +} diff --git a/FediNews/Components/Pages/Account/Login.razor b/FediNews/Components/Pages/Account/Login.razor new file mode 100644 index 0000000..0a8bd22 --- /dev/null +++ b/FediNews/Components/Pages/Account/Login.razor @@ -0,0 +1,14 @@ +@page "/login" + +Login | Fedi News + +
+ +
+
+ +
+ +@code { + +} diff --git a/FediNews/Components/Pages/Account/Login.razor.css b/FediNews/Components/Pages/Account/Login.razor.css new file mode 100644 index 0000000..e7979b2 --- /dev/null +++ b/FediNews/Components/Pages/Account/Login.razor.css @@ -0,0 +1,37 @@ +.accountManagement { + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + margin-top: 7.2px; +} + +@media (max-width: 600px) { + .accountManagement { + flex-direction: column; + } + + .seperatorVert { + display: none !important; + } + + .seperatorHoriz { + display: flex !important; + } +} + +.seperatorVert { + display: flex; + height: 100px; + background-color: grey; + margin: 0 2rem; + width: 2px; +} + +.seperatorHoriz { + display: none; + width: 100px; + height: 2px; + background-color: grey; + margin: 2rem 0; +} diff --git a/FediNews/Components/_Imports.razor b/FediNews/Components/_Imports.razor index a0f7616..7a1972b 100644 --- a/FediNews/Components/_Imports.razor +++ b/FediNews/Components/_Imports.razor @@ -9,3 +9,4 @@ @using FediNews @using FediNews.Components @using FediNews.Components.Items +@using FediNews.Components.Accounts;