@eeacms/volto-clms-theme 1.1.257 → 1.1.258

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ ### [1.1.258](https://github.com/eea/volto-clms-theme/compare/1.1.257...1.1.258) - 10 October 2025
8
+
9
+ #### :house: Internal changes
10
+
11
+ - style: Automated code fix [eea-jenkins - [`0f9b8be`](https://github.com/eea/volto-clms-theme/commit/0f9b8be05a2d800175644d975a5a09ad3cde153c)]
12
+
13
+ #### :hammer_and_wrench: Others
14
+
15
+ - Refs #289194 - Add ChatbotFloatingButton. [GhitaB - [`0a2af53`](https://github.com/eea/volto-clms-theme/commit/0a2af535f6d07207d1ece314b3a436c97a1efd1b)]
7
16
  ### [1.1.257](https://github.com/eea/volto-clms-theme/compare/1.1.256...1.1.257) - 9 October 2025
8
17
 
9
18
  #### :house: Internal changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.1.257",
3
+ "version": "1.1.258",
4
4
  "description": "volto-clms-theme: Volto theme for CLMS site",
5
5
  "main": "src/index.js",
6
6
  "author": "CodeSyntax for the European Environment Agency",
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import './chatbot-floating-button.less';
3
+ import AssistantIcon from '@eeacms/volto-clms-theme/../theme/clms/img/assistant-icon-blue.svg';
4
+
5
+ const ChatbotFloatingButton = () => {
6
+ return (
7
+ <a
8
+ href="/en/ask-observia-ai"
9
+ className="chatbot-floating-button"
10
+ aria-label="Open AI Assistant"
11
+ title="Your smart CLMS guide"
12
+ >
13
+ <img src={AssistantIcon} alt="AI Assistant" />
14
+ </a>
15
+ );
16
+ };
17
+
18
+ export default ChatbotFloatingButton;
@@ -0,0 +1,26 @@
1
+ .chatbot-floating-button {
2
+ position: fixed;
3
+ z-index: 1000;
4
+ right: 20px;
5
+ bottom: 20px;
6
+ display: flex;
7
+ width: 48px;
8
+ height: 48px;
9
+ align-items: center;
10
+ justify-content: center;
11
+ background-color: #ffcb2b;
12
+ border-radius: 50%;
13
+ box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
14
+ cursor: pointer;
15
+ transition: transform 0.2s ease, box-shadow 0.2s ease;
16
+
17
+ img {
18
+ width: 28px;
19
+ height: 28px;
20
+ }
21
+
22
+ &:hover {
23
+ box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
24
+ transform: scale(1.1);
25
+ }
26
+ }
@@ -25,6 +25,7 @@ import EEAImage from '@eeacms/volto-clms-theme/../theme/clms/img/ec-logo-white.s
25
25
  import ECImage from '@eeacms/volto-clms-theme/../theme/clms/img/eea-logo.svg';
26
26
  import CclFooterColumn from '@eeacms/volto-clms-theme/components/CclFooterColumn/CclFooterColumn';
27
27
  import CclFooterMenu from '@eeacms/volto-clms-theme/components/CclTopMainMenu/CclFooterMenu';
28
+ import ChatbotFloatingButton from '@eeacms/volto-clms-theme/components/Footer/ChatbotFloatingButton';
28
29
 
29
30
  const messages = defineMessages({
30
31
  copernicusServices: {
@@ -358,6 +359,7 @@ class Footer extends Component {
358
359
  <CclFooterMenu></CclFooterMenu>
359
360
  </ul>
360
361
  </div>
362
+ <ChatbotFloatingButton />
361
363
  </footer>
362
364
  );
363
365
  }
@@ -0,0 +1,55 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ width="44"
4
+ height="44"
5
+ viewBox="0 0 44 44"
6
+ fill="none"
7
+ version="1.1"
8
+ id="svg10"
9
+ sodipodi:docname="assistant-icon-white.svg"
10
+ inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ xmlns:svg="http://www.w3.org/2000/svg">
15
+ <defs
16
+ id="defs14" />
17
+ <sodipodi:namedview
18
+ id="namedview12"
19
+ pagecolor="#ffffff"
20
+ bordercolor="#999999"
21
+ borderopacity="1"
22
+ inkscape:pageshadow="0"
23
+ inkscape:pageopacity="0"
24
+ inkscape:pagecheckerboard="0"
25
+ showgrid="false"
26
+ inkscape:zoom="20.431818"
27
+ inkscape:cx="21.951057"
28
+ inkscape:cy="22"
29
+ inkscape:window-width="2508"
30
+ inkscape:window-height="1376"
31
+ inkscape:window-x="52"
32
+ inkscape:window-y="27"
33
+ inkscape:window-maximized="1"
34
+ inkscape:current-layer="svg10" />
35
+ <path
36
+ d="M40.194 11.5472L39.3603 11.2493C36.4488 10.2132 34.1556 7.92001 33.1196 5.00859L32.8217 4.17489C32.5332 3.37304 31.4016 3.37304 31.1149 4.17489L30.817 5.00859C29.781 7.92005 27.4878 10.2133 24.5764 11.2493L23.7427 11.5472C22.9408 11.8357 22.9408 12.9673 23.7427 13.2539L24.5764 13.5518C27.4878 14.5879 29.7811 16.8811 30.817 19.7925L31.1149 20.6262C31.4035 21.4281 32.5351 21.4281 32.8217 20.6262L33.1196 19.7925C34.1557 16.881 36.4489 14.5878 39.3603 13.5518L40.194 13.2539C40.9958 12.9654 40.9958 11.8338 40.194 11.5472Z"
37
+ fill="#A0B128"
38
+ id="path2"
39
+ style="fill:#243f9c;fill-opacity:1" />
40
+ <path
41
+ d="M19.0403 21.5817L18.6375 21.7259C18.2534 21.8646 18.2534 22.4079 18.6375 22.5465L19.0403 22.6908C20.436 23.1891 21.5339 24.287 22.0323 25.6828L22.1765 26.0856C22.3152 26.4696 22.8585 26.4696 22.9971 26.0856L23.1414 25.6828C23.6397 24.287 24.7376 23.1891 26.1334 22.6908L26.5362 22.5465C26.9202 22.4079 26.9202 21.8646 26.5362 21.7259L26.1334 21.5817C24.7376 21.0833 23.6397 19.9854 23.1414 18.5897L22.9971 18.1868C22.8585 17.8028 22.3152 17.8028 22.1765 18.1868L22.0323 18.5897C21.5339 19.9854 20.436 21.0833 19.0403 21.5817Z"
42
+ fill="#A0B128"
43
+ id="path4"
44
+ style="fill:#243f9c;fill-opacity:1" />
45
+ <path
46
+ d="M41.8567 2.81284L41.6543 2.74165C40.9536 2.49247 40.4028 1.9398 40.1574 1.24471L40.0862 1.04237C40.0188 0.851274 39.7452 0.851274 39.6778 1.04237L39.6066 1.24471C39.3574 1.9454 38.8047 2.4962 38.1096 2.74165L37.9073 2.81284C37.7162 2.88029 37.7162 3.15382 37.9073 3.22128L38.1096 3.29247C38.8103 3.54165 39.3611 4.09432 39.6066 4.78941L39.6778 4.99175C39.7452 5.18285 40.0187 5.18285 40.0862 4.99175L40.1574 4.78941C40.4066 4.08873 40.9592 3.53792 41.6543 3.29247L41.8567 3.22128C42.0478 3.15383 42.0478 2.8803 41.8567 2.81284Z"
47
+ fill="#A0B128"
48
+ id="path6"
49
+ style="fill:#243f9c;fill-opacity:1" />
50
+ <path
51
+ d="M32.327 23.3411C31.6263 23.3411 31.0661 23.9069 31.0661 24.602V38.5258C31.0661 39.6574 30.1443 40.5792 29.0127 40.5792H6.58079C5.4492 40.5792 4.52741 39.6574 4.52741 38.5258V14.7225C4.52741 13.5909 5.44916 12.6692 6.58079 12.6692H19.8715C20.5666 12.6692 21.1324 12.1034 21.1324 11.4083C21.1324 10.7076 20.5666 10.1474 19.8715 10.1417H6.58079C4.05714 10.1417 2 12.1951 2 14.7169V38.5202C2 41.0438 4.05338 43.101 6.58079 43.101H29.0127C31.5364 43.101 33.5935 41.0476 33.5935 38.5202V24.5964C33.5935 23.8957 33.0277 23.3355 32.3326 23.3355L32.327 23.3411Z"
52
+ fill="#A0B128"
53
+ id="path8"
54
+ style="fill:#243f9c;fill-opacity:1" />
55
+ </svg>