a banner
This commit is contained in:
parent
dcf2a93ad0
commit
197f9f90bb
7 changed files with 10 additions and 32 deletions
21
.vscode/launch.json
vendored
21
.vscode/launch.json
vendored
|
|
@ -65,27 +65,6 @@
|
|||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Yavsc.Org",
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "build-web",
|
||||
"program": "${workspaceFolder}/src/Yavsc.Org/bin/Debug/net10.0/Yavsc.Org.dll",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}/src/Yavsc.Org",
|
||||
"stopAtEntry": false,
|
||||
"serverReadyAction": {
|
||||
"action": "openExternally",
|
||||
"pattern": "\\bNow listening on:\\s+(https://\\S+)"
|
||||
},
|
||||
"env": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
},
|
||||
"envFile": "${workspaceFolder}/.env",
|
||||
"sourceFileMap": {
|
||||
"/Views": "${workspaceFolder}/src/Yavsc.Org/Views"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "cli",
|
||||
"type": "coreclr",
|
||||
|
|
|
|||
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
|
|
@ -22,9 +22,5 @@
|
|||
],
|
||||
"cSpell.reportUnknownWords": true,
|
||||
"cSpell.language": "fr,en",
|
||||
"chat.tools.terminal.autoApprove": {
|
||||
"dotnet test": true
|
||||
},
|
||||
"makefile.configureOnOpen": false,
|
||||
"chat.disableAIFeatures": true
|
||||
"makefile.configureOnOpen": false
|
||||
}
|
||||
|
|
|
|||
|
|
@ -112,3 +112,6 @@ L'impact de l'usage d'un nouveau nom d’environnement d'execution, à l'heure d
|
|||
* ~/Views/Home/Index.cshtml
|
||||
* ~/Views/Home/About.cshtml
|
||||
|
||||
# Remerciements
|
||||
|
||||
Photo de <a href="https://unsplash.com/fr/@dewang?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Dewang Gupta</a>sur <a href="https://unsplash.com/fr/photos/homme-debout-pres-dun-arbre-Mu3T3DmvQQw?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
|
||||
|
|
|
|||
|
|
@ -16,10 +16,7 @@
|
|||
<script src="~/js/site.js" asp-append-version="true"></script>
|
||||
@await RenderSectionAsync("header", false)
|
||||
</head>
|
||||
<body style="background-image: url('@Config.SiteSetup.Banner');
|
||||
background-position: 0%;
|
||||
background-attachment: fixed;
|
||||
">
|
||||
<body>
|
||||
<partial name="_Nav" />
|
||||
@RenderSection("ctxmenu", required: false)
|
||||
@if (ViewBag.Notify != null)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
<nav class="navbar navbar-expand-sm navbar-dark bg-dark" aria-label="Yavsc">
|
||||
<nav class="navbar navbar-expand-sm navbar-dark bg-dark" aria-label="Yavsc"
|
||||
style="background-image: url('@Config.SiteSetup.Banner');
|
||||
background-position: 0%;
|
||||
background-attachment: fixed;">
|
||||
<a class="navbar-brand" href="/">
|
||||
<img src="~/images/yavsc-logo.svg" alt="Yavsc" style="height:32px; margin-right:8px; display:inline-block; vertical-align:middle;" />
|
||||
@Config.SiteSetup.Title
|
||||
|
|
@ -8,7 +11,7 @@
|
|||
aria-expanded="true" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbar" style="background-image: @Config.SiteSetup.Banner;">
|
||||
<div class="collapse navbar-collapse" id="navbar" >
|
||||
<ul class="navbar-nav me-auto" >
|
||||
<li class="nav-item"><a class="nav-link active" aria-current="page" href="/">Home</a></li>
|
||||
<li class="nav-item"><a asp-controller="Blogspot" asp-action="Index" class="nav-link">@Localizer["Blogs"]</a></li>
|
||||
|
|
|
|||
BIN
src/Yavsc.Org/wwwroot/images/banner-dewang.jpg
Normal file
BIN
src/Yavsc.Org/wwwroot/images/banner-dewang.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 108 KiB |
Loading…
Add table
Add a link
Reference in a new issue