fix ppp & switch to adapter-auto
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
<a href={data.path}>
|
<a href={data.path}>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
{#if data.image}
|
{#if data.image}
|
||||||
<img src=/img/net7.png class="image" alt={""} />
|
<img src="/img/net7.png" class="image" alt={''} />
|
||||||
{/if}
|
{/if}
|
||||||
<h2>{data.title}</h2>
|
<h2>{data.title}</h2>
|
||||||
{#if data.description}
|
{#if data.description}
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
padding: 0.25rem 0.5rem;
|
padding: 0.25rem 0.5rem;
|
||||||
border-radius: 0.25rem;
|
border-radius: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image {
|
.image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script>
|
<script>
|
||||||
export let title;
|
export let title;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1>{title}</h1>
|
<h1>{title}</h1>
|
||||||
|
|
||||||
<slot ></slot>
|
<slot />
|
||||||
|
|||||||
@@ -5,15 +5,10 @@ description: PPP
|
|||||||
tags:
|
tags:
|
||||||
---
|
---
|
||||||
|
|
||||||
<script>
|
<div style="position: relative; width: 100%; height: 0; padding-top: 56.2500%;
|
||||||
import ppp from '$lib/files/PPP.pdf';
|
padding-bottom: 0; box-shadow: 0 2px 8px 0 rgba(63,69,81,0.16); margin-top: 1.6em; margin-bottom: 0.9em; overflow: hidden;
|
||||||
</script>
|
border-radius: 8px; will-change: transform;">
|
||||||
|
<iframe loading="lazy" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0; border: none; padding: 0;margin: 0;"
|
||||||
<iframe src={ppp} class="ppp" title="Projet Personnel Professionnel"></iframe>
|
src="https://www.canva.com/design/DAFWbtr0nNU/view?embed" allowfullscreen="allowfullscreen" allow="fullscreen">
|
||||||
|
</iframe>
|
||||||
<style>
|
</div>
|
||||||
.ppp {
|
|
||||||
width: 100%;
|
|
||||||
height: 600px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
@@ -1,17 +1,15 @@
|
|||||||
import adapter from '@sveltejs/adapter-static';
|
import adapter from '@sveltejs/adapter-auto';
|
||||||
import { vitePreprocess } from '@sveltejs/kit/vite';
|
import { vitePreprocess } from '@sveltejs/kit/vite';
|
||||||
import { mdsvex } from 'mdsvex';
|
import { mdsvex } from 'mdsvex';
|
||||||
|
|
||||||
/** @type {import('@sveltejs/kit').Config} */
|
/** @type {import('@sveltejs/kit').Config} */
|
||||||
const config = {
|
const config = {
|
||||||
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
|
||||||
// for more information about preprocessors
|
|
||||||
extensions: ['.svelte', '.md'],
|
extensions: ['.svelte', '.md'],
|
||||||
preprocess: [
|
preprocess: [
|
||||||
vitePreprocess(),
|
vitePreprocess(),
|
||||||
mdsvex({
|
mdsvex({
|
||||||
extensions: ['.md'],
|
extensions: ['.md'],
|
||||||
layout: "src/lib/mardown/Layout.svelte"
|
layout: 'src/lib/mardown/Layout.svelte'
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user