blog-details.component.html 18.6 KB
Newer Older
Ooh-Ao committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519
<app-page-header
  title="Blog Details"
  title1="Blog Deatils"
  activeitem="Pages"
></app-page-header>

<!-- Start::row-1 -->
<div class="grid grid-cols-12 gap-x-6">
  <div class="col-span-12 xxl:col-span-9">
    <div class="box">
      <div class="p-6">
        <img
          class="w-full h-auto rounded-sm"
          src="./assets/img/gallery/8.jpg"
          alt="Image Description"
        />
        <div class="box-body px-0 pb-0">
          <div class="md:flex justify-between mb-5 space-y-2 md:space-y-0">
            <div
              class="sm:flex sm:space-x-4 space-y-2 sm:space-y-0 rtl:space-x-reverse"
            >
              <div class="flex items-center space-x-3 rtl:space-x-reverse">
                <img
                  class="avatar avatar-sm !w-8 !h-8 ring-0 rounded-full"
                  src="./assets/img/users/1.jpg"
                  alt="avatar"
                />
                <div>
                  <p class="text-slate-700 font-medium text-sm dark:text-white">
                    Json Taylor
                  </p>
                </div>
              </div>
              <div class="flex items-center space-x-3 rtl:space-x-reverse">
                <p
                  class="flex space-x-2 rtl:space-x-reverse text-slate-700 dark:text-white text-sm font-medium"
                >
                  <i class="ri ri-calendar-line text-sm"></i
                  ><span>29 September,2022</span>
                </p>
              </div>
              <div class="flex items-center space-x-3 rtl:space-x-reverse">
                <p
                  class="flex space-x-2 rtl:space-x-reverse text-slate-700 dark:text-white text-sm font-medium"
                >
                  <span
                    class="w-1.5 h-1.5 inline-block bg-primary rounded-full my-auto"
                  ></span
                  ><span>Lifestyle</span>
                </p>
              </div>
            </div>
            <div class="flex items-center space-x-3 rtl:space-x-reverse">
              <p
                class="flex space-x-2 rtl:space-x-reverse text-slate-700 dark:text-white text-sm font-medium"
              >
                <i class="ri ri-chat-3-line text-sm"></i
                ><span>(20) Comments</span>
              </p>
            </div>
          </div>
          <h5 class="font-semibold text-slate-700 dark:text-white">
            Lorem ipsum dolor sit amet consectetur adipisicing elit. Elitr vero
            et at eirmod labore et clita invidunt lorem.
          </h5>
          <p class="mt-3 mb-3 text-gray-500 dark:text-white/70 text-sm">
            I must explain to you how all this mistaken idea of denouncing
            pleasure and praising pain was born and I will give you a complete
            account of the system, and expound the actual teachings of the great
            explorer of the truth, the master-builder of human happiness. No one
            rejects, dislikes, or avoids pleasure itself, because it is
            pleasure.
          </p>
          <div class="box bg-gray-100 dark:bg-black/20 mb-5 shadow-none">
            <a aria-label="anchor" href="javascript:void(0);" class=""></a>
            <div class="box-body">
              <blockquote class="relative text-center max-w-2xl mx-auto">
                <div class="relative z-10">
                  <p class="text-xl text-gray-800">
                    <em class="relative">
                      <span class="relative z-10 dark:text-white"
                        >In nature, nothing is perfect and everything is
                        perfect. Trees can be contorted, bent in weird ways, and
                        they're still beautiful..</span
                      >
                    </em>
                  </p>
                  <footer class="blockquote-footer mt-2 text-sm opacity-70">
                    -Someone famous as
                    <cite title="Source Title">-Alice Walker</cite>
                  </footer>
                </div>
              </blockquote>
            </div>
          </div>
          <p class="mt-3 mb-3 text-gray-500 dark:text-white/70 text-sm">
            but because those who do not know how to pursue pleasure rationally
            encounter consequences that are extremely painful. Nor again is
            there anyone who loves or pursues or desires to obtain pain of
            itself, because it is pain, but because occasionally circumstances
            occur in which toil and pain can procure him some great pleasure. To
            take a trivial example.
          </p>
          <div>
            <h5 class="font-semibold text-slate-700 dark:text-white text-sm">
              Shared With :-
            </h5>
            <div class="flex space-x-2 rtl:space-x-reverse mt-2">
              <img
                class="avatar avatar-sm rounded-full"
                src="./assets/img/users/1.jpg"
                alt="Image Description"
              />
              <img
                class="avatar avatar-sm rounded-full"
                src="./assets/img/users/4.jpg"
                alt="Image Description"
              />
              <img
                class="avatar avatar-sm rounded-full"
                src="./assets/img/users/6.jpg"
                alt="Image Description"
              />
              <img
                class="avatar avatar-sm rounded-full"
                src="./assets/img/users/5.jpg"
                alt="Image Description"
              />
              <img
                class="avatar avatar-sm rounded-full hidden sm:flex"
                src="./assets/img/users/7.jpg"
                alt="Image Description"
              />
              <img
                class="avatar avatar-sm rounded-full hidden sm:flex"
                src="./assets/img/users/2.jpg"
                alt="Image Description"
              />
              <img
                class="avatar avatar-sm rounded-full hidden sm:flex"
                src="./assets/img/users/9.jpg"
                alt="Image Description"
              />
              <span
                class="inline-flex items-center justify-center h-[2.375rem] w-[2.375rem] rounded-full bg-gray-100 border-2 border-gray-200 dark:bg-black/20 dark:border-white/10"
              >
                <span
                  class="font-medium text-gray-500 leading-none dark:text-white/70"
                  >9+</span
                >
              </span>
            </div>
          </div>
        </div>
      </div>
      <div class="box-footer bg-transparent">
        <div
          class="sm:flex items-center justify-between space-y-2 sm:space-y-0"
        >
          <div
            class="sm:flex items-center sm:space-x-3 space-y-2 sm:space-y-0 rtl:space-x-reverse"
          >
            <a
              href="javascript:void(0);"
              class="text-xs text-gray-500 dark:text-white/70 space-x-2 rtl:space-x-reverse rounded-full flex font-normal"
              ><i class="text-xs ri ri-heart-line"></i><span>30 Likes</span></a
            >
            <a
              href="javascript:void(0);"
              class="text-xs text-gray-500 dark:text-white/70 space-x-2 rtl:space-x-reverse rounded-full flex font-normal"
              ><i class="text-xs ri ri-share-line"></i
              ><span>350 Shares</span></a
            >
          </div>
          <div class="space-x-2">
            <a
              href="javascript:void(0);"
              class="text-xs text-gray-500 dark:text-white/70 space-x-2 rtl:space-x-reverse rounded-full flex font-normal"
              ><i class="text-xs ri ri-eye-line"></i><span>30k Views</span></a
            >
          </div>
        </div>
      </div>
    </div>
    <div class="box">
      <div class="box-header">
        <h5 class="box-title">Leave a Reply</h5>
      </div>
      <div class="box-body">
        <label for="input-label" class="ti-form-label">Name</label>
        <input
          type="text"
          id="input-label"
          class="ti-form-input mb-5"
          placeholder="YourName"
        />

        <label for="input-label1" class="ti-form-label">Email</label>
        <input
          type="email"
          id="input-label1"
          class="ti-form-input mb-5"
          placeholder="youremail@gmail.com"
        />

        <label class="ti-form-label">Comment</label>
        <textarea class="ti-form-input mb-5" rows="10"></textarea>

        <div class="flex mb-5">
          <input
            type="checkbox"
            class="ti-form-checkbox mt-0.5"
            id="hs-default-checkbox"
          />
          <label
            for="hs-default-checkbox"
            class="text-sm text-gray-500 ltr:ml-3 rtl:mr-3 dark:text-white/70"
            >I Am Not A Robot</label
          >
        </div>

        <button
          type="submit"
          class="py-2 px-3 ti-btn ti-btn-primary ltr:float-right rtl:float-left"
        >
          Submit Reply
        </button>
      </div>
    </div>
  </div>
  <div class="col-span-12 xxl:col-span-3">
    <div class="box">
      <div class="box-body p-0">
        <div class="swiper mySwiper8">
          <div class="swiper-wrapper">
            <swiper
              [slidesPerView]="1"
              (swiper)="setThumbsSwiper($event)"
              [zoom]="true"
              [autoplay]="true"
              [navigation]="false"
              [watchSlidesProgress]="true"
            >
              <ng-template
                swiperSlide
                *ngFor="let image of imageData; let i = index"
              >
                <div class="swiper-slide">
                  <div class="rtl:dir-rtl">
                    <img src="{{ image.src }}" alt="image" />
                    <div class="blog-caption text-start">
                      <p class="mb-2 text-xs">{{ image.text }}</p>
                      <h6 class="text-base font-semibold mb-2">
                        {{ image.text2 }}
                      </h6>
                      <div class="flex items-center">
                        <img
                          src="./assets/img/users/15.jpg"
                          alt=""
                          class="shadow-none ring-transparent avatar avatar-sm !rounded-full ltr:mr-2 rtl:ml-2"
                        />
                        <div class="font-semibold">
                          {{ image.name }}
                          <span class="text-xs opacity-70 font-normal">{{
                            image.date
                          }}</span>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </ng-template>
            </swiper>
          </div>
        </div>
      </div>
    </div>
    <div class="box">
      <div class="box-header">
        <h5 class="box-title">Popular Blogs</h5>
      </div>
      <div class="box-body">
        <ul class="flex flex-col">
          <li
            class="ti-list-group pt-0 px-0 border-0 text-gray-800 dark:text-white"
          >
            <a
              href="javascript:void(0);"
              class="space-x-3 flex rtl:space-x-reverse"
            >
              <img
                src="./assets/img/gallery/7.jpg"
                class="avatar avatar-lg rounded-sm ring-0"
                alt="Image Description"
              />
              <div class="space-y-1 my-auto">
                <h3 class="font-semibold text-sm">
                  Lorem ipsum dolor sit amet consectetur adipisicing elit.
                </h3>
                <p
                  class="flex space-x-2 rtl:space-x-reverse text-gray-500 dark:text-white/70 text-xs"
                >
                  <i class="ri ri-calendar-line text-xs"></i
                  ><span>Sept 29 , 2022</span>
                </p>
              </div>
            </a>
          </li>
          <li class="ti-list-group px-0 border-0 text-gray-800 dark:text-white">
            <a
              href="javascript:void(0);"
              class="space-x-3 flex rtl:space-x-reverse"
            >
              <img
                src="./assets/img/gallery/9.jpg"
                class="avatar avatar-lg rounded-sm ring-0"
                alt="Image Description"
              />
              <div class="space-y-1 my-auto">
                <h3 class="font-semibold text-sm">
                  Lorem ipsum dolor sit amet consectetur adipisicing elit.
                </h3>
                <p
                  class="flex space-x-2 rtl:space-x-reverse text-gray-500 dark:text-white/70 text-xs"
                >
                  <i class="ri ri-time-line text-xs"></i
                  ><span>3 hours ago</span>
                </p>
              </div>
            </a>
          </li>
          <li class="ti-list-group px-0 border-0 text-gray-800 dark:text-white">
            <a
              href="javascript:void(0);"
              class="space-x-3 flex rtl:space-x-reverse"
            >
              <img
                src="./assets/img/gallery/8.jpg"
                class="avatar avatar-lg rounded-sm ring-0"
                alt="Image Description"
              />
              <div class="space-y-1 my-auto">
                <h3 class="font-semibold text-sm">
                  Lorem ipsum dolor sit amet consectetur adipisicing elit.
                </h3>
                <p
                  class="flex space-x-2 rtl:space-x-reverse text-gray-500 dark:text-white/70 text-xs"
                >
                  <i class="ri ri-time-line text-xs"></i
                  ><span>30 mins ago</span>
                </p>
              </div>
            </a>
          </li>
          <li class="ti-list-group px-0 border-0 text-gray-800 dark:text-white">
            <a
              href="javascript:void(0);"
              class="space-x-3 flex rtl:space-x-reverse"
            >
              <img
                src="./assets/img/gallery/3.jpg"
                class="avatar avatar-lg rounded-sm ring-0"
                alt="Image Description"
              />
              <div class="space-y-1 my-auto">
                <h3 class="font-semibold text-sm">
                  Lorem ipsum dolor sit amet consectetur adipisicing elit.
                </h3>
                <p
                  class="flex space-x-2 rtl:space-x-reverse text-gray-500 dark:text-white/70 text-xs"
                >
                  <i class="ri ri-calendar-line text-xs"></i
                  ><span>l day ago</span>
                </p>
              </div>
            </a>
          </li>
          <li class="ti-list-group px-0 border-0 text-gray-800 dark:text-white">
            <a
              href="javascript:void(0);"
              class="space-x-3 flex rtl:space-x-reverse"
            >
              <img
                src="./assets/img/gallery/2.jpg"
                class="avatar avatar-lg rounded-sm ring-0"
                alt="Image Description"
              />
              <div class="space-y-1 my-auto">
                <h3 class="font-semibold text-sm">
                  Lorem ipsum dolor sit amet consectetur adipisicing elit.
                </h3>
                <p
                  class="flex space-x-2 rtl:space-x-reverse text-gray-500 dark:text-white/70 text-xs"
                >    
                  <i class="ri ri-calendar-line text-xs"></i
                  ><span>l day ago</span>
                </p>
              </div>
            </a>
          </li>
          <li
            class="ti-list-group px-0 pb-0 border-0 text-gray-800 dark:text-white"
          >
            <a
              href="javascript:void(0);"
              class="space-x-3 flex rtl:space-x-reverse"
            >
              <img
                src="./assets/img/gallery/8.jpg"
                class="avatar avatar-lg rounded-sm ring-0"
                alt="Image Description"
              />
              <div class="space-y-1 my-auto">
                <h3 class="font-semibold text-sm">
                  Lorem ipsum dolor sit amet consectetur adipisicing elit.
                </h3>
                <p
                  class="flex space-x-2 rtl:space-x-reverse text-gray-500 dark:text-white/70 text-xs"
                >
                  <i class="ri ri-time-line text-xs"></i
                  ><span>30 mins ago</span>
                </p>
              </div>
            </a>
          </li>
        </ul>
      </div>
    </div>

    <div class="box">
      <div class="box-header">
        <h5 class="box-title">Categories</h5>  
      </div>   
      <div class="box-body space-x-1">
        <span
          class="badge bg-gray-100 text-gray-800 dark:bg-black/20 dark:text-gray-200 mx-1"
        >
          #Lifestyle
        </span>
        <span
          class="badge bg-gray-100 text-gray-800 dark:bg-black/20 dark:text-gray-200"
        >
          #Health
        </span>
        <span
          class="badge bg-gray-100 text-gray-800 dark:bg-black/20 dark:text-gray-200"
        >
          #Tour
        </span>
        <span
          class="badge bg-gray-100 text-gray-800 dark:bg-black/20 dark:text-gray-200"
        >
          #Music
        </span>
        <span
          class="badge bg-gray-100 text-gray-800 dark:bg-black/20 dark:text-gray-200"
        >
          #Travel
        </span>
        <span
          class="badge bg-gray-100 text-gray-800 dark:bg-black/20 dark:text-gray-200"
        >
          #Nature
        </span>
        <span
          class="badge bg-gray-100 text-gray-800 dark:bg-black/20 dark:text-gray-200"
        >
          #Tourism
        </span>
        <span
          class="badge bg-gray-100 text-gray-800 dark:bg-black/20 dark:text-gray-200"
        >
          #Hotels
        </span>
        <span
          class="badge bg-gray-100 text-gray-800 dark:bg-black/20 dark:text-gray-200"
        >
          #Marketing
        </span>
        <span
          class="badge bg-gray-100 text-gray-800 dark:bg-black/20 dark:text-gray-200"
        >
          #Development
        </span>
        <span
          class="badge bg-gray-100 text-gray-800 dark:bg-black/20 dark:text-gray-200"
        >
          #Shopping
        </span>
        <span
          class="badge bg-gray-100 text-gray-800 dark:bg-black/20 dark:text-gray-200"
        >
          #Realestate
        </span>
        <span
          class="badge bg-gray-100 text-gray-800 dark:bg-black/20 dark:text-gray-200"
        >
          #Business
        </span>
      </div>
    </div>

    <div class="box">
      <div class="box-body">
        <h3 class="font-semibold text-base mb-5 text-primary">
          Subscribe For More Blog's
        </h3>
        <input type="email" class="ti-form-input" placeholder="you@site.com" />
        <button
          type="button"
          class="py-2 px-3 w-full ti-btn ti-btn-primary mt-2"
        >
          subscribe
        </button>
      </div>
    </div>
  </div>
</div>
<!-- End::row-1 -->