Skip to content

Commit bdd3a05

Browse files
authored
Homepage scroll indicator (#1178)
* feat: add scroll button to homepage * fix: panes size on homepage, make tailwind code uniform * refactor: homepage tailwind cleanup
1 parent 3c5ddba commit bdd3a05

7 files changed

Lines changed: 154 additions & 206 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"devEngines": {
2929
"packageManager": {
3030
"name": "pnpm",
31-
"version": ">=11.0.0 <12.0.0",
31+
"version": ">=11.0.0 <11.12.0",
3232
"onFail": "download"
3333
}
3434
}

webapp/src/assets/logos/AriadneLabsLogo.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<template>
22
<svg
3+
width="100%"
4+
height="100%"
35
preserveAspectRatio="xMidYMid meet"
46
data-bbox="35.22 28.28 319.76 143.36"
57
xmlns="http://www.w3.org/2000/svg"

webapp/src/assets/logos/EPFL.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<template>
22
<svg
3+
width="100%"
4+
height="100%"
35
version="1.1"
46
xmlns="http://www.w3.org/2000/svg"
57
xmlns:xlink="http://www.w3.org/1999/xlink"

webapp/src/components/containers/BaseLayout.vue

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<template>
2-
<div id="base-container" class="flex flex-col h-full w-full overflow-y-auto">
2+
<div
3+
id="base-container"
4+
ref="baseContainer"
5+
class="flex flex-col h-full w-full overflow-y-auto"
6+
>
37
<main class="m-4 md:m-8 grow">
48
<slot />
59
</main>
@@ -33,3 +37,10 @@
3337
</footer>
3438
</div>
3539
</template>
40+
41+
<script lang="ts" setup>
42+
import { provide, useTemplateRef } from "vue";
43+
44+
const baseContainer = useTemplateRef<HTMLElement>("baseContainer");
45+
provide("scrollContainer", baseContainer);
46+
</script>

0 commit comments

Comments
 (0)