@budibase/frontend-core 2.4.27-alpha.7 → 2.4.27-alpha.9
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/package.json +4 -4
- package/src/api/configs.js +12 -0
- package/src/components/TestimonialPage.svelte +21 -17
- package/src/constants.js +1 -0
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/frontend-core",
|
|
3
|
-
"version": "2.4.27-alpha.
|
|
3
|
+
"version": "2.4.27-alpha.9",
|
|
4
4
|
"description": "Budibase frontend core libraries used in builder and client",
|
|
5
5
|
"author": "Budibase",
|
|
6
6
|
"license": "MPL-2.0",
|
|
7
7
|
"svelte": "src/index.js",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@budibase/bbui": "2.4.27-alpha.
|
|
10
|
-
"@budibase/shared-core": "2.4.27-alpha.
|
|
9
|
+
"@budibase/bbui": "2.4.27-alpha.9",
|
|
10
|
+
"@budibase/shared-core": "2.4.27-alpha.9",
|
|
11
11
|
"lodash": "^4.17.21",
|
|
12
12
|
"svelte": "^3.46.2"
|
|
13
13
|
},
|
|
14
|
-
"gitHead": "
|
|
14
|
+
"gitHead": "b48f6ecdc939ed804ef5645c7e0869ccfbf2ec74"
|
|
15
15
|
}
|
package/src/api/configs.js
CHANGED
|
@@ -73,6 +73,18 @@ export const buildConfigEndpoints = API => ({
|
|
|
73
73
|
})
|
|
74
74
|
},
|
|
75
75
|
|
|
76
|
+
/**
|
|
77
|
+
* Updates the company favicon for the environment.
|
|
78
|
+
* @param data the favicon form data
|
|
79
|
+
*/
|
|
80
|
+
uploadFavicon: async data => {
|
|
81
|
+
return await API.post({
|
|
82
|
+
url: "/api/global/configs/upload/settings/faviconUrl",
|
|
83
|
+
body: data,
|
|
84
|
+
json: false,
|
|
85
|
+
})
|
|
86
|
+
},
|
|
87
|
+
|
|
76
88
|
/**
|
|
77
89
|
* Uploads a logo for an OIDC provider.
|
|
78
90
|
* @param name the name of the OIDC provider
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
import Covanta from "../../assets/covanta.png"
|
|
6
6
|
import Schnellecke from "../../assets/schnellecke.png"
|
|
7
7
|
|
|
8
|
+
export let enabled = true
|
|
9
|
+
|
|
8
10
|
const testimonials = [
|
|
9
11
|
{
|
|
10
12
|
text: "Budibase was the only solution that checked all the boxes for Covanta. Covanta expects to realize $3.2MM in savings due to the elimination of redundant data entry.",
|
|
@@ -33,23 +35,25 @@
|
|
|
33
35
|
|
|
34
36
|
<SplitPage>
|
|
35
37
|
<slot />
|
|
36
|
-
<div class=
|
|
37
|
-
|
|
38
|
-
<
|
|
39
|
-
<
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
<div class="
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
38
|
+
<div class:wrapper={enabled} slot="right">
|
|
39
|
+
{#if enabled}
|
|
40
|
+
<div class="testimonial">
|
|
41
|
+
<Layout noPadding gap="S">
|
|
42
|
+
<img
|
|
43
|
+
width={testimonial.imageSize}
|
|
44
|
+
alt="a-happy-budibase-user"
|
|
45
|
+
src={testimonial.image}
|
|
46
|
+
/>
|
|
47
|
+
<div class="text">
|
|
48
|
+
"{testimonial.text}"
|
|
49
|
+
</div>
|
|
50
|
+
<div class="author">
|
|
51
|
+
<div class="name">{testimonial.name}</div>
|
|
52
|
+
<div class="company">{testimonial.role}</div>
|
|
53
|
+
</div>
|
|
54
|
+
</Layout>
|
|
55
|
+
</div>
|
|
56
|
+
{/if}
|
|
53
57
|
</div>
|
|
54
58
|
</SplitPage>
|
|
55
59
|
|