Skip to content

Commit

Permalink
add product images with sample text
Browse files Browse the repository at this point in the history
  • Loading branch information
matuskosut committed Feb 14, 2024
1 parent 0d3f741 commit 8d30415
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
16 changes: 12 additions & 4 deletions pages/.vitepress/components/ProductSlider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export default {
<!-- TODO: make this to work with different number of items -->
<div :class="sliderClasses">
<a v-for="item in items" :key="item.title" :href="item.href" class="group-slider-item">
<div class="group-slider-item-title">{{ item.title }}</div>
<!-- <div class="group-slider-item-title">{{ item.title }}</div> -->
<img :src="item.img" :alt="item.title" style="margin-top: -36px;" />
<div class="group-slider-item-text">
{{ item.text }}
</div>
Expand All @@ -55,7 +56,7 @@ export default {
/* box-sizing: border-box; */
/* background-color: #0E1318; */
/* width: 500px; */
height: 300px;
height: 380px;
overflow-x: scroll;
overflow-y: hidden;
Expand Down Expand Up @@ -113,7 +114,7 @@ export default {
box-sizing: border-box;
background-color: rgb(238, 238, 238);
padding: 15px 15px 10px 15px;
height: 240px;
height: 320px;
width: 250px;
border-radius: 5px;
}
Expand All @@ -125,8 +126,15 @@ export default {
line-height: 24px;
font-weight: bold;
font-size: 18px;
margin: 0 auto;
margin: 0 auto;
margin-bottom: 12px;
}
.group-slider-item-text {
padding-top: 20px;
line-height: 18px;
font-size: 14px;
text-align: justify;
}
</style>
9 changes: 6 additions & 3 deletions pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,20 @@ products:
href: https://docs.hdc.ntnu.no/administer-science/services/overview/
# theme: brand
# theme: sponsor
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
img: ./img/product-explore.png
text: Scientists are explorers. This section is aimed at those who use data to discover knowledge for a better world in HUNT Cloud.
- title: Evolve
# href: /evolve/
href: https://docs.hdc.ntnu.no/administer-science/services/overview/
# theme: alt
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
img: ./img/product-evolve.png
text: Scientific administrators are keymakers. This section is aimed at administrators that enables scientific explorations.
- title: Scientific Suite
# href: /scientific-suite/
href: https://docs.hdc.ntnu.no/administer-science/services/overview/
# theme: sponsor
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
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.
contact: https://docs.hdc.ntnu.no/about/contact/
---

Expand Down
Binary file added pages/public/img/product-evolve.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/public/img/product-explore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/public/img/product-scientific-suite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8d30415

Please sign in to comment.