Theme.Layout,
{},
{
+ 'home-hero': ()=>(
+ h("div", {
+ class: "vue-school-homepage-link",
+ }, [
+ h("a", {
+ href: "https://vueschool.io/lessons/introduction-to-pinia?friend=vuerouter&utm_source=pinia&utm_medium=link&utm_campaign=homepage",
+ target:"_blank",
+ rel:"noopener"
+ },
+ [h("span", "Watch Video Introduction")]
+ )
+ ])
+ ),
'sidebar-top': () =>
h('div', { class: 'sponsors sponsors-top' }, [
h('span', 'Platinum Sponsors'),
width: auto;
max-width: 150px;
}
+.vue-school-homepage-link{
+ text-align: center; margin-top: -40px;
+}
+.vue-school-homepage-link a{
+ position: relative;
+ padding-left: 23px;
+}
+.vue-school-homepage-link a::before{
+ content: '';
+ position: absolute;
+ display: block;
+ width: 20px;
+ height: 20px;
+ top: calc(50% - 10px);
+ left: -4px;
+ border-radius: 50%;
+ border: 1px solid var(--c-brand);
+}
+.vue-school-homepage-link a::after{
+ content: '';
+ position: absolute;
+ display: block;
+ width: 0;
+ height: 0;
+ top: calc(50% - 4px);
+ left: 4px;
+ border-top: 4px solid transparent;
+ border-bottom: 4px solid transparent;
+ border-left: 7px solid var(--c-brand);
+}
+@media screen and (max-width: 720px){
+ .vue-school-homepage-link{
+ text-align: center; margin-top: -20px;
+ }
+}