vault backup: 2025-06-23 00:01:29

This commit is contained in:
2025-06-23 00:01:29 +03:30
parent a7f5370340
commit 8e7ad789fb
1347 changed files with 0 additions and 229 deletions
@@ -0,0 +1,138 @@
<div class="slideshow-container">
@{
List<string> myList = ViewBag.ListOfNames as List<string>;
}
<a class="navbar-brand" asp-controller="Home" asp-action="Privacy">Privacy</a>
@foreach(string item in myList)
{
<img src="/img/@(item).png" />
<a class="navbar-brand" asp-controller="Home" asp-action="Person2" asp-route-name="@item">
@item
</a>
}
<style>
* {box-sizing:border-box}
/* Slideshow container */
.slideshow-container {
max-width: 1000px;
position: relative;
margin: auto;
}
/* Hide the images by default */
.mySlides {
display: none;
}
/* Next & previous buttons */
.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
margin-top: -22px;
padding: 16px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
}
/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
background-color: rgba(0,0,0,0.8);
}
/* Caption text */
.text {
color: #f2f2f2;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}
/* Number text (1/3 etc) */
.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}
.active, .dot:hover {
background-color: #717171;
}
/* Fading animation */
.fade {
animation-name: fade;
animation-duration: 1.5s;
}
@@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
</style>
<script>
let slideIndex = 1;
showSlides(slideIndex);
// Next/previous controls
function plusSlides(n) {
showSlides(slideIndex += n);
}
// Thumbnail image controls
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
let i;
let slides = document.getElementsByClassName("mySlides");
let dots = document.getElementsByClassName("dot");
if (n > slides.length) { slideIndex = 1 }
if (n < 1) { slideIndex = slides.length }
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex - 1].style.display = "block";
dots[slideIndex - 1].className += " active";
}
</script>
@@ -0,0 +1,48 @@
@model Character
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<div class="card">
<img src="/img/@Model.ImageName" alt="John" style="width:100%">
<h1>@Model.Name</h1>
<p class="title">@Model.Birthdate</p>
<p>@Model.Quote</p>
<p><button>View</button></p>
</div>
<style>
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
max-width: 300px;
margin: auto;
text-align: center;
}
.title {
color: grey;
font-size: 18px;
}
button {
border: none;
outline: 0;
display: inline-block;
padding: 8px;
color: white;
background-color: #000;
text-align: center;
cursor: pointer;
width: 100%;
font-size: 18px;
}
a {
text-decoration: none;
font-size: 22px;
color: black;
}
button:hover, a:hover {
opacity: 0.7;
}
</style>
@@ -0,0 +1,50 @@
@model Character
<link rel="stylesheet" href="~/css/Sample1.css" />
<aside class="profile-card">
<header>
<a target="_blank" href="#">
<img src="~/img/@Model.ImageName" class="hoverZoomLink">
</a>
<h1>
@Model.Name
</h1>
<h2>
@Model.Birthdate
</h2>
</header>
<div class="profile-bio">
<p>
@Model.Quote
</p>
</div>
<ul class="profile-social-links">
<li>
<a target="_blank" href="https://www.facebook.com/creativedonut">
<i class="fa fa-facebook"></i>
</a>
</li>
<li>
<a target="_blank" href="https://twitter.com/dropyourbass">
<i class="fa fa-twitter"></i>
</a>
</li>
<li>
<a target="_blank" href="https://github.com/vipulsaxena">
<i class="fa fa-github"></i>
</a>
</li>
<li>
<a target="_blank" href="https://www.behance.net/vipulsaxena">
<i class="fa fa-behance"></i>
</a>
</li>
</ul>
</aside>
@@ -0,0 +1,6 @@
@{
ViewData["Title"] = "Privacy Policy";
}
<h1>@ViewData["Title"]</h1>
<p>Use this page to detail your site's privacy policy.</p>