diff --git a/frontend/frontend/src/pages/Home/Home.js b/frontend/frontend/src/pages/Home/Home.js
index 3acdcff9..a7d4d5d2 100644
--- a/frontend/frontend/src/pages/Home/Home.js
+++ b/frontend/frontend/src/pages/Home/Home.js
@@ -41,6 +41,7 @@ const HomeScreen = () => {
const [showTitle, setShowTitle] = useState(true);
const [showOwner, setShowOwner] = useState(false);
+ const [descriptionLines, setDescriptionLines] = useState();
const [customTitle, setCustomTitle] = useState('');
const [langsCount, setLangsCount] = useState();
const [enableAnimations, setEnableAnimations] = useState(true);
@@ -78,6 +79,10 @@ const HomeScreen = () => {
fullSuffix += '&show_owner=true';
}
+ if (descriptionLines) {
+ fullSuffix += `&description_lines_count=${descriptionLines}`;
+ }
+
if (customTitle) {
const encodedTitle = encodeURIComponent(customTitle);
fullSuffix += `&custom_title=${encodedTitle}`;
@@ -194,6 +199,8 @@ const HomeScreen = () => {
setShowTitle={setShowTitle}
showOwner={showOwner}
setShowOwner={setShowOwner}
+ descriptionLines={descriptionLines}
+ setDescriptionLines={setDescriptionLines}
customTitle={customTitle}
setCustomTitle={setCustomTitle}
langsCount={langsCount}
diff --git a/frontend/frontend/src/pages/Home/stages/Customize.js b/frontend/frontend/src/pages/Home/stages/Customize.js
index 3086d65b..82866a33 100644
--- a/frontend/frontend/src/pages/Home/stages/Customize.js
+++ b/frontend/frontend/src/pages/Home/stages/Customize.js
@@ -15,6 +15,8 @@ const CustomizeStage = ({
setShowTitle,
showOwner,
setShowOwner,
+ descriptionLines,
+ setDescriptionLines,
customTitle,
setCustomTitle,
langsCount,
@@ -81,6 +83,16 @@ const CustomizeStage = ({
setVariable={setShowOwner}
/>
)}
+ {cardType === CardTypes.PIN && (
+