change button to primary type

This commit is contained in:
2023-04-17 19:34:34 +10:00
parent 50a6a39632
commit 802fd87850

View File

@@ -8,6 +8,7 @@
<div class="sm-hero-buttons"> <div class="sm-hero-buttons">
<SMButton <SMButton
v-if="loaded" v-if="loaded"
type="primary"
:to="{ name: 'article', params: { slug: heroSlug } }" :to="{ name: 'article', params: { slug: heroSlug } }"
label="Read More" /> label="Read More" />
</div> </div>
@@ -159,6 +160,10 @@ handleLoad();
.sm-hero-buttons { .sm-hero-buttons {
padding-top: 48px; padding-top: 48px;
.primary {
background-color: var(--primary-color-dark);
}
} }
} }
</style> </style>