Skip to content

Commit

Permalink
add roles
Browse files Browse the repository at this point in the history
  • Loading branch information
matuskosut committed Feb 17, 2024
1 parent ff88c75 commit 1936dbb
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 12 deletions.
2 changes: 1 addition & 1 deletion pages/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

.hc-container-subtitle {
color: rgb(0, 0, 0);
line-height: 30px;
line-height: 42px;
font-size: 32px;
text-align: center;
align-items: center;
Expand Down
2 changes: 2 additions & 0 deletions pages/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import DefaultTheme from 'vitepress/theme';

// import GreyBlock from '../components/GreyBlock.vue';
import ProductSlider from '../components/ProductSlider.vue';
import RoleSlider from '../components/RoleSlider.vue';
// import VPButton from 'vitepress/dist/client/theme-default/components/VPButton.vue';
import { VPButton } from 'vitepress/theme';
// import { VPImage } from 'vitepress/theme';
Expand All @@ -29,6 +30,7 @@ export default {
// context.app.component('GreyBlock', GreyBlock);
context.app.component('VPButton', VPButton);
context.app.component('ProductSlider', ProductSlider);
context.app.component('RoleSlider', RoleSlider);
// context.app.component('VPImage', VPImage);
}
}
33 changes: 22 additions & 11 deletions pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,27 @@ products:
# theme: sponsor
img: ./img/product-scientific-suite.png
text: Trust enables science. This section is aimed at data controllers and scientific centers that guides the development of HUNT Cloud.
roles:
- title: Scientist
# href: /roles/scientist/
href: https://docs.hdc.ntnu.no/administer-science/services/overview/
text: Scientists are explorers. This section is aimed at those who...
- title: Scientific leader
# href: /roles/scientific-leader/
href: https://docs.hdc.ntnu.no/administer-science/services/overview/
text: Scientists are explorers. This section is aimed at those who...
- title: Administrator
# href: /roles/administrator/
href: https://docs.hdc.ntnu.no/administer-science/services/overview/
text: Scientists are explorers. This section is aimed at those who...
- title: Teacher
# href: /roles/teacher/
href: https://docs.hdc.ntnu.no/administer-science/services/overview/
text: Scientists are explorers. This section is aimed at those who...
- title: Inventor (SME)
# href: /roles/sme-inventor/
href: https://docs.hdc.ntnu.no/administer-science/services/overview/
text: Scientists are explorers. This section is aimed at those who...
contact: https://docs.hdc.ntnu.no/about/contact/
---

Expand Down Expand Up @@ -71,17 +92,7 @@ contact: https://docs.hdc.ntnu.no/about/contact/
<div class="hc-container-title">
Roles
</div>
<div class="hc-row">
<div class="hc-col">
Abc
</div>
<div class="hc-col">
Def
</div>
<div class="hc-col">
Ghi
</div>
</div>
<RoleSlider :roles="$frontmatter.roles" />
</div>
</div>

Expand Down

0 comments on commit 1936dbb

Please sign in to comment.