Skip to content

Commit

Permalink
feat: inlcude tailwindcss for o2-auth
Browse files Browse the repository at this point in the history
Merge pull request #100 from live-dev999/live-dev999/issue99
  • Loading branch information
AlbusaOxyuranus committed Nov 21, 2021
2 parents f715d76 + afdfc2e commit 1d79257
Show file tree
Hide file tree
Showing 11 changed files with 2,122 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@
<None Remove="Resources\SharedResource.en" />
<None Remove="Resources\Resources.ru" />
</ItemGroup>

<ItemGroup>
<Folder Include="css\core" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@model LoginModel
@inject Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer Localizer


<div class="row">
<div class="col-md-4">
<section>
Expand All @@ -28,7 +29,7 @@
</div>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary">@Localizer["LogIn"]</button>
<button type="submit" class="bg-blue-500 px-6 py-2">@Localizer["LogIn"]</button>
</div>
<div class="form-group">
<p>
Expand Down
12 changes: 12 additions & 0 deletions src/Services/auth/O2NextGen.Auth.Web/Pages/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - O2NextGen.Auth.Web</title>
<link rel="stylesheet" href="~/css/styles.css" />
</head>
<body>
@RenderBody()
</body>
</html>
3 changes: 3 additions & 0 deletions src/Services/auth/O2NextGen.Auth.Web/Pages/_ViewStart.cshtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@{
Layout = "_Layout";
}
Empty file.
6 changes: 6 additions & 0 deletions src/Services/auth/O2NextGen.Auth.Web/css/tailwind.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

@import url("./core/main.css");

Loading

0 comments on commit 1d79257

Please sign in to comment.