Skip to content

Commit 7fbe5c7

Browse files
committed
refactor(assets): updated assets for all pages
1 parent bfad478 commit 7fbe5c7

File tree

145 files changed

+32104
-34560
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+32104
-34560
lines changed

AspnetCoreMvcFull.sln

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.8.34322.80
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AspnetCoreMvcFull", "AspnetCoreMvcFull.csproj", "{9618F5B9-8BCD-4A87-ADF5-D4A4935FB0A6}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AspnetCoreMvcFull", "AspnetCoreMvcFull.csproj", "{B3F387EE-69F2-410B-BF7C-D48AD6403234}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1010
Debug|Any CPU = Debug|Any CPU
1111
Release|Any CPU = Release|Any CPU
1212
EndGlobalSection
1313
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14-
{9618F5B9-8BCD-4A87-ADF5-D4A4935FB0A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15-
{9618F5B9-8BCD-4A87-ADF5-D4A4935FB0A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
16-
{9618F5B9-8BCD-4A87-ADF5-D4A4935FB0A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
17-
{9618F5B9-8BCD-4A87-ADF5-D4A4935FB0A6}.Release|Any CPU.Build.0 = Release|Any CPU
14+
{B3F387EE-69F2-410B-BF7C-D48AD6403234}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{B3F387EE-69F2-410B-BF7C-D48AD6403234}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{B3F387EE-69F2-410B-BF7C-D48AD6403234}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{B3F387EE-69F2-410B-BF7C-D48AD6403234}.Release|Any CPU.Build.0 = Release|Any CPU
1818
EndGlobalSection
1919
GlobalSection(SolutionProperties) = preSolution
2020
HideSolutionNode = FALSE
2121
EndGlobalSection
2222
GlobalSection(ExtensibilityGlobals) = postSolution
23-
SolutionGuid = {E129492E-9D1C-4963-8F37-96CE8E204C18}
23+
SolutionGuid = {D80F505E-3FBC-4ADC-BE79-BD5DED605BAA}
2424
EndGlobalSection
2525
EndGlobal

Controllers/IconsController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ namespace AspnetCoreMvcFull.Controllers;
66

77
public class IconsController : Controller
88
{
9-
public IActionResult MdiIcons() => View();
9+
public IActionResult RiIcons() => View();
1010
}

Gulpfile.js

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,22 @@ const buildCssTask = function (cb) {
6565
// If conf.minify == true, generate compressed style without sourcemap
6666
gulpIf(
6767
conf.minify,
68-
`sass src/site.scss:${conf.distPath}/css/site.css src/scss:${conf.distPath}/vendor/css src/fonts:${conf.distPath}/vendor/fonts src/libs:${conf.distPath}/vendor/libs --style compressed --no-source-map`,
68+
`sass --load-path=node_modules/ src/site.scss:${conf.distPath}/css/site.css src/scss:${conf.distPath}/vendor/css src/fonts:${conf.distPath}/vendor/fonts src/libs:${conf.distPath}/vendor/libs --style compressed --no-source-map`,
6969
gulpIf(
7070
conf.fastDev,
71-
`sass src/site.scss:${conf.distPath}/css/site.css src/scss:${conf.distPath}/vendor/css src/scss/pages:${conf.distPath}/vendor/css/pages src/fonts:${conf.distPath}/vendor/fonts src/libs:${conf.distPath}/vendor/libs --no-source-map`
71+
`sass --load-path=node_modules/ src/site.scss:${conf.distPath}/css/site.css src/scss:${conf.distPath}/vendor/css src/scss/pages:${conf.distPath}/vendor/css/pages src/fonts:${conf.distPath}/vendor/fonts src/libs:${conf.distPath}/vendor/libs --no-source-map`
7272
)
7373
),
7474
function (err) {
7575
cb(err);
7676
}
7777
),
78-
sass({
79-
outputStyle: conf.minify ? 'compressed' : 'expanded'
80-
}).on('error', sass.logError)
78+
sass
79+
.sync({
80+
includePaths: ['node_modules'], // Add this line to include node_modules
81+
outputStyle: conf.minify ? 'compressed' : 'expanded'
82+
})
83+
.on('error', sass.logError)
8184
)
8285
)
8386
.pipe(gulpIf(conf.sourcemaps, sourcemaps.write()))
@@ -88,7 +91,8 @@ const buildCssTask = function (cb) {
8891
path.dirname = path.dirname.replace('scss', 'css');
8992
})
9093
)
91-
.pipe(dest(conf.distPath));
94+
.pipe(dest(conf.distPath))
95+
.pipe(browserSync.stream());
9296
};
9397

