Skip to content

Commit

Permalink
Merge pull request #19 from IRSHIT033/newon
Browse files Browse the repository at this point in the history
Newon
  • Loading branch information
IRSHIT033 committed Sep 18, 2022
2 parents 18e4cc8 + 2f55745 commit 1c84822
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 10 deletions.
10 changes: 4 additions & 6 deletions src/components/features/landing/pages/Whyus.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,27 @@ export const Whyus = () => {
<em><p className="whyus__under__head">These features make us the <span className="text__color_event">best</span></p></em>
<div className="whyus-box">
<div className="whyuss">
<h1>Experienced Culinary</h1>
<h1>Proof of Identity</h1>
<div className="whyus-description">
<div className="whyus-icon">
<i className="fa fa-shield" aria-hidden="true"></i>
</div>
<div className="whyus-text">
<p>
{" "}
Come and experience a variety of drinks along with a great
set of people to talk and interact with{" "}
Verify your digital identity at your fingertips{" "}
</p>
</div>
</div>
<h1>Seat Booking Online</h1>
<h1>Passwordless Authentication</h1>
<div className="whyus-description">
<div className="whyus-icon">
<i className="fa fa-check-circle-o" aria-hidden="true"></i>
</div>
<div className="whyus-text">
<p>
{" "}
Worried about Bookings/Availability ? Guess what ? Our 24
hours Online booking portal just solves the issue !{" "}
Provide frictionless authentication{" "}
</p>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function UpcomingIndex() {
const { loggedIn_Arcana } = useContext(ArcanaContext);

if (!loggedIn_Arcana) {
return <div>Pls login....</div>;
return <h1 style={{ color: "white" }}>Pls login....</h1>;
}

const connect = useMetamask();
Expand Down
10 changes: 8 additions & 2 deletions src/components/features/landing/pages/upcoming/card.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
} */

img {
height: 310px;
width: 450px;

vertical-align: middle;
}

Expand Down Expand Up @@ -41,6 +40,7 @@ img {
list-style: none;
margin: 0;
padding: 0;


}

Expand All @@ -49,6 +49,12 @@ img {
padding: 1rem;
}

.cards_item img{
width:350px;
height:350px;
}


@media (min-width: 40rem) {
.cards_item {
width: 50%;
Expand Down
17 changes: 16 additions & 1 deletion src/context/ArcanaContextProvider.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
import { createContext, useEffect, useState } from "react";
import { AuthProvider } from "@arcana/auth";
import { getWalletInstance } from "./util/storageProvider";

import { StorageProvider } from '@arcana/storage/dist/standalone/storage.umd';
export const ArcanaContext = createContext();

const ArcanaContextProvider = ({ children }) => {
const MakeNftPrivate=async()=>{
const dAppStorageProvider = new StorageProvider({
appId: ARCANA_APP_ID,
provider: window.ethereum,
email: user_email_string,
});

const uploader = await dAppStorageProvider.getUploader();


//save DID
const did = await uploader.upload(file)
//save metadataURL
const metadataURL = await storage.makeMetadataURL(title, description, did, preview)
}
const [loggedIn_Arcana, setLoggedInArcana] = useState(false);
const [provider, setProvider] = useState();
const CheckLoggedInArcana = async () => {
Expand Down

0 comments on commit 1c84822

Please sign in to comment.