first commit
This commit is contained in:
10
resources/css/app.css
Normal file
10
resources/css/app.css
Normal file
@@ -0,0 +1,10 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
1
resources/js/app.js
Normal file
1
resources/js/app.js
Normal file
@@ -0,0 +1 @@
|
||||
console.log('Hello World')
|
||||
8
resources/views/pages/errors/not_found.edge
Normal file
8
resources/views/pages/errors/not_found.edge
Normal file
@@ -0,0 +1,8 @@
|
||||
<h1>
|
||||
404 - Page not found
|
||||
</h1>
|
||||
<p>
|
||||
This template is rendered by the
|
||||
<a href="http://docs.adonisjs.com/guides/exception-handling#status-pages">status pages feature</a>
|
||||
of the global exception handler.
|
||||
</p>
|
||||
8
resources/views/pages/errors/server_error.edge
Normal file
8
resources/views/pages/errors/server_error.edge
Normal file
@@ -0,0 +1,8 @@
|
||||
<h1>
|
||||
{{ error.code }} - Server error
|
||||
</h1>
|
||||
<p>
|
||||
This template is rendered by the
|
||||
<a href="http://docs.adonisjs.com/guides/exception-handling#status-pages">status pages feature</a>
|
||||
of the global exception handler.
|
||||
</p>
|
||||
73
resources/views/pages/home.edge
Normal file
73
resources/views/pages/home.edge
Normal file
@@ -0,0 +1,73 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>
|
||||
AdonisJS - A fully featured web framework for Node.js
|
||||
</title>
|
||||
|
||||
<link rel="preconnect" href="https://fonts.bunny.net" />
|
||||
<link
|
||||
href="https://fonts.bunny.net/css?family=instrument-sans:400,400i,500,500i,600,600i,700,700i"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
|
||||
<style>
|
||||
:root {
|
||||
--sand-1: #fdfdfc;
|
||||
--sand-2: #f9f9f8;
|
||||
--sand-3: #f1f0ef;
|
||||
--sand-4: #e9e8e6;
|
||||
--sand-5: #e2e1de;
|
||||
--sand-6: #dad9d6;
|
||||
--sand-7: #cfceca;
|
||||
--sand-8: #bcbbb5;
|
||||
--sand-9: #8d8d86;
|
||||
--sand-10: #82827c;
|
||||
--sand-11: #63635e;
|
||||
--sand-12: #21201c;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
|
||||
<script>
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
sans: [ "Instrument Sans", "sans-serif" ]
|
||||
},
|
||||
colors: {
|
||||
primary: {
|
||||
DEFAULT: "#5A45FF",
|
||||
lighter: "#a599ff"
|
||||
},
|
||||
sand: {
|
||||
1: "var(--sand-1)",
|
||||
2: "var(--sand-2)",
|
||||
3: "var(--sand-3)",
|
||||
4: "var(--sand-4)",
|
||||
5: "var(--sand-5)",
|
||||
6: "var(--sand-6)",
|
||||
7: "var(--sand-7)",
|
||||
8: "var(--sand-8)",
|
||||
9: "var(--sand-9)",
|
||||
10: "var(--sand-10)",
|
||||
11: "var(--sand-11)",
|
||||
12: "var(--sand-12)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
||||
@stack('dumper')
|
||||
</head>
|
||||
<body>
|
||||
<h1><a href="/sections">Voir les sections</a></h1>
|
||||
</body>
|
||||
</html>
|
||||
18
resources/views/pages/sections.edge
Normal file
18
resources/views/pages/sections.edge
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<h1>
|
||||
Sections
|
||||
</h1>
|
||||
<ul>
|
||||
@each(section in sections)
|
||||
<li> {{ section.name }} <button>🗑</button></li>
|
||||
@end
|
||||
|
||||
<li>Informatique <button>🗑</button></li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user