ui fix
This commit is contained in:
parent
f396fb5098
commit
f11ead095a
@ -35,7 +35,9 @@
|
||||
class="shadow-sm sm:hover:shadow-lg flex flex-col overflow-hidden rounded border border-gray-300 dark:border-gray-700"
|
||||
>
|
||||
<div class="shrink-0">
|
||||
<a href={"/blog/article/" + convertToSlug(item?.title)}
|
||||
<a
|
||||
href={"/learning-center/article/" +
|
||||
convertToSlug(item?.title)}
|
||||
><img
|
||||
class="h-48 w-full object-cover"
|
||||
src={getImageURL(
|
||||
@ -53,7 +55,8 @@
|
||||
>
|
||||
<div class="flex-1">
|
||||
<a
|
||||
href={"/blog/article/" + convertToSlug(item?.title)}
|
||||
href={"/learning-center/article/" +
|
||||
convertToSlug(item?.title)}
|
||||
class="mt-2 block"
|
||||
><h2 class="text-lg sm:text-xl font-semibold">
|
||||
{item?.title}
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
import { error, fail, redirect } from "@sveltejs/kit";
|
||||
import { validateData } from "$lib/utils";
|
||||
import { loginUserSchema, registerUserSchema } from "$lib/schemas";
|
||||
|
||||
|
||||
export const load = async ({ locals, params }) => {
|
||||
const { apiURL, apiKey } = locals;
|
||||
@ -34,6 +32,8 @@ export const load = async ({ locals, params }) => {
|
||||
});
|
||||
|
||||
const output = await response.json();
|
||||
|
||||
console.log(output)
|
||||
return output;
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user