Archived
1
0
Fork 0

Merge branch 'html-renderer' into ziedelth

This commit is contained in:
Ziedelth 2022-03-22 16:43:30 +01:00
commit 9f163d6c84
5 changed files with 107 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -0,0 +1,51 @@
:root {
--main-color: #E50914;
}
* {
color: white;
font-family: 'Montserrat', sans-serif;
}
body {
background-color: black;
}
main {
min-height: calc(100vh - 4rem);
}
.color-text {
color: var(--main-color);
}
.color-border {
border-color: var(--main-color) !important;
}
.title {
color: var(--main-color);
text-align: center;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
.title:hover {
display: block;
overflow: unset;
}
.description-4 {
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
}
.description-4:hover {
display: block;
overflow: unset;
}

BIN
src/main/webapp/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View file

@ -1,5 +1,53 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<title>FilmFlix</title>
</head>
<body>
<h2>Hello World!</h2>
<main>
<div class="container-fluid">
<div class="w-100 text-center">
<img class="text-center img-fluid" src="assets/logo.png" alt="FilmFlix logo"/>
</div>
<div class="row row-cols-lg-4 g-3 d-flex justify-content-center text-center mb-3">
<div class="col">
<div class="border rounded color-border p-2">
<h5 class="title">Lorem ipsum dolor sit amet, consectetur adipisicing elit. At debitis expedita quaerat? Ad delectus dolorem dolorum excepturi impedit quae recusandae! Alias at aut corporis eius, hic ipsum recusandae sequi velit?</h5>
<p class="description-4 mb-0">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Atque dicta necessitatibus sequi. Accusantium architecto corporis, deleniti dolorem eligendi et excepturi fugit id in iste, magni officia quos ut vel velit? Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laborum, numquam quibusdam? Adipisci corporis dicta eos, esse eveniet hic id iusto maxime minima, natus neque nihil, porro quas soluta unde voluptate. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium architecto commodi dignissimos dolore ducimus eum fuga hic ipsa laborum minima mollitia, nulla officia quasi recusandae repellendus reprehenderit, sed similique, temporibus. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Asperiores aut autem beatae cupiditate hic magnam maxime natus neque odit perferendis porro quaerat quidem repellendus sequi sunt temporibus, ut velit voluptatum!</p>
<div class="d-flex">
<span class="me-auto text-muted">Il y a 20 minutes</span>
<span class="ms-auto text-muted">1h20min</span>
</div>
</div>
</div>
</div>
</div>
</main>
<footer>
<div class="bg-dark p-2 px-3">
<div class="d-flex align-items-center">
<div class="me-auto">
<p class="mt-0 mb-0">Projet de Archi Ntiers</p>
<p class="mt-0 mb-0">Florian - Pierre</p>
</div>
<div class="ms-auto">
2022
</div>
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>

View file

@ -0,0 +1,7 @@
$(document).ready(function () {
console.log("OK");
$.get("https://ziedelth.fr/api/v1/country/fr/page/1/limit/9/episodes", function (data) {
console.table(data);
});
});