Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
guru
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
guru
Commits
023bc3a7
Commit
023bc3a7
authored
Oct 17, 2018
by
Clint Mourlevat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding bundleconfig.json & minimisation
parent
ce82bd26
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
2 deletions
+30
-2
Stratis.Guru.csproj
Stratis.Guru.csproj
+1
-0
_Layout.cshtml
Views/Shared/_Layout.cshtml
+9
-1
bundleconfig.json
bundleconfig.json
+19
-0
default.css
wwwroot/css/default.css
+1
-1
default.js
wwwroot/js/default.js
+0
-0
No files found.
Stratis.Guru.csproj
View file @
023bc3a7
...
...
@@ -5,6 +5,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BuildBundlerMinifier" Version="2.8.391" />
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.1.2" PrivateAssets="All" />
<PackageReference Include="NStratis" Version="4.0.0.34" />
...
...
Views/Shared/_Layout.cshtml
View file @
023bc3a7
...
...
@@ -13,6 +13,9 @@
<environment
include=
"Development"
>
<link
href=
"~/css/default.css"
rel=
"stylesheet"
type=
"text/css"
>
</environment>
<environment
exclude=
"Development"
>
<link
href=
"~/css/default.min.css"
rel=
"stylesheet"
type=
"text/css"
>
</environment>
</head>
<body>
<header
class=
"header-area"
>
...
...
@@ -52,7 +55,12 @@
<script
src=
"~/js/parallax.min.js"
></script>
<script
src=
"~/js/owl.carousel.min.js"
></script>
<script
src=
"~/js/particle-green.js"
></script>
<script
src=
"~/js/custom.js"
></script>
<environment
include=
"Development"
>
<script
src=
"~/js/default.js"
></script>
</environment>
<environment
exclude=
"Development"
>
<script
src=
"~/js/default.min.js"
></script>
</environment>
@RenderSection("Scripts", false)
</body>
<script
async
src=
"https://www.googletagmanager.com/gtag/js?id=UA-111742056-1"
></script>
...
...
bundleconfig.json
0 → 100644
View file @
023bc3a7
[
{
"outputFileName"
:
"wwwroot/css/default.min.css"
,
"inputFiles"
:
[
"wwwroot/css/default.css"
]
},
{
"outputFileName"
:
"wwwroot/js/default.min.js"
,
"inputFiles"
:
[
"wwwroot/js/default.js"
],
"minify"
:
{
"enabled"
:
true
,
"renameLocals"
:
true
},
"sourceMap"
:
false
}
]
\ No newline at end of file
wwwroot/css/default.css
View file @
023bc3a7
...
...
@@ -1429,7 +1429,7 @@ welcome area
position
:
relative
;
background-image
:
url("/images/prodnews-hero.png")
;
background-size
:
cover
;
box-shadow
:
inset
0px
0px
10em
#0006
;
box-shadow
:
inset
0px
0px
10em
rgba
(
0
,
0
,
0
,
0.6
)
;
}
.welcome-area.bg-top-right
:before
{
...
...
wwwroot/js/
custom
.js
→
wwwroot/js/
default
.js
View file @
023bc3a7
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment