|
|
|
@ -1,52 +0,0 @@ |
|
|
|
<script setup lang="ts"> |
|
|
|
import MarkedPopUp from "@/components/MarkedPopUp.vue"; |
|
|
|
|
|
|
|
// Define button styles with different colors |
|
|
|
const buttons = [ |
|
|
|
{text: 'Google Search', url: 'https://www.google.com', class: 'btn-primary'}, |
|
|
|
{text: 'Google Maps', url: 'https://maps.google.com', class: 'btn-success'}, |
|
|
|
{text: 'Google Drive', url: 'https://drive.google.com', class: 'btn-warning'}, |
|
|
|
{text: 'Gmail', url: 'https://mail.google.com', class: 'btn-danger'} |
|
|
|
]; |
|
|
|
|
|
|
|
// Lorem ipsum text for demonstration |
|
|
|
const loremText = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ".repeat(100); |
|
|
|
</script> |
|
|
|
|
|
|
|
<template> |
|
|
|
<MarkedPopUp element-id="fake-page-popup" :use-mocked-data="true"/> |
|
|
|
<div class="container p-2"> |
|
|
|
<h1 class="mb-4">Fake Page Example</h1> |
|
|
|
|
|
|
|
<!-- Buttons section - now full width and above text --> |
|
|
|
<div class="p-1"> |
|
|
|
<div class="card-header p-2">Google Services</div> |
|
|
|
<div class="card-body p-2"> |
|
|
|
<div class="row"> |
|
|
|
<div v-for="(button, index) in buttons" :key="index" class="col-md-3 mb-2"> |
|
|
|
<a :href="button.url" class="btn w-100" :class="button.class" target="_blank"> |
|
|
|
{{ button.text }} |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- Text section - now without scrollable container --> |
|
|
|
<div class="p-3 "> |
|
|
|
<div class="card-header">Text Content</div> |
|
|
|
<div class="card-body"> |
|
|
|
<p>{{ loremText }}</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<style scoped> |
|
|
|
|
|
|
|
|
|
|
|
.card-header { |
|
|
|
font-weight: bold; |
|
|
|
background-color: #f8f9fa; |
|
|
|
} |
|
|
|
</style> |