mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 11:03:50 +00:00
learning vue with bootstrap integration
This commit is contained in:
31
components/bootstrapAbout.vue
Normal file
31
components/bootstrapAbout.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<b-jumbotron id="about" bg-variant="white" class="rounded-0 mb-0">
|
||||
<b-row>
|
||||
<b-col
|
||||
md="4"
|
||||
order-md="2"
|
||||
class="d-flex align-items-center justify-content-center"
|
||||
>
|
||||
<b-img fluid src="~assets/john-doe.jpeg" alt="John Doe" class="img" />
|
||||
</b-col>
|
||||
|
||||
<b-col md="8" order-md="1">
|
||||
<b-container>
|
||||
<h2 class="display-4">John Doe</h2>
|
||||
|
||||
<p class="lead">
|
||||
I am also known as joker, <del>shadow</del> king, and
|
||||
ʇnǝspɐʎ.<br />I hate the hierarchy, so I broke
|
||||
it.
|
||||
</p>
|
||||
</b-container>
|
||||
</b-col>
|
||||
</b-row>
|
||||
</b-jumbotron>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.img {
|
||||
max-height: 300px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user