2023-06-25 10:17:12 +02:00
|
|
|
<script>
|
|
|
|
export let title
|
|
|
|
let overflow
|
|
|
|
</script>
|
2023-06-19 20:38:45 +02:00
|
|
|
<style>
|
2023-06-25 10:17:12 +02:00
|
|
|
|
2023-06-19 20:38:45 +02:00
|
|
|
.wrapper{
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
2023-06-25 10:17:12 +02:00
|
|
|
gap: 2.5rem;
|
2023-06-19 20:38:45 +02:00
|
|
|
justify-content: center;
|
|
|
|
}
|
2023-06-25 10:17:12 +02:00
|
|
|
h2{
|
|
|
|
max-width: 1000px;
|
|
|
|
margin-left: 5rem;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: 3rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
section:not(:has(h2)){
|
|
|
|
padding-top: 4rem;
|
|
|
|
}
|
|
|
|
section{
|
|
|
|
overflow: hidden;
|
|
|
|
padding-bottom: 3.7rem;
|
|
|
|
}
|
2023-06-19 20:38:45 +02:00
|
|
|
</style>
|
2023-06-25 10:17:12 +02:00
|
|
|
<section>
|
|
|
|
{#if title}
|
|
|
|
<h2>{title}</h2>
|
|
|
|
{/if}
|
2023-06-19 20:38:45 +02:00
|
|
|
<div class=wrapper>
|
|
|
|
<slot></slot>
|
|
|
|
</div>
|
2023-06-25 10:17:12 +02:00
|
|
|
</section>
|