This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useRef } from "react"; | |
import Header from "../components/Header"; | |
import Map, { | |
Marker, | |
NavigationControl, | |
FullscreenControl, | |
ScaleControl, | |
} from "react-map-gl"; | |
import mapboxgl from "mapbox-gl"; | |
import axios from "axios"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.9; | |
import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
import "@openzeppelin/contracts/utils/Counters.sol"; | |
contract SoulBound is ERC721, ERC721URIStorage, Ownable { | |
using Counters for Counters.Counter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState, useRef } from "react"; | |
import bcrypt from "bcryptjs"; | |
import { NotificationManager } from "react-notifications"; | |
import Link from "next/link"; | |
export default function Login() { | |
const emailRef = useRef(); | |
const passwordRef = useRef(); | |
const log = () => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState, useRef } from "react"; | |
import bcrypt from "bcryptjs"; | |
import { NotificationManager } from "react-notifications"; | |
import Link from "next/link"; | |
export default function Signup({ data }) { | |
const emailRef = useRef(); | |
const passwordRef = useRef(); | |
const sign = async () => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useState } from "react"; | |
import Head from "next/head"; | |
import styles from "../styles/Home.module.css"; | |
import Sidebar from "../components/Sidebar"; | |
export default function Files() { | |
const [videos, setVideos] = useState([]); | |
useEffect(() => { | |
const user = localStorage.getItem("cloud-user"); | |
if (user === null) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useState } from "react"; | |
import Head from "next/head"; | |
import styles from "../styles/Home.module.css"; | |
import Sidebar from "../components/Sidebar"; | |
export default function Photos() { | |
const [images, setImages] = useState([]); | |
useEffect(() => { | |
const user = localStorage.getItem("cloud-user"); | |
if (user === null) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useState } from "react"; | |
import Head from "next/head"; | |
import styles from "../styles/Home.module.css"; | |
import Sidebar from "../components/Sidebar"; | |
export default function Files() { | |
const [documents, setDoc] = useState([]); | |
useEffect(() => { | |
const user = localStorage.getItem("cloud-user"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useState } from "react"; | |
import Head from "next/head"; | |
import styles from "../styles/Home.module.css"; | |
import Sidebar from "../components/Sidebar"; | |
export default function All() { | |
const [all, setAll] = useState([]); | |
useEffect(() => { | |
const user = localStorage.getItem("cloud-user"); | |
if (user === null) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Head from "next/head"; | |
import styles from "../styles/Home.module.css"; | |
import Sidebar from "../components/Sidebar"; | |
import { NotificationManager } from "react-notifications"; | |
import { useState, useEffect, useRef } from "react"; | |
export default function Home() { | |
const [images, setImages] = useState([]); | |
const [documents, setDoc] = useState([]); | |
const [videos, setVideos] = useState([]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState, useRef } from "react"; | |
import bcrypt from "bcryptjs"; | |
import { NotificationManager } from "react-notifications"; | |
import Link from "next/link"; | |
export default function Login() { | |
const emailRef = useRef(); | |
const passwordRef = useRef(); | |
const sub = () => { |
NewerOlder