mirror of
https://github.com/KevinMidboe/planetposen.git
synced 2025-12-08 20:38:56 +00:00
Finally landed on a design, created a bunch of pages.
This commit is contained in:
28
frontend/components/ui/ImageBlock.vue
Normal file
28
frontend/components/ui/ImageBlock.vue
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<div class="container">
|
||||
<div>image: {{ image }}</div>
|
||||
<div>text: {{ text }}</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'ImageBlock',
|
||||
props: {
|
||||
image: {
|
||||
type: String,
|
||||
required: false
|
||||
},
|
||||
text: {
|
||||
type: String,
|
||||
required: false
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.container {
|
||||
background-color: NavajoWhite;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user