Skip to content

Commit

Permalink
🔧 Add pro key
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckcarpenter committed Mar 18, 2024
1 parent f6efebe commit d491d2a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions landing/src/layouts/MainPage.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ const shepherdIncludeCode = `
<script type="module" src="shepherd.js/dist/shepherd.js"></script>
`;
const { PUBLIC_SHEPHERD_PUBLIC_KEY, PUBLIC_SHEPHERD_FRONTEND_API } = import.meta
.env;
---

<Base>
<Base data-testthing={PUBLIC_SHEPHERD_FRONTEND_API}>
<Header title={SITE_TITLE} isHome={isHome} />
<main>
<div class='font-heading mt-8 text-6xl text-center uppercase w-full'>
Expand Down Expand Up @@ -174,10 +177,9 @@ const shepherdIncludeCode = `
</Base>

<!-- Welcome page -->
<script>
'use strict';

import Shepherd from 'shepherd.js';
<script type='module'>
import Shepherd from './node_modules/shepherd.js/dist/shepherd.js';
console.log(this, import.meta.env);

(function () {
function init() {
Expand All @@ -189,8 +191,7 @@ const shepherdIncludeCode = `

function setupShepherd() {
Shepherd.init(
import.meta.env.PUBLIC_SHEPHERD_PUBLIC_KEY,
import.meta.env.PUBLIC_SHEPHERD_FRONTEND_API
'shp_97943967a5cb84a5ccd46febff8972cd4667e142e5996030130498eebc3f8236'
);
var shepherd = new Shepherd.Tour({
defaultStepOptions: {
Expand Down

0 comments on commit d491d2a

Please sign in to comment.