Fix oap theme layout issue
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using Microsoft.Extensions.Options;
|
||||
using OrchardCore.ResourceManagement;
|
||||
|
||||
namespace BenRameyTheme;
|
||||
namespace BenRamey.Theme;
|
||||
|
||||
public class ResourceManagementOptionsConfiguration : IConfigureOptions<ResourceManagementOptions>
|
||||
{
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Options;
|
||||
using BenRameyTheme;
|
||||
using OrchardCore.Modules;
|
||||
using OrchardCore.ResourceManagement;
|
||||
|
||||
namespace Twain.Web;
|
||||
namespace BenRamey.Theme;
|
||||
|
||||
public class Startup : StartupBase
|
||||
{
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using OrchardCore.Modules.Manifest;
|
||||
|
||||
[assembly: Module(
|
||||
Id = "OAP.Content",
|
||||
Name = "Overseas Auto Protection",
|
||||
Author = "Overseas Auto Protection",
|
||||
Website = "https://oaprotection.org/",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using OrchardCore.DisplayManagement.Manifest;
|
||||
|
||||
[assembly: Theme(
|
||||
Id = "OAP.Theme",
|
||||
Name = "OAP Theme",
|
||||
Author = "Overseas Auto Protection",
|
||||
Website = "https://oaprotection.org/",
|
||||
|
||||
@@ -24,10 +24,6 @@
|
||||
<PackageReference Include="OrchardCore.ResourceManagement" Version="1.8.2" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="wwwroot\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Oap\Oap.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -11,7 +11,7 @@ public class ResourceManagementOptionsConfiguration : IConfigureOptions<Resource
|
||||
|
||||
m_manifest
|
||||
.DefineStyle("OapTheme-styles")
|
||||
.SetUrl("~/OapTheme/site.css")
|
||||
.SetUrl("~/Oap.Theme/site.css")
|
||||
.SetVersion("1.0.0");
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
<resources type="Meta" />
|
||||
|
||||
<link type="image/x-icon" rel="shortcut icon" href="~/OapTheme/assets/favicon.ico">
|
||||
<link type="image/x-icon" rel="shortcut icon" href="~/Oap.Theme/assets/favicon.ico">
|
||||
|
||||
<style asp-name="oaptheme-styles"></style>
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
mode: 'development',
|
||||
entry: {
|
||||
site: './Scripts/site.js',
|
||||
},
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using OrchardCore.Modules.Manifest;
|
||||
|
||||
[assembly: Module(
|
||||
Id = "OAP.APIv1",
|
||||
Name = "Overseas Auto Protection API v1",
|
||||
Author = "Overseas Auto Protection",
|
||||
Website = "https://oaprotection.org/api/v1/",
|
||||
|
||||
Reference in New Issue
Block a user