Skip to content

Commit

Permalink
joiDFS:OSD:
Browse files Browse the repository at this point in the history
  • Loading branch information
m1nce committed Feb 21, 2024
1 parent 3bcbc94 commit d7b4189
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<h1>The Hottest NBA Players</h1><head><link href='https://fonts.googleapis.com/css?family=Playfair+Display' rel='stylesheet'></head>
<p>Based on players that were in the 2022 NBA All Star Draft, we see which players shoot better from six different zones. The redder the hotter and better they are in comparison to the roster average!</p>
<script>
import { base } from '$app/paths';
import { onMount, onDestroy, afterUpdate } from 'svelte';
import pkg from 'lodash';
const { debounce } = pkg;
Expand Down Expand Up @@ -685,7 +686,7 @@ p {
</style>

<div id="container">
<img src='/nbacourt.jpg' alt='Basketball Court' width="500" height="500">
<img src={`${base}/nbacourt.jpg`} alt="Basketball Court">
<svg id="overlay"></svg>

{#if showPlayerInfo}
Expand Down
2 changes: 1 addition & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const config = {
strict: true
}),
paths: {
base: process.env.NODE_ENV === 'development' ? '' : '/nba-shots'
base: process.argv.includes('dev') ? '' : process.env.BASE_PATH
}
}
};
Expand Down

0 comments on commit d7b4189

Please sign in to comment.