mirror of
https://github.com/Leado123/Leado123.github.io.git
synced 2026-10-01 00:32:59 +00:00
change
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<template>
|
||||
<div class="hero">
|
||||
<div class="hero-body">
|
||||
<div class="container">
|
||||
<h1 class="title">Hey, I'm {{ name || "John Doe" }}.</h1>
|
||||
<h2 class="subtitle">
|
||||
{{ subtitle }}
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
name: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
subtitle: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
h2.subtitle {
|
||||
font-size: 1.2rem;
|
||||
border-top: none;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user