Skip to content

Commit

Permalink
use correct pnpm command, and run husky right away
Browse files Browse the repository at this point in the history
  • Loading branch information
fellnerse committed Jan 18, 2024
1 parent ae76b4a commit 3ba7453
Show file tree
Hide file tree
Showing 16 changed files with 199 additions and 242 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
jest.config.js
test/*
static/sw.js
4 changes: 2 additions & 2 deletions .github/workflows/husky.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ jobs:
node-version: 16
- name: install dependencies
run: pnpm install
- run: pnpm run prettier --write .
- run: pnpm run eslint .
- run: pnpm exec prettier --write .
- run: pnpm exec eslint .
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.md
node_modules
coverage
pnpm-lock.yaml
33 changes: 18 additions & 15 deletions components/About.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@
sm="6"
>
<v-row justify="center">
<v-img :lazy-src="person.image" :src="person.image"
style="height: 120px; max-width: 120px; border-radius: 60px" />
<v-img
:lazy-src="person.image"
:src="person.image"
style="height: 120px; max-width: 120px; border-radius: 60px"
/>
</v-row>
<v-row class="text-h5 font-weight-bold" justify="center">
{{ person.name }}
Expand All @@ -40,13 +43,13 @@
</v-col>
</v-row>
<v-row align="center" class="mx-md-10">
<v-col
v-for="university in universities"
:key="university"
cols="3"
>
<v-col v-for="university in universities" :key="university" cols="3">
<v-row justify="center">
<v-img :lazy-src="university" :src="university" style="width: 100%; max-width: 100px" />
<v-img
:lazy-src="university"
:src="university"
style="width: 100%; max-width: 100px"
/>
</v-row>
</v-col>
</v-row>
Expand All @@ -66,20 +69,20 @@ export default {
// eslint-disable-next-line no-undef
require("~/assets/img/uni/Otago_Logo.png"),
// eslint-disable-next-line no-undef
require("~/assets/img/uni/Stockholm_Logo.png")
require("~/assets/img/uni/Stockholm_Logo.png"),
],
persons: [
{
// eslint-disable-next-line no-undef
image: require("~/assets/img/us/Sebastian_WA.jpg"),
name: "Sebastian Fellner",
description: ["Computer Science MSc", "AI Enthusiast"]
description: ["Computer Science MSc", "AI Enthusiast"],
},
{
// eslint-disable-next-line no-undef
image: require("~/assets/img/us/Paul_WA.jpg"),
name: "Paul Kehnel",
description: ["Computer Science MSc", "Bicycle Dude"]
description: ["Computer Science MSc", "Bicycle Dude"],
},
{
// eslint-disable-next-line no-undef
Expand All @@ -91,11 +94,11 @@ export default {
// eslint-disable-next-line no-undef
image: require("~/assets/img/us/Moritz_WA.jpeg"),
name: "Moritz Wolf",
description: ["Robotics MSc", "Outdoor Specialist"]
}
]
description: ["Robotics MSc", "Outdoor Specialist"],
},
],
};
}
},
};
</script>

Expand Down
17 changes: 11 additions & 6 deletions components/ArrowDown.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
<template>
<v-icon :class="{'arrow-down':animate}" class="py-2" color="rgba(0,0,0,0.8)" content-class="elevation-0"
size="50"
@click="goToExportExplainer">
<v-icon
:class="{ 'arrow-down': animate }"
class="py-2"
color="rgba(0,0,0,0.8)"
content-class="elevation-0"
size="50"
@click="goToExportExplainer"
>
mdi-chevron-down
</v-icon>
<!-- todo hide ugly button grey thingy after pressing-->
Expand All @@ -14,8 +19,8 @@ export default {
methods: {
goToExportExplainer() {
this.$vuetify.goTo(".exportexplainer", { duration: 300 });
}
}
},
},
};
</script>

Expand All @@ -35,4 +40,4 @@ export default {
opacity: 0.5;
}
}
</style>
</style>
2 changes: 1 addition & 1 deletion components/ChatVisualization/PdfDownloadPopup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
Supporting us keeps the 💻 running 🎉
</v-card-text>

<div v-if="isLoading" class="loading mb-2"/>
<div v-if="isLoading" class="loading mb-2" />

<v-row align="center" class="pt-6 pr-10" cols="12" justify="center">
<ChatVisualizationPayment
Expand Down
20 changes: 10 additions & 10 deletions components/Cta.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,27 @@ export default {
showImage: { default: false, type: Boolean },
to: { default: "", type: String },
buttonTxt: {
default: function() {
default: function () {
return "analyzeYourChat";
},
type: String
type: String,
},
text: {
default: function() {
default: function () {
return "analyzeYourChatLong";
},
type: String
type: String,
},
title: {
default: function () {
return "analyzeYourChatTitle";
},
type: String
}
type: String,
},
},
data() {
return {
GTAG_INTERACTION
GTAG_INTERACTION,
};
},
methods: {
Expand All @@ -62,7 +62,7 @@ export default {
this.$vuetify.goTo(".filehandler", { duration: 300, offset: 300 });
}
},
gtagEvent
}
gtagEvent,
},
};
</script>
</script>
Loading

0 comments on commit 3ba7453

Please sign in to comment.