Skip to content

Commit 5f5fcdd

Browse files
authored
Added conclusions page (#59)
* docs(tutorial): Added a "conclusions" page * chore: fixes to dark mode css Fixed some css and the toggle in dark mode
1 parent 40ec7ba commit 5f5fcdd

4 files changed

Lines changed: 40 additions & 1 deletion

File tree

assets/scss/_styles_project.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
--link-light: #0056b3;
3535
--code-bg-light: #f5f5f5;
3636
--bs-secondary-color: #333333;
37+
--td-pre-bg: #ececec;
3738
}
3839

3940
.dark-mode {
@@ -60,6 +61,14 @@
6061
a:hover {
6162
color: color-mix(in srgb, var(--link-light) 80%, white);
6263
}
64+
65+
.td-sidebar-toc a:hover {
66+
color: color-mix(in srgb, var(--link-light) 80%, black) !important;
67+
}
68+
69+
.td-sidebar-nav a.active {
70+
color: red;
71+
}
6372

6473
header, footer {
6574
background-color: var(--background-light);
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: Conclusions
3+
description: Let's continue our journey
4+
draft: false
5+
weight: 70
6+
---
7+
8+
Summarizing what we have seen so far, in this tutorial we have seen how to:
9+
10+
1) set up an application;
11+
2) create and publish the frontend
12+
3) create and publish the backend, in the form of packages and actions;
13+
4) interact with services using the `ops` utility;
14+
5) publish the application and distribute it on test and production environments.
15+
16+
At this point, all you have to do is give space to your developer imagination and create your applications by taking advantage of the flexibility and scalability of Apache OpenServerless.
17+
18+
If you have questions or need support, reach us through:
19+
- the [Developer Mailing List](mailto:dev-subscribe@openserverless.apache.org)
20+
- our [Discord channels](https://discord.com/channels/1330139630175260783/1330139635774656585)
21+
- our [Telegram](https://t.me/+XhbCjBrkkaNkOWM0)
22+

content/en/docs/tutorial/form-validation/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ weight: 30
55
draft: false
66
---
77

8-
### The Contact Package
8+
## The Contact Package
99

1010
The contact form we just uploaded does not do anything. To make it work
1111
let’s start to fill our `package` directory with backend actions.

layouts/partials/head.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@
22
// Applica immediatamente la modalità scura se salvata in localStorage
33
(function() {
44
const currentTheme = localStorage.getItem('theme');
5+
56
if (currentTheme === 'dark') {
67
document.documentElement.classList.add('dark-mode');
8+
} else if (currentTheme === 'light') {
9+
document.documentElement.classList.remove('dark-mode');
710
}
11+
const isDarkMode = document.body.classList.contains('dark-mode');
12+
13+
const themeIcon = document.getElementById('theme-icon');
14+
themeIcon.classList.toggle('fa-sun', !isDarkMode);
15+
themeIcon.classList.toggle('fa-moon', isDarkMode);
816
})();
917
</script>
1018
<meta charset="utf-8">

0 commit comments

Comments
 (0)