summaryrefslogtreecommitdiff
path: root/ping/frontend/src/routes/+page.svelte
blob: 7088945f0af2a1b61e2011490cbbdc0dda3731d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<script lang="ts">
	import Button from '$lib/components/Button.svelte';
	import NavBar from '$lib/components/NavBar.svelte';
</script>

<NavBar pageTitle="">
	<!-- Composant gauche de la navbar -->
	{#snippet rightComponent()}
		<Button href="/login">Connexion</Button>
	{/snippet}
</NavBar>
<header></header>
<section class="colored"></section>
<section id="bottomcard">
	<div class="card">
		<h1>Investissons <b>plus mieux</b> et <b>plus vert</b></h1>
		<ul>
			<li>Investissez facilement</li>
			<li>Analysez les risques et les performances</li>
			<li>Soulagez votre éco-conscience</li>
		</ul>
	</div>
</section>

<style>
	header {
		background-image: url('/img/header-bg.jpg');
		height: 80vh;
		background-size: cover;
		background-position: center;
	}

	.colored {
		background-color: var(--bg-secondary);
		height: 20vh;
	}

	#bottomcard {
		position: fixed;
		bottom: 10vh;
		display: flex;
		justify-content: center;
		align-items: center;
		color: white;
	}

	#bottomcard h1 {
		font-size: 2em;
		margin-bottom: 10px;
		color: var(--text-lime);
	}

	#bottomcard ul {
		list-style: square;
		padding: 0;
		margin: 0;
		margin-left: 20px;
	}
</style>