ok
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
"name": "groovebrew-mockup",
|
"name": "groovebrew-mockup",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"homepage": "https://dev.kedaimaster.com",
|
"homepage": "https://test.kedaimaster.com",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.13.3",
|
"@emotion/react": "^11.13.3",
|
||||||
"@emotion/styled": "^11.13.0",
|
"@emotion/styled": "^11.13.0",
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ export function MusicPlayer({ socket, shopId, user, shopOwnerId, isSpotifyNeedLo
|
|||||||
// setSubtitleColor("white");
|
// setSubtitleColor("white");
|
||||||
// setSubtitleBG("black");
|
// setSubtitleBG("black");
|
||||||
// }
|
// }
|
||||||
const proxiedUrl = `https://dev.api.kedaimaster.com/image?url=${encodeURIComponent(modifyUrl(imageUrl))}`; // Use your proxy to fetch the image
|
const proxiedUrl = `https://test.api.kedaimaster.com/image?url=${encodeURIComponent(modifyUrl(imageUrl))}`; // Use your proxy to fetch the image
|
||||||
|
|
||||||
setBackgroundImage(proxiedUrl);
|
setBackgroundImage(proxiedUrl);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -1,15 +1,18 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import StepByStep from './StepByStep';
|
import StepByStep from './StepByStep';
|
||||||
|
import styles from './Watermark.module.css';
|
||||||
|
|
||||||
const Watermark = ({ dontShowName }) => {
|
const Watermark = ({ dontShowName }) => {
|
||||||
return (
|
return (
|
||||||
<div style={{ zIndex: 5, marginTop: '30px', backgroundColor: 'rgb(222 237 100)', fontWeight: 700, fontSize: '15px', lineHeight: '1rem', letterSpacing: '-1px', color: 'rgb(37, 79, 26)', padding: '10px' }}>
|
<div className={styles.watermark}>
|
||||||
{!dontShowName && <div>KEDAIMASTER.COM</div>}
|
{!dontShowName && <div className={styles.watermarkName}>KEDAIMASTER.COM</div>}
|
||||||
<div style={{ display: 'flex' }}>
|
<div className={styles.watermarkContent}>
|
||||||
<div style={{ width: '45vw', marginTop: '10px', fontSize: '5.5vw', lineHeight: '33px' }}>Gak perlu rasain antri panjang yang bikin bosen lagi. Tinggal scan QR yang ada di meja, eh tiba tiba kamu udah kenyang wkwkkw</div>
|
<div className={styles.watermarkText}>
|
||||||
|
Gak perlu rasain antri panjang yang bikin bosen lagi. Tinggal scan QR yang ada di meja, eh tiba tiba kamu udah kenyang wkwkkw
|
||||||
|
</div>
|
||||||
<StepByStep />
|
<StepByStep />
|
||||||
</div>
|
</div>
|
||||||
<div style={{ marginTop: '8px' }}>© 2025 KEDIRITECHNOPARK.COM</div>
|
<div className={styles.watermarkFooter}>© 2025 KEDIRITECHNOPARK.COM</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
55
src/components/Watermark.module.css
Normal file
55
src/components/Watermark.module.css
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
.watermark {
|
||||||
|
z-index: 5;
|
||||||
|
margin-top: 30px;
|
||||||
|
background-color: rgb(222, 237, 100);
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 15px;
|
||||||
|
line-height: 1rem;
|
||||||
|
letter-spacing: -1px;
|
||||||
|
color: rgb(37, 79, 26);
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.watermarkName {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.watermarkContent {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.watermarkText {
|
||||||
|
width: 45vw;
|
||||||
|
margin-top: 10px;
|
||||||
|
font-size: 5.5vw;
|
||||||
|
line-height: 33px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Media query for desktop */
|
||||||
|
@media (min-width: 768px) { /* Adjust the min-width as needed */
|
||||||
|
.watermark {
|
||||||
|
z-index: 5;
|
||||||
|
margin-top: 30px;
|
||||||
|
background-color: rgb(222, 237, 100);
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 15px;
|
||||||
|
line-height: 1rem;
|
||||||
|
letter-spacing: -1px;
|
||||||
|
color: rgb(37, 79, 26);
|
||||||
|
padding: 10px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.watermarkText {
|
||||||
|
width: 25vw;
|
||||||
|
margin-top: 10px;
|
||||||
|
font-size: 3vw;
|
||||||
|
line-height: 34px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.watermarkFooter {
|
||||||
|
margin-top: 8px;
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
// src/config.js
|
// src/config.js
|
||||||
|
|
||||||
const API_BASE_URL = 'https://dev.api.kedaimaster.com';
|
const API_BASE_URL = 'https://test.api.kedaimaster.com';
|
||||||
|
|
||||||
export default API_BASE_URL;
|
export default API_BASE_URL;
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ const CreateCouponPage = () => {
|
|||||||
let encodedCouponCode = encodeURIComponent(encryptedCouponCode);
|
let encodedCouponCode = encodeURIComponent(encryptedCouponCode);
|
||||||
|
|
||||||
// Construct the URL with the encoded coupon code as a query parameter
|
// Construct the URL with the encoded coupon code as a query parameter
|
||||||
const urlWithCoupon = `https://dev.coupon.kedaimaster.com/coupon?c=${encodedCouponCode}`;
|
const urlWithCoupon = `https://test.coupon.kedaimaster.com/coupon?c=${encodedCouponCode}`;
|
||||||
|
|
||||||
// Optionally, set the URL to use with the coupon
|
// Optionally, set the URL to use with the coupon
|
||||||
setCouponUrl(urlWithCoupon);
|
setCouponUrl(urlWithCoupon);
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
/* General container */
|
/* General container */
|
||||||
.centeredLinktreePage {
|
.centeredLinktreePage {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column; /* Default to column for mobile */
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
background-color: rgb(222 237 100);
|
background-color: rgb(222, 237, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashboardLine {
|
.dashboardLine {
|
||||||
@@ -22,6 +22,32 @@
|
|||||||
padding-top: 100px;
|
padding-top: 100px;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
/* Media query for desktop */
|
||||||
|
@media (min-width: 768px) { /* Adjust the min-width as needed */
|
||||||
|
.centeredLinktreePage {
|
||||||
|
flex-direction: row; /* Change to row for desktop */
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dashboardContainer {
|
||||||
|
background-color: inherit;
|
||||||
|
z-index: 6;
|
||||||
|
padding: 0 1rem;
|
||||||
|
padding-top: 100px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
width: 40vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dashboardLine {
|
||||||
|
position: fixed;
|
||||||
|
left: 0px;
|
||||||
|
height: 100vh;
|
||||||
|
width: 30px;
|
||||||
|
border-right: 1px solid rgba(0, 0, 0, 0);
|
||||||
|
z-index: 5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Main Heading */
|
/* Main Heading */
|
||||||
.mainHeading {
|
.mainHeading {
|
||||||
|
|||||||
Reference in New Issue
Block a user