mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
43 lines
646 B
Vue
43 lines
646 B
Vue
<template>
|
|
<div id="container">
|
|
<strong>{{ name }}</strong>
|
|
<p>Explore <a target="_blank" rel="noopener noreferrer" href="https://ionicframework.com/docs/components">UI Components</a></p>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
|
|
export default {
|
|
props: {
|
|
name: String
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
#container {
|
|
text-align: center;
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
#container strong {
|
|
font-size: 20px;
|
|
line-height: 26px;
|
|
}
|
|
|
|
#container p {
|
|
font-size: 16px;
|
|
line-height: 22px;
|
|
color: #8c8c8c;
|
|
margin: 0;
|
|
}
|
|
|
|
#container a {
|
|
text-decoration: none;
|
|
}
|
|
</style>
|