diff --git a/clients/ts-sdk/src/types.gen.ts b/clients/ts-sdk/src/types.gen.ts
index ad1fc606c..efad4fe15 100644
--- a/clients/ts-sdk/src/types.gen.ts
+++ b/clients/ts-sdk/src/types.gen.ts
@@ -2089,6 +2089,7 @@ export type PublicPageParameters = {
type?: (string) | null;
useGroupSearch?: (boolean) | null;
zIndex?: (number) | null;
+ videoLink?: (string) | null;
};
export type PublicPageSearchOptions = {
diff --git a/frontends/dashboard/src/pages/dataset/PublicPageSettings.tsx b/frontends/dashboard/src/pages/dataset/PublicPageSettings.tsx
index 55ef39f22..bde1ebbf9 100644
--- a/frontends/dashboard/src/pages/dataset/PublicPageSettings.tsx
+++ b/frontends/dashboard/src/pages/dataset/PublicPageSettings.tsx
@@ -625,6 +625,23 @@ const PublicPageControls = () => {
options={Object.keys(HeroPatterns)}
/>
+
diff --git a/server/src/data/models.rs b/server/src/data/models.rs
index 1c3650d26..8da761357 100644
--- a/server/src/data/models.rs
+++ b/server/src/data/models.rs
@@ -3204,6 +3204,9 @@ impl DatasetConfigurationDTO {
z_index: page_parameters_self
.z_index
.or(page_parameters_curr.z_index),
+ video_link: page_parameters_self
+ .video_link
+ .or(page_parameters_curr.video_link),
}),
},
DISABLE_ANALYTICS: self
diff --git a/server/src/handlers/page_handler.rs b/server/src/handlers/page_handler.rs
index f5be533c0..2e9dc8e43 100644
--- a/server/src/handlers/page_handler.rs
+++ b/server/src/handlers/page_handler.rs
@@ -246,6 +246,8 @@ pub struct PublicPageParameters {
pub brand_font_family: Option,
#[serde(skip_serializing_if = "Option::is_none")]
pub z_index: Option,
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub video_link: Option,
}
#[utoipa::path(
diff --git a/server/src/public/page.html b/server/src/public/page.html
index 1c515d2fd..79b64d099 100644
--- a/server/src/public/page.html
+++ b/server/src/public/page.html
@@ -394,7 +394,7 @@
strokeWidth: 2,
roughness: 3,
bowing: 3,
- }
+ },
);
const arrowSize = 10;
@@ -406,7 +406,7 @@
{
stroke: window.paramsData.brandColor || "black",
strokeWidth: 2,
- }
+ },
);
rc.line(
startOpenX - 5,
@@ -416,7 +416,7 @@
{
stroke: window.paramsData.brandColor || "black",
strokeWidth: 2,
- }
+ },
);
let endRecX = 0;
@@ -437,7 +437,7 @@
strokeWidth: 2,
roughness: 3,
bowing: 3,
- }
+ },
);
rc.line(
@@ -448,7 +448,7 @@
{
stroke: window.paramsData.brandColor || "black",
strokeWidth: 2,
- }
+ },
);
rc.line(
startRecX - 5,
@@ -458,7 +458,7 @@
{
stroke: window.paramsData.brandColor || "black",
strokeWidth: 2,
- }
+ },
);
}
diff --git a/server/static/output.css b/server/static/output.css
index 639146673..09107e698 100644
--- a/server/static/output.css
+++ b/server/static/output.css
@@ -571,6 +571,11 @@ video {
margin-bottom: -1rem;
}
+.mx-4 {
+ margin-left: 1rem;
+ margin-right: 1rem;
+}
+
.mx-auto {
margin-left: auto;
margin-right: auto;
@@ -580,10 +585,6 @@ video {
margin-top: -0.5rem;
}
-.mr-4 {
- margin-right: 1rem;
-}
-
.mt-0\.5 {
margin-top: 0.125rem;
}
@@ -604,10 +605,6 @@ video {
margin-top: 1rem;
}
-.mt-40 {
- margin-top: 10rem;
-}
-
.mt-6 {
margin-top: 1.5rem;
}
@@ -616,6 +613,14 @@ video {
margin-top: 2rem;
}
+.mr-4 {
+ margin-right: 1rem;
+}
+
+.mt-40 {
+ margin-top: 10rem;
+}
+
.line-clamp-1 {
overflow: hidden;
display: -webkit-box;
@@ -623,6 +628,10 @@ video {
-webkit-line-clamp: 1;
}
+.block {
+ display: block;
+}
+
.flex {
display: flex;
}
@@ -707,6 +716,10 @@ video {
cursor: not-allowed;
}
+.resize {
+ resize: both;
+}
+
.flex-col {
flex-direction: column;
}
@@ -858,6 +871,14 @@ video {
padding-left: 0.125rem;
}
+.pt-16 {
+ padding-top: 4rem;
+}
+
+.pr-4 {
+ padding-right: 1rem;
+}
+
.text-center {
text-align: center;
}
@@ -934,7 +955,8 @@ video {
}
@media (min-width: 640px) {
- .sm\:mr-6 {
+ .sm\:mx-6 {
+ margin-left: 1.5rem;
margin-right: 1.5rem;
}
@@ -946,6 +968,10 @@ video {
margin-top: 1.5rem;
}
+ .sm\:mr-6 {
+ margin-right: 1.5rem;
+ }
+
.sm\:max-h-\[30rem\] {
max-height: 30rem;
}
@@ -967,6 +993,11 @@ video {
column-gap: 1.5rem;
}
+ .sm\:px-0 {
+ padding-left: 0px;
+ padding-right: 0px;
+ }
+
.sm\:px-6 {
padding-left: 1.5rem;
padding-right: 1.5rem;
@@ -977,6 +1008,14 @@ video {
padding-bottom: 6rem;
}
+ .sm\:pt-24 {
+ padding-top: 6rem;
+ }
+
+ .sm\:pr-0 {
+ padding-right: 0px;
+ }
+
.sm\:text-3xl {
font-size: 1.875rem;
line-height: 2.25rem;
@@ -990,7 +1029,8 @@ video {
}
@media (min-width: 1024px) {
- .lg\:mr-8 {
+ .lg\:mx-8 {
+ margin-left: 2rem;
margin-right: 2rem;
}
@@ -998,6 +1038,10 @@ video {
margin-top: 0px;
}
+ .lg\:mr-8 {
+ margin-right: 2rem;
+ }
+
.lg\:flex {
display: flex;
}