Skip to content

Commit de41c6e

Browse files
author
Khoubza Younes
committed
add more examples
1 parent 17c1dfd commit de41c6e

25 files changed

+305
-75
lines changed

_data/entrypoints.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"entrypoints": {
33
"homepage": {
44
"js": [
5-
"/dist/runtime.4454596f.js",
5+
"/dist/runtime.0b8eec46.js",
66
"/dist/homepage.82551349.js"
77
],
88
"css": [
@@ -12,9 +12,10 @@
1212
},
1313
"main": {
1414
"js": [
15-
"/dist/runtime.4454596f.js",
15+
"/dist/runtime.0b8eec46.js",
1616
"/dist/245.6246929d.js",
17-
"/dist/main.005cd58b.js"
17+
"/dist/814.5539bce7.js",
18+
"/dist/main.dda4463f.js"
1819
],
1920
"css": [
2021
"/dist/857.11f63fec.css",
@@ -23,40 +24,40 @@
2324
},
2425
"adapter-flasher": {
2526
"js": [
26-
"/dist/runtime.4454596f.js",
27+
"/dist/runtime.0b8eec46.js",
2728
"/dist/adapter-flasher.74de58f6.js"
2829
]
2930
},
3031
"adapter-noty": {
3132
"js": [
32-
"/dist/runtime.4454596f.js",
33-
"/dist/814.53e000d3.js",
34-
"/dist/adapter-noty.b07d0868.js"
33+
"/dist/runtime.0b8eec46.js",
34+
"/dist/814.5539bce7.js",
35+
"/dist/adapter-noty.c2b3da74.js"
3536
]
3637
},
3738
"adapter-notyf": {
3839
"js": [
39-
"/dist/runtime.4454596f.js",
40+
"/dist/runtime.0b8eec46.js",
4041
"/dist/adapter-notyf.d8339f0e.js"
4142
]
4243
},
4344
"adapter-pnotify": {
4445
"js": [
45-
"/dist/runtime.4454596f.js",
46+
"/dist/runtime.0b8eec46.js",
4647
"/dist/874.c656c5a9.js",
4748
"/dist/adapter-pnotify.16eed3a8.js"
4849
]
4950
},
5051
"adapter-sweetalert": {
5152
"js": [
52-
"/dist/runtime.4454596f.js",
53+
"/dist/runtime.0b8eec46.js",
5354
"/dist/383.7c120f2f.js",
5455
"/dist/adapter-sweetalert.95ed9cf1.js"
5556
]
5657
},
5758
"adapter-toastr": {
5859
"js": [
59-
"/dist/runtime.4454596f.js",
60+
"/dist/runtime.0b8eec46.js",
6061
"/dist/245.6246929d.js",
6162
"/dist/adapter-toastr.2bb263be.js"
6263
]

_data/manifest.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,28 @@
22
"dist/homepage.css": "/dist/homepage.daa70971.css",
33
"dist/homepage.js": "/dist/homepage.82551349.js",
44
"dist/main.css": "/dist/main.94bbbeaa.css",
5-
"dist/main.js": "/dist/main.005cd58b.js",
5+
"dist/main.js": "/dist/main.dda4463f.js",
66
"dist/adapter-flasher.js": "/dist/adapter-flasher.74de58f6.js",
7-
"dist/adapter-noty.js": "/dist/adapter-noty.b07d0868.js",
7+
"dist/adapter-noty.js": "/dist/adapter-noty.c2b3da74.js",
88
"dist/adapter-notyf.js": "/dist/adapter-notyf.d8339f0e.js",
99
"dist/adapter-pnotify.js": "/dist/adapter-pnotify.16eed3a8.js",
1010
"dist/adapter-sweetalert.js": "/dist/adapter-sweetalert.95ed9cf1.js",
1111
"dist/adapter-toastr.js": "/dist/adapter-toastr.2bb263be.js",
12-
"dist/runtime.js": "/dist/runtime.4454596f.js",
12+
"dist/runtime.js": "/dist/runtime.0b8eec46.js",
13+
"dist/443.11112420.css": "/dist/443.11112420.css",
14+
"dist/443.88bd6db7.js": "/dist/443.88bd6db7.js",
15+
"dist/117.554a2dcd.css": "/dist/117.554a2dcd.css",
16+
"dist/117.b91dd237.js": "/dist/117.b91dd237.js",
17+
"dist/47.c0be7378.css": "/dist/47.c0be7378.css",
18+
"dist/47.aab10a5a.js": "/dist/47.aab10a5a.js",
19+
"dist/587.9523a7ff.css": "/dist/587.9523a7ff.css",
20+
"dist/587.c23105cc.js": "/dist/587.c23105cc.js",
21+
"dist/282.6a2ea759.css": "/dist/282.6a2ea759.css",
22+
"dist/282.16a3116e.js": "/dist/282.16a3116e.js",
1323
"dist/245.6246929d.js": "/dist/245.6246929d.js",
24+
"dist/814.5539bce7.js": "/dist/814.5539bce7.js",
1425
"dist/383.7c120f2f.js": "/dist/383.7c120f2f.js",
1526
"dist/874.c656c5a9.js": "/dist/874.c656c5a9.js",
16-
"dist/814.53e000d3.js": "/dist/814.53e000d3.js",
1727
"dist/857.11f63fec.css": "/dist/857.11f63fec.css",
1828
"dist/fonts/fa-duotone-900.ttf": "/dist/fonts/fa-duotone-900.7aaed888.ttf",
1929
"dist/fonts/fa-thin-100.ttf": "/dist/fonts/fa-thin-100.e979819d.ttf",

assets/js/_tryit.js

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import "../css/_tryit.pcss";
22

33
import flasher from "@flasher/flasher";
44
import toastr from "@flasher/flasher-toastr";
5+
import noty from "@flasher/flasher-noty";
56

67
const messages = {
78
success: [
@@ -143,7 +144,67 @@ const examples = {
143144
flasher.error('Une erreur s\'est produite lors de l\'envoi de votre demande.', 'Erreur');
144145
flasher.warning('Vous devez remplir tous les champs obligatoires avant de soumettre le formulaire.', 'Avertissement');
145146
flasher.info('Cette page sera mise à jour dans 10 minutes.', 'Information');
146-
}
147+
},
148+
"# noty": function () {
149+
noty.success("The book has been added to the library successfully!");
150+
},
151+
"# noty text": function () {
152+
noty.error("Oops, something went wrong.");
153+
},
154+
"# noty alert": function () {
155+
noty.flash("alert", "This may take a while. Do not refresh the page.")
156+
},
157+
"# noty layout": function () {
158+
noty.success("The action was completed successfully.", {
159+
layout: "topCenter",
160+
});
161+
},
162+
"# noty theme mint": function () {
163+
noty.success('Your request was successfully sent.', {theme: "mint"});
164+
noty.error('An error occurred while sending your request.', {theme: "mint"});
165+
noty.warning('You must fill out all required fields before submitting the form.', {theme: "mint"});
166+
noty.info('This page will be updated in 10 minutes.', {theme: "mint"});
167+
},
168+
"# noty theme relax": function () {
169+
import("noty/lib/themes/relax.css").then(function () {
170+
noty.success('Your request was successfully sent.', {theme: "relax"});
171+
noty.error('An error occurred while sending your request.', {theme: "relax"});
172+
noty.warning('You must fill out all required fields before submitting the form.', {theme: "relax"});
173+
noty.info('This page will be updated in 10 minutes.', {theme: "relax"});
174+
});
175+
},
176+
"# noty theme metroui": function () {
177+
import("noty/lib/themes/metroui.css").then(function () {
178+
noty.success('Your request was successfully sent.', {theme: "metroui"});
179+
noty.error('An error occurred while sending your request.', {theme: "metroui"});
180+
noty.warning('You must fill out all required fields before submitting the form.', {theme: "metroui"});
181+
noty.info('This page will be updated in 10 minutes.', {theme: "metroui"});
182+
});
183+
},
184+
"# noty theme light": function () {
185+
import("noty/lib/themes/light.css").then(function () {
186+
noty.success('Your request was successfully sent.', {theme: "light"});
187+
noty.error('An error occurred while sending your request.', {theme: "light"});
188+
noty.warning('You must fill out all required fields before submitting the form.', {theme: "light"});
189+
noty.info('This page will be updated in 10 minutes.', {theme: "light"});
190+
});
191+
},
192+
"# noty theme nest": function () {
193+
import("noty/lib/themes/nest.css").then(function () {
194+
noty.success('Your request was successfully sent.', {theme: "nest"});
195+
noty.error('An error occurred while sending your request.', {theme: "nest"});
196+
noty.warning('You must fill out all required fields before submitting the form.', {theme: "nest"});
197+
noty.info('This page will be updated in 10 minutes.', {theme: "nest"});
198+
});
199+
},
200+
"# noty theme sunset": function () {
201+
import("noty/lib/themes/sunset.css").then(function () {
202+
noty.success('Your request was successfully sent.', {theme: "sunset"});
203+
noty.error('An error occurred while sending your request.', {theme: "sunset"});
204+
noty.warning('You must fill out all required fields before submitting the form.', {theme: "sunset"});
205+
noty.info('This page will be updated in 10 minutes.', {theme: "sunset"});
206+
});
207+
},
147208
};
148209

149210
const codeBlocks = document.querySelectorAll("pre > code");

dist/117.554a2dcd.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/117.b91dd237.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[117],{117:function(e,s,u){u.r(s)}}]);

dist/282.16a3116e.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[282],{282:function(e,s,u){u.r(s)}}]);

dist/282.6a2ea759.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/443.11112420.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/443.88bd6db7.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[443],{443:function(e,s,u){u.r(s)}}]);

dist/47.aab10a5a.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[47],{47:function(e,s,u){u.r(s)}}]);

0 commit comments

Comments
 (0)