hunk.code_window:   access_log off;
     client_max_body_size 50000M;
     # Compression
     gzip off;
     gzip_comp_level 2;
     gzip_min_length 1000;
     gzip_proxied any;
     gzip_vary on;
     gunzip on;
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:   gzip on;
  
hunk.file_path: nginx/templates/default.conf.template
hunk.type: replace
file: <script lang="ts">
  	import { imageLoad } from '$lib/utils/image-load';
  
  	export let url: string;
  	export let altText: string;
  	export let heightStyle: string | undefined = undefined;
  	export let widthStyle: string;
  	export let curve = false;
  	export let shadow = false;
  	export let circle = false;
  	let loading = true;
  </script>
  
  <img
  	style:width={widthStyle}
  	style:height={heightStyle}
  	src={url}
  	alt={altText}
  	class="object-cover transition-opacity duration-300"
  	class:rounded-lg={curve}
  	class:shadow-lg={shadow}
  	class:rounded-full={circle}
  	class:opacity-0={loading}
  	draggable="false"
  	use:imageLoad
  	on:image-load|once={() => (loading = false)}
  />
  