Skip to content

Commit

Permalink
Attempt Svelte variables
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore committed Nov 12, 2024
1 parent 534347b commit d487b88
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions ome2024-ngff-challenge/src/About.svelte
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<script>
import nfdiLogo from "/nfdi_rgb_Wortmarke_Zusatz_quer.png";
import cziLogo from "/czi-logo-chan-zuckerberg-initiative-logo.png";
let base = import.meta.env.BASE_URL;
</script>

<!-- base element used to define relative links -->
<base href="{base}" />
<div>
<h2>Introduction</h2>
<p>
Expand Down Expand Up @@ -84,8 +92,8 @@

<table>
<tr>
<td><img src="nfdi_rgb_Wortmarke_Zusatz_quer.png" width="45%"/></td>
<td><img src="czi-logo-chan-zuckerberg-initiative-logo.png" width="45%"/></td>
<td><img src={nfdiLogo} width="45%"/></td>
<td><img src={cziLogo} width="45%"/></td>
</tr>
</table>

Expand Down

0 comments on commit d487b88

Please sign in to comment.