CDN images added & move images from assets to public

This commit is contained in:
Tuğçe Küçükoğlu 2023-02-06 17:59:12 +03:00
parent f54f71d83c
commit ba309fdf90
396 changed files with 424 additions and 460 deletions

View file

@ -48,7 +48,7 @@ export default {
<div class="col-12">
<div class="car-details">
<div>
<img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand"/>
<img :src="'images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand"/>
<div class="grid">
<div class="col-12">Vin: <b>{{slotProps.data.vin}}</b></div>
<div class="col-12">Year: <b>{{slotProps.data.year}}</b></div>
@ -63,7 +63,7 @@ export default {
<template #grid="slotProps">
<div style="padding: .5em" class="col-12 md:col-3">
<Panel :header="slotProps.data.vin" style="text-align: center">
<img :src="'demo/images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand"/>
<img :src="'images/car/' + slotProps.data.brand + '.png'" :alt="slotProps.data.brand"/>
<div class="car-detail">{{slotProps.data.year}} - {{slotProps.data.color}}</div>
<Button icon="pi pi-search"></Button>
</Panel>