Skip to content

Commit

Permalink
Feat: First Version
Browse files Browse the repository at this point in the history
  • Loading branch information
acosta-leandro committed Jun 21, 2024
1 parent 748d097 commit 8e79498
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/PeopleItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const props = defineProps({
<template>
<div class="column col-xs-12 col-md-3 q-pa-sm">
<div class="q-card--bordered rounded-borders text-center bg-primary text-white col-grow">
<q-img :src="new URL(props.people.image, import.meta.url).href" alt="" class="rounded-borders" style="max-width: 100%; height: auto"/>
<q-img :src="`/${props.people.image}`" class="rounded-borders" style="width: 100%; height: 200px;"/>
<div class="q-py-sm">
<div class="text-h6">{{ props.people.name }}</div>
<div class="text-subtitle2">{{ props.people.affiliation }}</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/PeopleItemLarge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const props = defineProps({
<div class="column col-xs-12 col-md-6 q-pa-sm">
<div class="row q-card--bordered rounded-borders text-center bg-primary text-white">
<div class="col-xs-12 col-md-6 row items-center">
<img :src="new URL(props.people.image, import.meta.url).href" alt="" class="rounded-borders" style="max-width: 50%; height: auto">
<q-img :src="new URL(props.people.image, import.meta.url).href" alt="" class="rounded-borders" style="max-width: 50%; height: auto"/>
<img :src="`/${props.people.image}`" alt="" class="rounded-borders" style="max-width: 50%; height: auto">
<q-img :src="`/${props.people.image}`" alt="" class="rounded-borders" style="max-width: 50%; height: auto"/>
</div>
<div class="col-xs-12 col-md-6 q-py-md justify-evenly column">
<div>
Expand Down

0 comments on commit 8e79498

Please sign in to comment.