Skip to content

Commit

Permalink
rename button
Browse files Browse the repository at this point in the history
  • Loading branch information
matuskosut committed Mar 7, 2024
1 parent 289657e commit dfac3ca
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion pages/.vitepress/components/FooterBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default {
Reach out to arrange a call.
</v-col>
<v-col cols="12" class="v-col-sm-6 v-col-md-4">
<hc-button title="Contact us" :href="contact" target="_blank" size="large" elevation="2" />
<SimpleButton title="Contact us" :href="contact" target="_blank" size="large" elevation="2" />
</v-col>
</v-row>
<!-- <v-divider class="my-4"></v-divider> -->
Expand Down
6 changes: 3 additions & 3 deletions pages/.vitepress/components/ProductSlider.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
// import Button from '../components/Button.vue';
// import SimpleButton from '../components/SimpleButton.vue';
interface Product {
title: string,
Expand All @@ -11,7 +11,7 @@ interface Product {
}
export default {
// components: {'hc-button': Button},
// components: {'SimpleButton': SimpleButton},
props: {
products: {
type: Array<Product>,
Expand Down Expand Up @@ -52,7 +52,7 @@ export default {
{{ item.text }}
<!-- <br /> -->
<!-- <div class="mt-2">
<hc-button size="small" href="place-link" title="Read more" />
<SimpleButton size="small" href="place-link" title="Read more" />
</div> -->
</div>
</v-card>
Expand Down
4 changes: 2 additions & 2 deletions pages/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { EnhanceAppContext } from 'vitepress';
import DefaultTheme from 'vitepress/theme';

import Button from '../components/Button.vue';
import SimpleButton from '../components/SimpleButton.vue';
import FooterBlock from '../components/FooterBlock.vue';
import ContentHeader from '../components/ContentHeader.vue';
import ProductSlider from '../components/ProductSlider.vue';
Expand All @@ -28,7 +28,7 @@ export default {
enhanceApp(context: EnhanceAppContext) {
context.app.use(vuetify)

context.app.component('hc-button', Button);
context.app.component('SimpleButton', SimpleButton);
context.app.component('FooterBlock', FooterBlock);
context.app.component('ContentHeader', ContentHeader);
context.app.component('ProductSlider', ProductSlider);
Expand Down
42 changes: 21 additions & 21 deletions pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
Contact us to get started, to ask how your science may prosper from our services, or just to share the joy and excitement of data-driven science!
</div>
<div class="hc-section">
<hc-button title="Contact us" :href="$frontmatter.contact" target="_blank" size="x-large" elevation="2" />
<SimpleButton title="Contact us" :href="$frontmatter.contact" target="_blank" size="x-large" elevation="2" />
</div>
</div>
</div>
Expand Down Expand Up @@ -130,7 +130,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" />
<SimpleButton size="small" href="place-link" title="Read more" />
</v-col>
</v-row>
</v-card-text>
Expand All @@ -149,7 +149,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" />
<SimpleButton size="small" href="place-link" title="Read more" />
</v-col>
</v-row>
</v-card-text>
Expand All @@ -168,7 +168,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" />
<SimpleButton size="small" href="place-link" title="Read more" />
</v-col>
</v-row>
</v-card-text>
Expand All @@ -187,7 +187,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" />
<SimpleButton size="small" href="place-link" title="Read more" />
</v-col>
</v-row>
</v-card-text>
Expand All @@ -206,7 +206,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" />
<SimpleButton size="small" href="place-link" title="Read more" />
</v-col>
</v-row>
</v-card-text>
Expand All @@ -225,7 +225,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" />
<SimpleButton size="small" href="place-link" title="Read more" />
</v-col>
</v-row>
</v-card-text>
Expand Down Expand Up @@ -273,7 +273,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" />
<SimpleButton size="small" href="place-link" title="Read more" />
</v-col>
</v-row>
</v-card-text>
Expand All @@ -291,7 +291,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" />
<SimpleButton size="small" href="place-link" title="Read more" />
</v-col>
</v-row>
</v-card-text>
Expand All @@ -309,7 +309,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" />
<SimpleButton size="small" href="place-link" title="Read more" />
</v-col>
</v-row>
</v-card-text>
Expand Down Expand Up @@ -343,7 +343,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" blue />
<SimpleButton size="small" href="place-link" title="Read more" blue />
</v-col>
</v-row>
</v-card-text>
Expand All @@ -361,7 +361,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" blue />
<SimpleButton size="small" href="place-link" title="Read more" blue />
</v-col>
</v-row>
</v-card-text>
Expand All @@ -379,7 +379,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" blue />
<SimpleButton size="small" href="place-link" title="Read more" blue />
</v-col>
</v-row>
</v-card-text>
Expand Down Expand Up @@ -407,7 +407,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" />
<SimpleButton size="small" href="place-link" title="Read more" />
</v-col>
</v-row>
</v-card-text>
Expand All @@ -426,7 +426,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" />
<SimpleButton size="small" href="place-link" title="Read more" />
</v-col>
</v-row>
</v-card-text>
Expand Down Expand Up @@ -459,7 +459,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" blue />
<SimpleButton size="small" href="place-link" title="Read more" blue />
</v-col>
</v-row>
</v-card-text>
Expand All @@ -477,7 +477,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" blue />
<SimpleButton size="small" href="place-link" title="Read more" blue />
</v-col>
</v-row>
</v-card-text>
Expand All @@ -495,7 +495,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" blue />
<SimpleButton size="small" href="place-link" title="Read more" blue />
</v-col>
</v-row>
</v-card-text>
Expand Down Expand Up @@ -529,7 +529,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" />
<SimpleButton size="small" href="place-link" title="Read more" />
</v-col>
</v-row>
</v-card-text>
Expand All @@ -547,7 +547,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" />
<SimpleButton size="small" href="place-link" title="Read more" />
</v-col>
</v-row>
</v-card-text>
Expand All @@ -565,7 +565,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
</v-row>
<v-row dense>
<v-col cols="12">
<hc-button size="small" href="place-link" title="Read more" />
<SimpleButton size="small" href="place-link" title="Read more" />
</v-col>
</v-row>
</v-card-text>
Expand Down

0 comments on commit dfac3ca

Please sign in to comment.