This commit is contained in:
mmrbnjd
2024-04-01 16:52:29 +03:30
parent 90545682b6
commit faa78adae6
8 changed files with 576 additions and 25 deletions

View File

@@ -17,7 +17,10 @@
}
</div>
<a href="">ادامه...</a>
<NavLink href="ListBlog">
<span>ادامه دارد ...</span>
<b></b>
</NavLink>
</div>
</div>
</div>

View File

@@ -0,0 +1,33 @@
@inherits LayoutComponentBase
<HeadContent>
<!-- Place favicon.ico in the root directory -->
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.png">
<!-- CSS here -->
<link rel="stylesheet" href="css/bootstrap.rtl.min.css">
<link rel="stylesheet" href="css/animate.css">
<link rel="stylesheet" href="css/custom-animation.css">
<link rel="stylesheet" href="css/slick.css">
<link rel="stylesheet" href="css/nice-select.css">
<link rel="stylesheet" href="css/flaticon.css">
<link rel="stylesheet" href="css/swiper-bundle.css">
<link rel="stylesheet" href="css/meanmenu.css">
<link rel="stylesheet" href="css/font-awesome-pro.css">
<link rel="stylesheet" href="css/magnific-popup.css">
<link rel="stylesheet" href="css/spacing.css">
<link rel="stylesheet" href="css/Lanstyle.css">
<link rel="stylesheet" href="css/rtl.css">
</HeadContent>
<LBlogheader />
<div id="smooth-wrapper">
<div id="smooth-content">
@Body
<Lfooter />
</div>
</div>

View File

@@ -0,0 +1,77 @@
.page {
position: relative;
display: flex;
flex-direction: column;
}
main {
flex: 1;
}
.sidebar {
background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}
.top-row {
background-color: #f7f7f7;
border-bottom: 1px solid #d6d5d5;
justify-content: flex-end;
height: 3.5rem;
display: flex;
align-items: center;
}
.top-row ::deep a, .top-row ::deep .btn-link {
white-space: nowrap;
margin-left: 1.5rem;
text-decoration: none;
}
.top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
text-decoration: underline;
}
.top-row ::deep a:first-child {
overflow: hidden;
text-overflow: ellipsis;
}
@media (max-width: 640.98px) {
.top-row {
justify-content: space-between;
}
.top-row ::deep a, .top-row ::deep .btn-link {
margin-left: 0;
}
}
@media (min-width: 641px) {
.page {
flex-direction: row;
}
.sidebar {
width: 250px;
height: 100vh;
position: sticky;
top: 0;
}
.top-row {
position: sticky;
top: 0;
z-index: 1;
}
.top-row.auth ::deep a:first-child {
flex: 1;
text-align: right;
width: 0;
}
.top-row, article {
padding-left: 2rem !important;
padding-right: 1.5rem !important;
}
}

View File

@@ -0,0 +1,34 @@

<header>
<!-- tp-header-area-start -->
<div id="header-sticky" class="header-bottom__area header-sticky-bg-2 header-bottom__transparent header-bottom__bdr z-index-5">
<div class="container">
<div class="row g-0 align-items-center">
<div class="col-xxl-2 col-xl-2 col-lg-2 col-md-4 col-6">
<div class="header-bottom__logo">
<a class="white-logo" href="#"><img src="img/logo/logo-white.png" alt=""></a>
<a class="black-logo" href="#"><img src="img/logo/logo-black.png" alt=""></a>
</div>
</div>
<div class="col-xxl-7 col-xl-7 col-lg-7 d-none d-lg-block">
<div class="header-bottom__main-menu header-bottom__main-menu-4 header-bottom__main-menu-inner">
<nav id="mobile-menu">
<ul>
<li>
<NavLink href="#">صفحه اصلی</NavLink>
</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
</div>
<!-- tp-header-area-end -->
</header>
@code {
}

View File

@@ -0,0 +1,27 @@
<div class="header-bottom__right d-flex align-items-center justify-content-end">
<div class="header-bottom__btn d-flex align-items-center">
<NavLink class="tp-btn-white" href="Register">
<span>ثبت نام</span>
<b></b>
</NavLink>
</div>
<div class="header-bottom__action">
<NavLink class="d-none d-lg-inline-block last-child" href="Sign-in">
<svg width="14" height="16" viewBox="0 0 14 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7 8C8.92882 8 10.4924 6.433 10.4924 4.5C10.4924 2.567 8.92882 1 7 1C5.07118 1 3.50757 2.567 3.50757 4.5C3.50757 6.433 5.07118 8 7 8Z"
stroke="currentColor" stroke-width="1.5" stroke-linecap="round"
stroke-linejoin="round" />
<path d="M13 15C13 12.291 10.3108 10.1 7 10.1C3.68917 10.1 1 12.291 1 15"
stroke="currentColor" stroke-width="1.5" stroke-linecap="round"
stroke-linejoin="round" />
</svg>
<span>ورود</span>
</NavLink>
</div>
</div>
@code {
}

View File

@@ -32,29 +32,7 @@
</div>
</div>
<div class="col-xxl-4 col-xl-5 col-lg-5 col-md-8 col-6">
<div class="header-bottom__right d-flex align-items-center justify-content-end">
<div class="header-bottom__btn d-flex align-items-center">
<NavLink class="tp-btn-white" href="Register">
<span>ثبت نام</span>
<b></b>
</NavLink>
</div>
<div class="header-bottom__action">
<NavLink class="d-none d-lg-inline-block last-child" href="Sign-in">
<svg width="14" height="16" viewBox="0 0 14 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7 8C8.92882 8 10.4924 6.433 10.4924 4.5C10.4924 2.567 8.92882 1 7 1C5.07118 1 3.50757 2.567 3.50757 4.5C3.50757 6.433 5.07118 8 7 8Z"
stroke="currentColor" stroke-width="1.5" stroke-linecap="round"
stroke-linejoin="round" />
<path d="M13 15C13 12.291 10.3108 10.1 7 10.1C3.68917 10.1 1 12.291 1 15"
stroke="currentColor" stroke-width="1.5" stroke-linecap="round"
stroke-linejoin="round" />
</svg>
<span>ورود</span>
</NavLink>
</div>
</div>
<LSign_in_Register />
</div>
</div>
</div>