<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Virtual Business Card</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f2f2f2;
|
|
}
|
|
.card {
|
|
width: 300px;
|
|
margin: 50px auto;
|
|
background-color: #fff;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
}
|
|
.card h1, .card h2, .card p {
|
|
margin: 0;
|
|
}
|
|
.card h1 {
|
|
color: #333;
|
|
}
|
|
.card h2 {
|
|
color: #666;
|
|
font-size: 18px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.card p {
|
|
color: #777;
|
|
font-size: 16px;
|
|
}
|
|
.qr-code {
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
}
|
|
.social-buttons {
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
}
|
|
.social-buttons a {
|
|
display: inline-block;
|
|
margin-right: 10px;
|
|
}
|
|
.social-buttons a img {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
.social-buttons a img {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 400px) {
|
|
.social-buttons {
|
|
margin-top: 10px;
|
|
}
|
|
.social-buttons a img {
|
|
width: 25px;
|
|
height: 25px;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="card">
|
|
<h1>John Doe</h1>
|
|
<h2>CEO & Founder</h2>
|
|
<p>Acme Corporation</p>
|
|
<p>Email: [email protected]</p>
|
|
<p>Phone: +1234567890</p>
|
|
<div class="qr-code">
|
|
<img src="{{ url_for('static', filename='qr_code.png') }}" alt="QR Code">
|
|
</div>
|
|
<div class="social-buttons">
|
|
<a href="https://www.instagram.com/your_instagram_username" target="_blank"><img src="instagram_icon.png" alt="Instagram"></a>
|
|
<a href="https://www.facebook.com/your_facebook_username" target="_blank"><img src="facebook_icon.png" alt="Facebook"></a>
|
|
<a href="https://www.yourwebsite.com" target="_blank"><img src="website_icon.png" alt="Personal Website"></a>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|
|
|