refactor: host project heros on cdn

This commit is contained in:
Oliver Booth 2023-09-29 16:02:29 +01:00
parent 3b9440b046
commit 3c427b4430
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5
12 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@
<div class="col-xs-1 col-md-6 col-lg-6 d-flex align-items-stretch"> <div class="col-xs-1 col-md-6 col-lg-6 d-flex align-items-stretch">
<div class="card border-success project-card"> <div class="card border-success project-card">
<div class="card-header text-bg-success">In Active Development</div> <div class="card-header text-bg-success">In Active Development</div>
<img src="~/img/projects/hero/@project.HeroUrl" class="card-img-top" alt="@project.Name"> <img src="https://cdn.olivr.me/projects/hero/@project.HeroUrl" class="card-img-top" alt="@project.Name">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">@project.Name</h5> <h5 class="card-title">@project.Name</h5>
<p class="card-text">@Html.Raw(ProjectService.GetDescription(project))</p> <p class="card-text">@Html.Raw(ProjectService.GetDescription(project))</p>
@ -48,7 +48,7 @@
<div class="col-xs-1 col-md-6 col-lg-6 d-flex align-items-stretch"> <div class="col-xs-1 col-md-6 col-lg-6 d-flex align-items-stretch">
<div class="card border-info project-card"> <div class="card border-info project-card">
<div class="card-header text-bg-info">Past Work</div> <div class="card-header text-bg-info">Past Work</div>
<img src="~/img/projects/hero/@project.HeroUrl" class="card-img-top" alt="@project.Name"> <img src="https://cdn.olivr.me/projects/hero/@project.HeroUrl" class="card-img-top" alt="@project.Name">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">@project.Name</h5> <h5 class="card-title">@project.Name</h5>
<p class="card-text">@Html.Raw(ProjectService.GetDescription(project))</p> <p class="card-text">@Html.Raw(ProjectService.GetDescription(project))</p>
@ -80,7 +80,7 @@
<div class="col-xs-1 col-md-6 col-lg-6 d-flex align-items-stretch"> <div class="col-xs-1 col-md-6 col-lg-6 d-flex align-items-stretch">
<div class="card border-dark project-card"> <div class="card border-dark project-card">
<div class="card-header text-bg-dark">On Hiatus</div> <div class="card-header text-bg-dark">On Hiatus</div>
<img src="~/img/projects/hero/@project.HeroUrl" class="card-img-top" alt="@project.Name"> <img src="https://cdn.olivr.me/projects/hero/@project.HeroUrl" class="card-img-top" alt="@project.Name">
<div class="card-body"> <div class="card-body">
<h5 class="card-title">@project.Name</h5> <h5 class="card-title">@project.Name</h5>
<p class="card-text">@Html.Raw(ProjectService.GetDescription(project))</p> <p class="card-text">@Html.Raw(ProjectService.GetDescription(project))</p>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 410 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB