Skip to content

Commit

Permalink
added auto-position
Browse files Browse the repository at this point in the history
  • Loading branch information
aesc-24 committed Jan 16, 2025
1 parent 7ed6b8e commit d9bbef7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pages/scout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ const endgameOptions = [
'Deep Successful',
];
const isAutoPositionOpen = ref(false);
/*
Used to configure coral buttons
*/
Expand Down Expand Up @@ -403,6 +405,23 @@ async function submit() {
</div>
</div>
</div>
<UButton
class="ml-1"
@click="isAutoPositionOpen = true"
label="Reference"
/>
<!-- the popup for the reference image -->
<UModal v-model="isAutoPositionOpen">
<div class="flex flex-auto">
<UButton
class="mr-2 mt-2 right-0 absolute"
@click="isAutoPositionOpen = false"
icon="i-heroicons-x-circle"
/>
<img src="/public/referenceImage2.png" />
<!-- next thing to work: shifting the image up for phone users -->
</div>
</UModal>
</div>
</div>
</div>
Expand Down

0 comments on commit d9bbef7

Please sign in to comment.