✨(widgets) import widgets code from Messages and setup Docker workflow (#33)
This adds Gaufre v2 with source, documentation, examples and built artefacts. Also includes the feedback widget from Messages.
This commit is contained in:
1
website/public/widgets/demo/feedback-api-error.json
Normal file
1
website/public/widgets/demo/feedback-api-error.json
Normal file
@@ -0,0 +1 @@
|
||||
{"success": true, "config": {"captcha": false, "submitUrl": "/error"}}
|
||||
1
website/public/widgets/demo/feedback-api.json
Normal file
1
website/public/widgets/demo/feedback-api.json
Normal file
@@ -0,0 +1 @@
|
||||
{"success": true, "config": {"captcha": false}}
|
||||
57
website/public/widgets/demo/lagaufre-data.json
Normal file
57
website/public/widgets/demo/lagaufre-data.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"organization": {
|
||||
"name": "Example Organization",
|
||||
"type": "Public Administration",
|
||||
"siret": "12345678901234"
|
||||
},
|
||||
"services": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Authentication Service",
|
||||
"url": "https://example.com/auth",
|
||||
"maturity": "stable",
|
||||
"logo": "/widgets/demo/logos/auth.svg",
|
||||
"subscribed": true
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "Document Portal",
|
||||
"url": "https://example.com/docs",
|
||||
"maturity": "stable",
|
||||
"logo": "/widgets/demo/logos/docs.svg",
|
||||
"subscribed": true
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "Payment Gateway",
|
||||
"url": "https://example.com/payments",
|
||||
"maturity": "stable",
|
||||
"logo": "/widgets/demo/logos/payment.svg",
|
||||
"subscribed": false
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "Analytics Dashboard",
|
||||
"url": "https://example.com/analytics",
|
||||
"maturity": "beta",
|
||||
"logo": "/widgets/demo/logos/analytics.svg",
|
||||
"subscribed": true
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"name": "Notification Center",
|
||||
"url": "https://example.com/notifications",
|
||||
"maturity": "alpha",
|
||||
"logo": "/widgets/demo/logos/notifications.svg",
|
||||
"subscribed": false
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"name": "File Storage",
|
||||
"url": "https://example.com/storage",
|
||||
"maturity": "stable",
|
||||
"logo": "/widgets/demo/logos/storage.svg",
|
||||
"subscribed": true
|
||||
}
|
||||
]
|
||||
}
|
||||
5
website/public/widgets/demo/logos/analytics.svg
Normal file
5
website/public/widgets/demo/logos/analytics.svg
Normal file
@@ -0,0 +1,5 @@
|
||||
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="40" height="40" rx="8" fill="#ffc107"/>
|
||||
<path d="M20 12L24 20L20 28L16 20L20 12Z" fill="white"/>
|
||||
<path d="M20 16L22 20L20 24L18 20L20 16Z" fill="#ffc107"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 278 B |
5
website/public/widgets/demo/logos/auth.svg
Normal file
5
website/public/widgets/demo/logos/auth.svg
Normal file
@@ -0,0 +1,5 @@
|
||||
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="40" height="40" rx="8" fill="#000091"/>
|
||||
<path d="M20 12C15.58 12 12 15.58 12 20C12 24.42 15.58 28 20 28C24.42 28 28 24.42 28 20C28 15.58 24.42 12 20 12ZM20 26C16.69 26 14 23.31 14 20C14 16.69 16.69 14 20 14C23.31 14 26 16.69 26 20C26 23.31 23.31 26 20 26Z" fill="white"/>
|
||||
<path d="M20 16C17.79 16 16 17.79 16 20C16 22.21 17.79 24 20 24C22.21 24 24 22.21 24 20C24 17.79 22.21 16 20 16Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 523 B |
4
website/public/widgets/demo/logos/docs.svg
Normal file
4
website/public/widgets/demo/logos/docs.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="40" height="40" rx="8" fill="#28a745"/>
|
||||
<path d="M12 14H28V26H12V14ZM14 16V24H26V16H14ZM16 18H24V20H16V18ZM16 21H20V22H16V21Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 262 B |
5
website/public/widgets/demo/logos/notifications.svg
Normal file
5
website/public/widgets/demo/logos/notifications.svg
Normal file
@@ -0,0 +1,5 @@
|
||||
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="40" height="40" rx="8" fill="#17a2b8"/>
|
||||
<path d="M20 12C15.58 12 12 15.58 12 20C12 24.42 15.58 28 20 28C24.42 28 28 24.42 28 20C28 15.58 24.42 12 20 12ZM20 26C16.69 26 14 23.31 14 20C14 16.69 16.69 14 20 14C23.31 14 26 16.69 26 20C26 23.31 23.31 26 20 26Z" fill="white"/>
|
||||
<path d="M18 18H22V20H18V18ZM18 21H22V22H18V21ZM18 24H22V25H18V24Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 477 B |
5
website/public/widgets/demo/logos/payment.svg
Normal file
5
website/public/widgets/demo/logos/payment.svg
Normal file
@@ -0,0 +1,5 @@
|
||||
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="40" height="40" rx="8" fill="#dc3545"/>
|
||||
<path d="M20 12C15.58 12 12 15.58 12 20C12 24.42 15.58 28 20 28C24.42 28 28 24.42 28 20C28 15.58 24.42 12 20 12ZM20 26C16.69 26 14 23.31 14 20C14 16.69 16.69 14 20 14C23.31 14 26 16.69 26 20C26 23.31 23.31 26 20 26Z" fill="white"/>
|
||||
<path d="M18 18H22V22H18V18Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 439 B |
4
website/public/widgets/demo/logos/storage.svg
Normal file
4
website/public/widgets/demo/logos/storage.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="40" height="40" rx="8" fill="#6f42c1"/>
|
||||
<path d="M14 16H26V24H14V16ZM16 18V22H24V18H16ZM18 20H22V21H18V20Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 243 B |
Reference in New Issue
Block a user