Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue/1055 #1057

Merged
merged 4 commits into from
Sep 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions big-dipper-backend/imports/startup/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import { Helmet } from 'react-helmet';
const IMAGE_WIDTH = 1200;
const IMAGE_HEIGHT = 800;

var siteName = 'Big-Dipper';
var description = 'Wallet deep link';
var siteName = 'Big Dipper | Built on Pylons';
var description = "Blockchain Development Tools For Digital Items & NFTs";
var price = "No Price"
var picWidth = IMAGE_WIDTH;
var picHeight = IMAGE_HEIGHT;
Expand Down
Binary file modified big-dipper-backend/public/img/buy_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions big-dipper/client/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ CURRENTUSERPUBKEY = 'ledgerUserPubKey';
BLELEDGERCONNECTION = 'ledgerBLEConnection'
ADDRESSINDEX = 'addressIndex'

const siteName = 'Big-Dipper';
const siteName = "Big Dipper | Built on Pylons";
const defaultImage = '/img/buy_icon.png';
const defaultMetaTags = `
<meta property="og:title" content="${siteName}" />
<meta property="og:description" content="Wallet deep link" />
<meta property="og:description" content="Blockchain Development Tools For Digital Items & NFTs" />
<meta property="og:image" content="${defaultImage}" />`;

async function getRecipeData(recipe_id){
Expand Down
7 changes: 7 additions & 0 deletions big-dipper/client/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1651,3 +1651,10 @@ model-viewer {
width: 100% !important;
}
}
.img-audio {
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
height: 90vh;
}
4 changes: 2 additions & 2 deletions big-dipper/imports/startup/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const IMAGE_HEIGHT = 800;

const defaultImage = '/img/buy_icon.png';
const defaultMetaTags = `
<meta property="og:title" content="${"Big-Dipper"}" />
<meta property="og:description" content="${"Wallet deep link"}" />
<meta property="og:title" content="${"Big Dipper | Built on Pylons"}" />
<meta property="og:description" content="Blockchain Development Tools For Digital Items & NFTs" />
<meta property="og:image" content="${defaultImage}" />
<meta property="og:url" content="" />
`;
Expand Down
38 changes: 29 additions & 9 deletions big-dipper/imports/ui/easel_buy/EaselBuy.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -323,13 +323,31 @@ export default class EaselBuy extends Component {
);
else if (nftType.toLowerCase() === "audio")
return (
<img
alt="views"
src={media}
className="mobin-img"
onClick={handleClick}
onContextMenu={handleClick}
/>
<div className="img-audio">
<img
alt="views"
src={media}
className="mobin-img"
onClick={handleClick}
onContextMenu={handleClick}
/>

<audio
controls
onClick={handleClick}
onContextMenu={handleClick}
controlsList="nodownload"
className="desktop-view "
style={{
marginTop: "25px",
height: "50px",
}}
>
<source src={src} type="audio/ogg" />
<source src={src} type="audio/mpeg" />
Your browser does not support the audio element.
</audio>
</div>
);
else if (nftType.toLowerCase() === "pdf")
return (
Expand Down Expand Up @@ -416,7 +434,8 @@ export default class EaselBuy extends Component {
/>
</p>
</div>
{nftType?.toLowerCase() === "audio" ? (
{/* Can Be Use For Later Version */}
{/* {nftType?.toLowerCase() === "audio" ? (
<>
<audio
controls
Expand All @@ -435,7 +454,7 @@ export default class EaselBuy extends Component {
</>
) : (
<></>
)}
)} */}
{/*For later Use*/}
{/* <div className="views">
<img
Expand Down Expand Up @@ -765,6 +784,7 @@ export default class EaselBuy extends Component {
/>
</p>
</div>
{/* Can Be Use For Later Version */}
{nftType?.toLowerCase() === "audio" ? (
<audio
controls
Expand Down
Binary file modified big-dipper/public/img/buy_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.