-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update TheComingSoonTheme with latest version of StartBootstrap (#4435)
- Loading branch information
1 parent
85f2b58
commit 7b5198e
Showing
70 changed files
with
34,708 additions
and
9,428 deletions.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
src/OrchardCore.Themes/TheComingSoonTheme/ResourceManifest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
using OrchardCore.ResourceManagement; | ||
|
||
namespace OrchardCore.Themes.TheComingSoonTheme | ||
{ | ||
public class ResourceManifest : IResourceManifestProvider | ||
{ | ||
public void BuildManifests(IResourceManifestBuilder builder) | ||
{ | ||
var manifest = builder.Add(); | ||
|
||
manifest | ||
.DefineScript("vendor-jQuery") | ||
.SetUrl("~/TheComingSoonTheme/vendor/jquery/jquery.min.js", "~/TheComingSoonTheme/vendor/jquery/jquery.js") | ||
.SetCdn("https://code.jquery.com/jquery-3.4.1.min.js", "https://code.jquery.com/jquery-3.4.1.js") | ||
.SetCdnIntegrity("sha384-vk5WoKIaW/vJyUAd9n/wmopsmNhiy+L2Z+SBxGYnUkunIxVxAv/UtMOhba/xskxh", "sha384-mlceH9HlqLp7GMKHrj5Ara1+LvdTZVMx4S1U43/NxCvAkzIo8WJ0FE7duLel3wVo") | ||
.SetVersion("3.4.1"); | ||
|
||
manifest | ||
.DefineScript("vendor-jQuery.slim") | ||
.SetUrl("~/TheComingSoonTheme/vendor/jquery/jquery.slim.min.js", "~/TheComingSoonTheme/vendor/jquery/jquery.slim.js") | ||
.SetCdn("https://code.jquery.com/jquery-3.4.1.slim.min.js", "https://code.jquery.com/jquery-3.4.1.slim.js") | ||
.SetCdnIntegrity("sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n", "sha384-teRaFq/YbXOM/9FZ1qTavgUgTagWUPsk6xapwcjkrkBHoWvKdZZuAeV8hhaykl+G") | ||
.SetVersion("3.4.1"); | ||
|
||
manifest | ||
.DefineScript("vendor-bootstrap") | ||
.SetDependencies("vendor-jQuery") | ||
.SetUrl("~/TheComingSoonTheme/vendor/bootstrap/js/bootstrap.min.js", "~/TheComingSoonTheme/vendor/bootstrap/js/bootstrap.js") | ||
.SetCdn("https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js", "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.js") | ||
.SetCdnIntegrity("sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM", "sha384-rkSGcquOAzh5YMplX4tcXMuXXwmdF/9eRLkw/gNZG+1zYutPej7fxyVLiOgfoDgi") | ||
.SetVersion("4.3.1"); | ||
|
||
manifest | ||
.DefineScript("vendor-bootstrap-bundle") | ||
.SetDependencies("vendor-jQuery") | ||
.SetUrl("~/TheComingSoonTheme/vendor/bootstrap/js/bootstrap.bundle.min.js", "~/TheComingSoonTheme/vendor/bootstrap/js/bootstrap.bundle.js") | ||
.SetCdn("https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js", "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.js") | ||
.SetCdnIntegrity("sha384-xrRywqdh3PHs8keKZN+8zzc5TX0GRTLCcmivcbNJWm2rs5C8PRhcEn3czEjhAO9o", "sha384-szbKYgPl66wivXHlSpJF+CKDAVckMVnlGrP25Sndhe+PwOBcXV9LlFh4MUpRhjIB") | ||
.SetVersion("4.3.1"); | ||
|
||
manifest | ||
.DefineStyle("vendor-bootstrap") | ||
.SetUrl("~/TheComingSoonTheme/vendor/bootstrap/css/bootstrap.min.css", "~/TheComingSoonTheme/vendor/bootstrap/css/bootstrap.css") | ||
.SetCdn("https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css", "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.css") | ||
.SetCdnIntegrity("sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T", "sha384-t4IGnnWtvYimgcRMiXD2ZD04g28Is9vYsVaHo5LcWWJkoQGmMwGg+QS0mYlhbVv3") | ||
.SetVersion("4.3.1"); | ||
|
||
manifest | ||
.DefineStyle("vendor-font-awesome") | ||
.SetUrl("~/TheComingSoonTheme/vendor/fontawesome-free/css/all.min.css", "~/TheComingSoonTheme/vendor/fontawesome-free/css/all.css") | ||
.SetCdn("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.10.2/css/all.min.css", "https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.10.2/css/all.css") | ||
.SetCdnIntegrity("sha384-rtJEYb85SiYWgfpCr0jn174XgJTn4rptSOQsMroFBPQSGLdOC5IbubP6lJ35qoM9", "sha384-Ex0vLvgbKZTFlqEetkjk2iUgM+H5udpQKFKjBoGFwPaHRGhiWyVI6jLz/3fBm5ht") | ||
.SetVersion("5.10.2"); | ||
|
||
manifest | ||
.DefineScript("vendor-font-awesome") | ||
.SetCdn("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.10.2/js/all.min.js", "https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.10.2/js/all.js") | ||
.SetCdnIntegrity("sha384-QMu+Y+eu45Nfr9fmFOlw8EqjiUreChmoQ7k7C1pFNO8hEbGv9yzsszTmz+RzwyCh", "sha384-7/I8Wc+TVwiZpEjE4qTV6M27LYR5Dus6yPGzQZowRtgh+0gDW9BNR9GmII1/YwmG") | ||
.SetVersion("5.10.2"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Microsoft.Extensions.DependencyInjection; | ||
using OrchardCore.Modules; | ||
using OrchardCore.ResourceManagement; | ||
|
||
namespace OrchardCore.Themes.TheComingSoonTheme | ||
{ | ||
public class Startup : StartupBase | ||
{ | ||
public override void ConfigureServices(IServiceCollection serviceCollection) | ||
{ | ||
serviceCollection.AddScoped<IResourceManifestProvider, ResourceManifest>(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/OrchardCore.Themes/TheComingSoonTheme/wwwroot/.browserslistrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# https://github.com/browserslist/browserslist#readme | ||
|
||
>= 1% | ||
last 1 major version | ||
not dead | ||
Chrome >= 60 | ||
Firefox >= 60 | ||
Edge >= 15.15063 | ||
Explorer 11 | ||
iOS >= 10 | ||
Safari >= 10 | ||
Android >= 6 | ||
not ExplorerMobile <= 11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/OrchardCore.Themes/TheComingSoonTheme/wwwroot/css/coming-soon.min.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.