Skip to content

Commit

Permalink
Merge pull request #727 from Accuraty/home-content-updates
Browse files Browse the repository at this point in the history
Home content updates and a small reorganization
  • Loading branch information
david-poindexter authored Sep 28, 2024
2 parents c802a85 + c6ea1b6 commit ef45cc0
Show file tree
Hide file tree
Showing 10 changed files with 132 additions and 53 deletions.
56 changes: 56 additions & 0 deletions DNNDocs.code-workspace-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"folders": [
{
"name": "DNNDocs (root)",
"path": "."
},
{
"name": "templates/dnn-docs",
"path": "templates/dnn-docs"
},
{
"name": "content",
"path": "content"
}, ],
"settings": {
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"terminal.integrated.cwd": "${workspaceFolder}",
"terminal.integrated.defaultProfile.windows": "PowerShell",
"terminal.integrated.profiles.windows": {
"PowerShell": {
"path": "pwsh.exe",
"args": [
"-noexit",
"-command",
"Write-Host 'See the .code-workspace file to update these terminal startup commands, reminders, etc.' -ForegroundColor DarkCyan;",
"Write-Host \"PowerShell ($($PSVersionTable.PSEdition)): v$($PSVersionTable.PSVersion)\" -ForegroundColor DarkCyan;",
"Write-Host '';",
"Write-Host 'DNNDocs - GitHub forked and local';",
"Write-Host 'REQUIRED: .NET Runtime 6 (Noted 20240865)' -ForegroundColor Yellow;",
"Write-Host '';",
"Write-Host 'REMINDERS:' -ForegroundColor Magenta;",
"Write-Host 'Home page /templates/dnn-docs/index.html.tmpl' -ForegroundColor Magenta;",
"Write-Host 'Build using Powershell, \"> .\\build\"';",
"Write-Host 'List installed .NET runtimes or SDKs, \"> dotnet --list-runtimes\" (or --list-sdks)';",
"Write-Host 'See the README to Update from Upstream' -ForegroundColor Magenta;",
"# Write-Host 'Reminder: cool or useful reminder goes here, \"> nvm use vNN.NN.NN \"' -ForegroundColor Magenta;",
"# ls ; # for subsequent commands"
]
}
},
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"*.sln": ".env, .browserslistrc, .eslint*, .*.json, .git*, .editorconfig, .nvmrc, .*ignore, gulp*.js, *.code-workspace, build.*, global.json",
"README.md": "READ*",
},
},
"extensions": {
"recommendations": [
"alefragnani.project-manager",
"gruntfuggly.todo-tree",
"aaron-bond.better-comments",
]
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 12 additions & 52 deletions templates/dnn-docs/index.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
</div>
</div>
</div>
<!--
<div class="row home">
<div class="col-lg-12">
<div class="search well well">
Expand All @@ -78,6 +79,7 @@
</div>
</div>
</div>
-->
<div class="row home">
<div class="col-lg-12">
<h2 class="hlead">Explore the Docs</h2>
Expand Down Expand Up @@ -181,62 +183,20 @@
</div>
{{^_disableAffix}}
<div class="hidden-sm col-md-2" role="complementary">
<div class="home side-content">
{{>partials/sidebar/communityEvents}}
</div>
<div class="home side-content">
{{>partials/sidebar/helpfulLinks}}
</div>
<!--
<div class="home side-content">
{{>partials/topContributors}}
{{>partials/recentContributors}}
{{>partials/sidebar/topContributors}}
</div>
<div class="home side-content">
<h4 class="hlead"><i class="fas fa-fire-alt" style="color: #9F58A9"></i> Helpful Links</h4>
<ul class="popular-topics">
<li>
<a href="https://dnncommunity.org/blogs"
title="Written for the Community, by the Community"
target="_blank">Community Blog</a>
</li>
<li>
<a href="https://dnncommunity.org"
title="DNN Platform's Community Home!"
target="_blank">DNNCommunity.org</a>
</li>
<li>
<a href="https://www.dnnsoftware.com"
title="DNN Corp., Evoq"
target="_blank">DNNSoftware.com</a>
</li>
<li>
<a href="https://github.com/dnnsoftware/Dnn.Platform"
title="The complete open source project on GitHub"
target="_blank">DNN Platform GitHub</a>
</li>
<li>
<a href="https://github.com/DNNCommunity/DNNDocs"
title="DNNCommunity/DNNDocs (this) project on GitHub"
target="_blank">DNNDocs GitHub</a>
</li>
</ul>
<h4 class="hlead"><i class="fas fa-globe" style="color: #9F58A9"></i> Community</h4>
<p>Learn more about DNN at these community events:</p>
<ul class="events-list text-center">
<li>
<a href="https://www.dnn-connect.org/" target="_blank">
<img src="images/dnnconnect-2020.jpg">
</a>
<span class="details">2021<br>Obergurgl, Austria</span>
</li>
<li>
<a href="https://www.dnnsummit.org/" target="_blank">
<img src="images/2020-dnn-summit-logo.png">
</a>
<span class="details">Feb 24-26, 2020<br>Orlando, Florida</span>
</li>
<li>
<a href="http://www.southernfrieddnn.com/" target="_blank">
<img src="images/southernfried-logo.jpg">
</a>
<span class="details">3rd Thurs monthly<br>(online)</span>
</li>
</ul>
{{>partials/sidebar/recentContributors}}
</div>
-->
</div>
{{/_disableAffix}}
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/dnn-docs/partials/head.tmpl.partial
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="shortcut icon" href="{{_rel}}{{{_appFaviconPath}}}{{^_appFaviconPath}}favicon.ico{{/_appFaviconPath}}">
<link rel="stylesheet" href="{{_rel}}styles/docfx.vendor.css">
<link rel="stylesheet" href="{{_rel}}styles/docfx.css">
<link rel="stylesheet" href="{{_rel}}styles/main.css">
<link rel="stylesheet" href="{{_rel}}styles/dnndocs.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<link rel="preconnect" href="https://ZPKP9SED9P-dsn.algolia.net" crossorigin />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@alpha" />
Expand Down
32 changes: 32 additions & 0 deletions templates/dnn-docs/partials/sidebar/communityEvents.tmpl.partial
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<h4 class="hlead"><i class="fas fa-globe" style="color: #9F58A9"></i> Upcoming Events</h4>
<p>Learn more about DNN at these community events:</p>
<ul class="events-list text-center">
<li>
<a href="https://www.dnnsummit.org/" target="_blank">
<img src="images/sidebar/2025-Dnn-Summit-Vegas-j26zFozr9J.png">
</a>
<span class="details">
Las Vegas and Virtual<br>
Feb 3-4, 2025
</span>
</li>
<li>
<a href="http://www.southernfrieddnn.com/" target="_blank">
<img src="images/southernfried-logo.jpg">
</a>
<span class="details">
Virtual (Zoom)<br>
3rd Thursday Every Month
</span>
</li>
<li>
<p><strong>Recent events:</strong></p>
<a href="https://www.dnn-connect.org/" target="_blank">
<img src="images/sidebar/2024-Dnn-Connect-Champery-bv93voa26j.png">
</a>
<span class="details">
Champery, Switzerland<br>
May 23-26, 2024
</span>
</li>
</ul>
28 changes: 28 additions & 0 deletions templates/dnn-docs/partials/sidebar/helpfulLinks.tmpl.partial
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<h4 class="hlead"><i class="fas fa-fire-alt" style="color: #9F58A9"></i> Helpful Links</h4>
<ul class="popular-topics">
<li>
<a href="https://dnncommunity.org/blogs"
title="Written for the Community, by the Community"
target="_blank">Community Blog</a>
</li>
<li>
<a href="https://dnncommunity.org"
title="DNN Platform's Community Home!"
target="_blank">DNNCommunity.org</a>
</li>
<li>
<a href="https://github.com/dnnsoftware/Dnn.Platform"
title="The complete open source project on GitHub"
target="_blank">DNN Platform GitHub</a>
</li>
<li>
<a href="https://github.com/DNNCommunity/DNNDocs"
title="DNNCommunity/DNNDocs (this) project on GitHub"
target="_blank">DNNDocs GitHub</a>
</li>
<li>
<a href="https://www.dnnsoftware.com"
title="DNN Corp., Evoq"
target="_blank">DNNSoftware.com (Evoq)</a>
</li>
</ul>
3 changes: 3 additions & 0 deletions templates/dnn-docs/styles/dnndocs.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DocSearch-Button {
width: 18rem;
}

0 comments on commit ef45cc0

Please sign in to comment.