<?php $__env->startSection('content'); ?>


		<link rel="stylesheet" href="<?php echo e(asset ('core/css/style.css')); ?>">
		<link rel="stylesheet" type="text/css" href="/static/css/mui.min.css">
		<meta name="viewport" content="initial-scale=1, maximum-scale=1, width=device-width">
		<style type="text/css">
			.qrcode-img {
				/*   background: #283C48; */
				padding: 50px;
				border-radius: 10px;
				width: 250px;
				height: 250px;
				display: block;
				margin: 0 auto;
			}

			.share-qrcode p {
				font-size: .3rem;
				color: #fff;
				text-align: center;
				padding: 1rem 2rem 0 2rem;
			}

			.copy-code {
				display: flex;
				flex-direction: column;
				align-items: center;
				justify-content: center;
				border-radius: 10px;
				width: 70%;
				margin: auto;


			}

			.copy-code a {
				display: inline-block;
				background: #1984FF;
				color: #FFFFFF;
				font-size: 16px;
				width: 1.7rem;
				height: .40rem;
				line-height: .4rem;
				border-radius: .4rem;
				text-align: center;
				letter-spacing: .01rem;
			}


			.btn {
				text-transform: uppercase;
				background: #1377FE;
				color: white;
				padding: 10px;
				border-radius: 20px;
				cursor: pointer;
				margin: 50px 15%;
				width: 70%;
				text-align: center;
				border: none;

			}

			.btn:hover {
				background: #afafaf;
				color: #fff;
			}

			input,
			textarea {
				padding: 10px;
				border: 1px solid #d3d3d3;
				width: 220px
			}

			textarea {
				height: 80px
			}

			#foo {
		        margin-bottom: 30px;
				border-radius: 8px;
				font-size: 40px;
				color: #1377FE;
				font-weight: bold;
			}

			.appContent {
				border-radius: 6px;
			}

			.share-qrcode {
				border-top: 2px dashed #ccc;
			}

			.qrcode-img {
				align-items: center;
				display: flex;
			}

			.share-qrcode p {
				font-size: .3rem;
				color: #fff;
				text-align: center;
				padding: 0.5rem 0rem 0.5rem;
			}
			.appHeader{
    		    background-color: #1C57A8;
    		}
    		.yaoqing{
    		    width: 315px;
                height: 465px;
                margin: auto;
                background: #FFFFFF;
                box-shadow: 0px 12px 24px 0px rgba(19,119,254,0.1);
                border-radius: 0px 0px 0px 0px;
    		}
			.content{
			     padding-top: 56px;
			 }
		</style>

	</head>
<script>
function myFunction() {
  var copyText = document.getElementById("myInput");
  copyText.select();
  copyText.setSelectionRange(0, 99999);
  navigator.clipboard.writeText(copyText.value);
  
  var tooltip = document.getElementById("myTooltip");
  tooltip.innerHTML = "Copied: " + copyText.value;
}

function outFunc() {
  var tooltip = document.getElementById("myTooltip");
  tooltip.innerHTML = "Copy to clipboard";
}
</script>
	<body  style="background-color:#F8F8FB;">

		<!-- Page loading -->
		<div class="loading">
			<div class="spinner-grow"></div>
		</div>
		<!-- * Page loading -->


	<style>
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
</style>
</head>
<body>

<div style="display:none;">
<input type="text" value="<?php echo e(route('home')); ?>?reference=<?php echo e(auth()->user()->username); ?>" id="myInput">
</div>









		<!-- App Header -->
		<div class="appHeader">
			<div class="left">
				<a href="<?php echo e(route ('user.home')); ?>" class="icon goBack">
					<i class="icon ion-ios-arrow-back"></i>
				</a>
			</div>
			<div class="pageTitle">Refer friends</div>

		</div>
		<?php echo e(route('home')); ?>?reference=<?php echo e(auth()->user()->username); ?>

		
		
		
		
		<div class="pb-2 content">

			<div class="appContent pb-0 mt-5">
			    <div class="yaoqing">
    				<section class="container dew">
    					<div class="demo">
    						<div class="copy-code">
    						    <p class="mt-5" style="color: #1377FE;opacity:0.4;">My invitation code</p>
    							<span id="foo"><?php echo e(auth()->user()->username); ?></span>
    							
    			
    					
    	
			<button class="btn"  id="myTooltip"  onclick="myFunction()" onmouseout="outFunc()"       > copy </button>

		</div>



<?php $__env->stopSection(); ?>
<?php $__env->startPush('style'); ?>
    <style>
        .trx-search{
            position: relative;
        }
        .trx-search .icon-area{
            position: absolute;
            top: 10px;
            right: 8px;
            font-size: 20px;
            background: transparent;
            border: none;
        }
    </style>
<?php $__env->stopPush(); ?>

<?php echo $__env->make($activeTemplate.'layouts.frontend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/sites/28b/6/61db25e12e/public_html/perview/solermine/demo/core/resources/views/templates/invester/user/transactions.blade.php ENDPATH**/ ?>