Skip to content

Commit

Permalink
fix(build): compatibility with cloudflare page (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Oct 31, 2023
1 parent 75e222e commit ab77c51
Show file tree
Hide file tree
Showing 9 changed files with 4,103 additions and 5,033 deletions.
1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ unzip -p /tmp/kestra-ee.zip META-INF/swagger/kestra-ee.yml > ../public/kestra-ee
unzip -p /tmp/kestra-ee.zip META-INF/swagger/kestra.yml > ../public/kestra.yml
set -e


# terraform
git clone https://github.com/kestra-io/terraform-provider-kestra
cd terraform-provider-kestra/docs/
Expand Down
10 changes: 6 additions & 4 deletions components/demo/Headers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@
import Companies from "../layout/Companies.vue";
onMounted(() => {
const script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js";
document.body.appendChild(script);
if (process.client) {
const script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js";
document.body.appendChild(script);
}
})
</script>
Expand Down
3 changes: 1 addition & 2 deletions components/home/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@
import PlayOutline from "vue-material-design-icons/PlayOutline.vue"
import LightningBolt from "vue-material-design-icons/LightningBolt.vue"
import Companies from "../layout/Companies.vue";
import HeaderAnimation from './HeaderAnimation.vue';
import PlayCircleOutline from 'vue-material-design-icons/PlayCircleOutline.vue'
import TextScroller from "~/components/layout/TextScroller.vue";
export default {
components: {Console, PlayOutline, LightningBolt, PlayCircleOutline, Companies, HeaderAnimation, TextScroller},
components: {Console, PlayOutline, LightningBolt, PlayCircleOutline, Companies, TextScroller},
data() {
return {
videoVisible: false,
Expand Down
60 changes: 0 additions & 60 deletions components/home/HeaderAnimation.vue

This file was deleted.

88 changes: 0 additions & 88 deletions components/layout/VueLottie.vue

This file was deleted.

Loading

0 comments on commit ab77c51

Please sign in to comment.