{#if placeholder}
{/if}
diff --git a/src/core/components/Image.svelte b/src/core/components/Image.svelte
index 37cfa53..b6a2cbb 100644
--- a/src/core/components/Image.svelte
+++ b/src/core/components/Image.svelte
@@ -9,6 +9,24 @@
export let position: POSITION = POSITION.NONE;
+
+
-
-
diff --git a/src/core/components/Media.svelte b/src/core/components/Media.svelte
index 8854bc7..7a0631f 100644
--- a/src/core/components/Media.svelte
+++ b/src/core/components/Media.svelte
@@ -1,15 +1,20 @@
+
+
-
-
diff --git a/src/core/components/scss/constraints.scss b/src/core/components/scss/constraints.scss
index 1be1e32..6af96aa 100644
--- a/src/core/components/scss/constraints.scss
+++ b/src/core/components/scss/constraints.scss
@@ -6,6 +6,10 @@
background: #ffffff;
}
+.background-black {
+ background: #000000;
+}
+
.round {
border-radius: 0.75rem;
}
diff --git a/src/core/utils/api.request.ts b/src/core/utils/api.request.ts
index 449fcd5..cd9ddf3 100644
--- a/src/core/utils/api.request.ts
+++ b/src/core/utils/api.request.ts
@@ -8,7 +8,7 @@ export default class API {
}
parameters(params: any = {}) {
- const object = { ...params, api_key: this.key };
+ const object = { ...params, api_key: this.key, apiKey: this.key };
return new URLSearchParams(object).toString();
}
diff --git a/src/main.ts b/src/main.ts
index 6d8ab19..5b3f7c1 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -1,4 +1,4 @@
-import App from './AppMovieDB.svelte';
+import App from './AppNews.svelte';
const app = new App({
target: document.body,