9498
// Build JS
@@ -147,8 +151,14 @@ const pageJsTask = function () {
147151

148152
const FONT_TASKS = [
149153
{
150-
name: 'materialdesignicons',
151-
path: 'node_modules/@mdi/font/fonts/*'
154+
name: 'remixicon',
155+
path: [
156+
'node_modules/remixicon/fonts/remixicon.eot',
157+
'node_modules/remixicon/fonts/remixicon.ttf',
158+
'node_modules/remixicon/fonts/remixicon.woff',
159+
'node_modules/remixicon/fonts/remixicon.woff2',
160+
'node_modules/remixicon/fonts/remixicon.svg'
161+
]
152162
}
153163
].reduce(function (tasks, font) {
154164
const functionName = `buildFonts${font.name.replace(/^./, m => m.toUpperCase())}Task`;

Views/Auth/ForgotPasswordBasic.cshtml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,39 @@
1111

1212
<div class="position-relative">
1313
<div class="authentication-wrapper authentication-basic container-p-y">
14-
<div class="authentication-inner py-4">
14+
<div class="authentication-inner py-6 mx-4">
1515

1616
<!-- Logo -->
17-
<div class="card p-2">
17+
<div class="card p-7">
1818
<!-- Forgot Password -->
1919
<div class="app-brand justify-content-center mt-5">
20-
<a href="/" class="app-brand-link gap-2">
20+
<a href="/" class="app-brand-link gap-3">
2121
<span class="app-brand-logo demo">@await Html.PartialAsync("../_Partials/_Macros")</span>
2222
<span class="app-brand-text demo text-heading fw-semibold">@TempData.Peek("appName")</span>
2323
</a>
2424
</div>
2525
<!-- /Logo -->
26-
<div class="card-body mt-2">
27-
<h4 class="mb-2">Forgot Password? 🔒</h4>
28-
<p class="mb-4">Enter your email and we'll send you instructions to reset your password</p>
29-
<form id="formAuthentication" class="mb-3" action="~/Auth/ResetPasswordBasic" method="GET">
30-
<div class="form-floating form-floating-outline mb-3">
26+
<div class="card-body mt-1">
27+
<h4 class="mb-1">Forgot Password? 🔒</h4>
28+
<p class="mb-5">Enter your email and we'll send you instructions to reset your password</p>
29+
<form id="formAuthentication" class="mb-5" action="~/" method="GET">
30+
<div class="form-floating form-floating-outline mb-5">
3131
<input type="text" class="form-control" id="email" name="email" placeholder="Enter your email" autofocus>
3232
<label>Email</label>
3333
</div>
34-
<button class="btn btn-primary d-grid w-100">Send Reset Link</button>
34+
<button class="btn btn-primary d-grid w-100 mb-5">Send Reset Link</button>
3535
</form>
3636
<div class="text-center">
3737
<a href="~/Auth/LoginBasic" class="d-flex align-items-center justify-content-center">
38-
<i class="mdi mdi-chevron-left scaleX-n1-rtl mdi-24px"></i>
38+
<i class="ri-arrow-left-s-line scaleX-n1-rtl ri-20px me-1_5"></i>
3939
Back to login
4040
</a>
4141
</div>
4242
</div>
4343
</div>
4444
<!-- /Forgot Password -->
4545
<img src="~/img/illustrations/tree-3.png" alt="auth-tree" class="authentication-image-object-left d-none d-lg-block">
46-
<img src="~/img/illustrations/auth-basic-mask-light.png" class="authentication-image d-none d-lg-block" alt="triangle-bg" data-app-light-img="illustrations/auth-basic-mask-light.png" data-app-dark-img="illustrations/auth-basic-mask-dark.png">
46+
<img src="~/img/illustrations/auth-basic-mask-light.png" class="authentication-image d-none d-lg-block" height="172" alt="triangle-bg" data-app-light-img="illustrations/auth-basic-mask-light.png" data-app-dark-img="illustrations/auth-basic-mask-dark.png">
4747
<img src="~/img/illustrations/tree.png" alt="auth-tree" class="authentication-image-object-right d-none d-lg-block">
4848
</div>
4949
</div>

Views/Auth/LoginBasic.cshtml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,41 +11,41 @@
1111

1212
<div class="position-relative">
1313
<div class="authentication-wrapper authentication-basic container-p-y">
14-
<div class="authentication-inner py-4">
14+
<div class="authentication-inner py-6 mx-4">
1515

1616
<!-- Login -->
17-
<div class="card p-2">
17+
<div class="card p-7">
1818
<!-- Logo -->
1919
<div class="app-brand justify-content-center mt-5">
20-
<a href="/" class="app-brand-link gap-2">
20+
<a href="/" class="app-brand-link gap-3">
2121
<span class="app-brand-logo demo">@await Html.PartialAsync("../_Partials/_Macros")</span>
2222
<span class="app-brand-text demo text-heading fw-semibold">@TempData.Peek("appName")</span>
2323
</a>
2424
</div>
2525
<!-- /Logo -->
2626

27-
<div class="card-body mt-2">
28-
<h4 class="mb-2">Welcome to @TempData.Peek("appName")! 👋</h4>
29-
<p class="mb-4">Please sign-in to your account and start the adventure</p>
27+
<div class="card-body mt-1">
28+
<h4 class="mb-1">Welcome to @TempData.Peek("appName")! 👋🏻</h4>
29+
<p class="mb-5">Please sign-in to your account and start the adventure</p>
3030

31-
<form id="formAuthentication" class="mb-3" action="~/" method="GET">
32-
<div class="form-floating form-floating-outline mb-3">
31+
<form id="formAuthentication" class="mb-5" action="~/" method="GET">
32+
<div class="form-floating form-floating-outline mb-5">
3333
<input type="text" class="form-control" id="email" name="email-username" placeholder="Enter your email or username" autofocus>
3434
<label for="email">Email or Username</label>
3535
</div>
36-
<div class="mb-3">
36+
<div class="mb-5">
3737
<div class="form-password-toggle">
3838
<div class="input-group input-group-merge">
3939
<div class="form-floating form-floating-outline">
4040
<input type="password" id="password" class="form-control" name="password" placeholder="&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;" aria-describedby="password" />
4141
<label for="password">Password</label>
4242
</div>
43-
<span class="input-group-text cursor-pointer"><i class="mdi mdi-eye-off-outline"></i></span>
43+
<span class="input-group-text cursor-pointer"><i class="ri-eye-off-line ri-20px"></i></span>
4444
</div>
4545
</div>
4646
</div>
47-
<div class="mb-3 d-flex justify-content-between">
48-
<div class="form-check">
47+
<div class="mb-5 pb-2 d-flex justify-content-between pt-2 align-items-center">
48+
<div class="form-check mb-0">
4949
<input class="form-check-input" type="checkbox" id="remember-me">
5050
<label class="form-check-label" for="remember-me">
5151
Remember Me
@@ -55,12 +55,12 @@
5555
<span>Forgot Password?</span>
5656
</a>
5757
</div>
58-
<div class="mb-3">
59-
<button class="btn btn-primary d-grid w-100" type="submit">Sign in</button>
58+
<div class="mb-5">
59+
<button class="btn btn-primary d-grid w-100" type="submit">login</button>
6060
</div>
6161
</form>
6262

63-
<p class="text-center">
63+
<p class="text-center mb-5">
6464
<span>New on our platform?</span>
6565
<a href="/Auth/RegisterBasic">
6666
<span>Create an account</span>
@@ -70,7 +70,7 @@
7070
</div>
7171
<!-- /Login -->
7272
<img src="~/img/illustrations/tree-3.png" alt="auth-tree" class="authentication-image-object-left d-none d-lg-block">
73-
<img src="~/img/illustrations/auth-basic-mask-light.png" class="authentication-image d-none d-lg-block" alt="triangle-bg" data-app-light-img="illustrations/auth-basic-mask-light.png" data-app-dark-img="illustrations/auth-basic-mask-dark.png">
73+
<img src="~/img/illustrations/auth-basic-mask-light.png" class="authentication-image d-none d-lg-block" height="172" alt="triangle-bg" data-app-light-img="illustrations/auth-basic-mask-light.png" data-app-dark-img="illustrations/auth-basic-mask-dark.png">
7474
<img src="~/img/illustrations/tree.png" alt="auth-tree" class="authentication-image-object-right d-none d-lg-block">
7575
</div>
7676
</div>

Views/Auth/RegisterBasic.cshtml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,56 +11,56 @@
1111

1212
<div class="position-relative">
1313
<div class="authentication-wrapper authentication-basic container-p-y">
14-
<div class="authentication-inner py-4">
14+
<div class="authentication-inner py-6 mx-4">
1515

1616
<!-- Register Card -->
17-
<div class="card p-2">
17+
<div class="card p-7">
1818
<!-- Logo -->
1919
<div class="app-brand justify-content-center mt-5">
20-
<a href="/" class="app-brand-link gap-2">
20+
<a href="/" class="app-brand-link gap-3">
2121
<span class="app-brand-logo demo">@await Html.PartialAsync("../_Partials/_Macros")</span>
2222
<span class="app-brand-text demo text-heading fw-semibold">@TempData.Peek("appName")</span>
2323
</a>
2424
</div>
2525
<!-- /Logo -->
26-
<div class="card-body mt-2">
27-
<h4 class="mb-2">Adventure starts here 🚀</h4>
28-
<p class="mb-4">Make your app management easy and fun!</p>
26+
<div class="card-body mt-1">
27+
<h4 class="mb-1">Adventure starts here 🚀</h4>
28+
<p class="mb-5">Make your app management easy and fun!</p>
2929

30-
<form id="formAuthentication" class="mb-3" action="~/" method="GET">
31-
<div class="form-floating form-floating-outline mb-3">
30+
<form id="formAuthentication" class="mb-5" action="~/" method="GET">
31+
<div class="form-floating form-floating-outline mb-5">
3232
<input type="text" class="form-control" id="username" name="username" placeholder="Enter your username" autofocus>
3333
<label for="username">Username</label>
3434
</div>
35-
<div class="form-floating form-floating-outline mb-3">
35+
<div class="form-floating form-floating-outline mb-5">
3636
<input type="text" class="form-control" id="email" name="email" placeholder="Enter your email">
3737
<label for="email">Email</label>
3838
</div>
39-
<div class="mb-3 form-password-toggle">
39+
<div class="mb-5 form-password-toggle">
4040
<div class="input-group input-group-merge">
4141
<div class="form-floating form-floating-outline">
4242
<input type="password" id="password" class="form-control" name="password" placeholder="&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;&#xb7;" aria-describedby="password" />
4343
<label for="password">Password</label>
4444
</div>
45-
<span class="input-group-text cursor-pointer"><i class="mdi mdi-eye-off-outline"></i></span>
45+
<span class="input-group-text cursor-pointer"><i class="ri-eye-off-line ri-20px"></i></span>
4646
</div>
4747
</div>
4848

49-
<div class="mb-3">
50-
<div class="form-check">
49+
<div class="mb-5 py-2">
50+
<div class="form-check mb-0">
5151
<input class="form-check-input" type="checkbox" id="terms-conditions" name="terms">
5252
<label class="form-check-label" for="terms-conditions">
5353
I agree to
5454
<a href="javascript:void(0);">privacy policy & terms</a>
5555
</label>
5656
</div>
5757
</div>
58-
<button class="btn btn-primary d-grid w-100">
58+
<button class="btn btn-primary d-grid w-100 mb-5">
5959
Sign up
6060
</button>
6161
</form>
6262

63-
<p class="text-center">
63+
<p class="text-center mb-5">
6464
<span>Already have an account?</span>
6565
<a href="/Auth/LoginBasic">
6666
<span>Sign in instead</span>
@@ -70,7 +70,7 @@
7070
</div>
7171
<!-- Register Card -->
7272
<img src="~/img/illustrations/tree-3.png" alt="auth-tree" class="authentication-image-object-left d-none d-lg-block">
73-
<img src="~/img/illustrations/auth-basic-mask-light.png" class="authentication-image d-none d-lg-block" alt="triangle-bg" data-app-light-img="illustrations/auth-basic-mask-light.png" data-app-dark-img="illustrations/auth-basic-mask-dark.png">
73+
<img src="~/img/illustrations/auth-basic-mask-light.png" class="authentication-image d-none d-lg-block" height="172" alt="triangle-bg" data-app-light-img="illustrations/auth-basic-mask-light.png" data-app-dark-img="illustrations/auth-basic-mask-dark.png">
7474
<img src="~/img/illustrations/tree.png" alt="auth-tree" class="authentication-image-object-right d-none d-lg-block">
7575
</div>
7676
</div>

0 commit comments

Comments
 (0)