online business card maker
googlefc.controlledMessagingFunction
https://edaciousedaciousozgiggle.com/vnibmg5sg?key=e122ce79106e8642bf095b055c22240c
(adsbygoogle = window.adsbygoogle || []).push({});
https://edaciousedaciousozgiggle.com/vnibmg5sg?key=e122ce79106e8642bf095b055c22240c
Business Card Maker
googlefc.controlledMessagingFunction
body {
font-family: 'Arial', sans-serif;
background-color: #f0f0f0;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.container {
text-align: center;
max-width: 600px;
width: 100%;
padding: 20px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
form {
display: grid;
gap: 10px;
margin-bottom: 20px;
}
.card {
margin-top: 20px;
border: 1px solid #ddd;
padding: 20px;
background-color: #fff;
}
#downloadBtn {
margin-top: 20px;
padding: 10px;
background-color: #4caf50;
color: #fff;
border: none;
cursor: pointer;
}
#downloadBtn:disabled {
background-color: #ccc;
cursor: not-allowed;
}// Function to generate business card
function generateCard() {
const name = document.getElementById('name').value;
const position = document.getElementById('position').value;
const email = document.getElementById('email').value;
const phone = document.getElementById('phone').value;
const imageUrl = document.getElementById('image').value;
const logoUrl = document.getElementById('logo').value;
const svg = Snap('#svg');
svg.clear();
// Create background rectangle with random color
const rect = svg.rect(0, 0, 300, 200);
rect.attr({
fill: getRandomColor(),
});
// Add text elements
svg.text(20, 40, name).attr({ fontSize: 18, fill: '#333' });
svg.text(20, 70, position).attr({ fontSize: 14, fill: '#666' });
svg.text(20, 100, email).attr({ fontSize: 14, fill: '#666' });
svg.text(20, 130, phone).attr({ fontSize: 14, fill: '#666' });
// Add image and logo
const image = svg.image(imageUrl, 180, 20, 100, 100);
const logo = svg.image(logoUrl, 250, 150, 30, 30);
// Transformations
rect.prependTo(svg);
rect.after(logo);
// Centering text
svg.text(150, 100, name).attr({ fontSize: 18, fill: '#fff' }).attr({ textAnchor: 'middle' });
// Centering text
svg.text(150, 130, position).attr({ fontSize: 14, fill: '#fff' }).attr({ textAnchor: 'middle' });
}
// Function to download business card as image
function downloadCard() {
const svg = document.getElementById('svg');
const svgData = new XMLSerializer().serializeToString(svg);
const canvas = document.createElement('canvas');
const context = canvas.getContext('2d');
const img = new Image();
img.onload = function () {
canvas.width = img.width;
canvas.height = img.height;
context.drawImage(img, 0, 0);
const a = document.createElement('a');
a.download = 'business_card.png';
a.href = canvas.toDataURL('image/png');
document.body.appendChild(a);
a.click();
document.body.removeChild(a);
};
img.src = 'data:image/svg+xml,' + encodeURIComponent(svgData);
}
// Function to generate random color
function getRandomColor() {
const letters = '0123456789ABCDEF';
let color = '#';
for (let i = 0; i < 6; i++) {
color += letters[Math.floor(Math.random() * 16)];
}
return color;
}
About this :
An online business card maker is a tool or platform that allows users to create digital or printable business cards easily. These platforms typically follow a user-friendly process to design and customize business cards without the need for advanced graphic design skills. Here's a general overview of how they work:
Sign Up/Log In:
Users usually start by signing up or logging into the online business card maker platform. This allows them to save and access their designs later.
Template Selection:
Users can choose from a variety of pre-designed templates. These templates often have different styles, layouts, and color schemes to suit various preferences.
Customization:
Once a template is selected, users can customize various elements. This includes adding their name, contact information, job title, company logo, and other details. Users can also choose fonts, colors, and layout options to match their branding.
Upload Logo and Images:
Many business card makers allow users to upload their company logo or personal photo to personalize the card further.
Text Editing:
Users can edit and format text, adjusting fonts, sizes, and colors to create a professional and cohesive look.
Preview:
Most platforms provide a preview feature that allows users to see how their business card will look before finalizing the design. This helps in identifying any errors or improvements needed.
Save/Download:
After finalizing the design, users can save their work on the platform or download the business card in a printable format (such as PDF or JPEG).
Printing Options:
Some online business card makers also offer printing services or integration with printing companies. Users can choose to order printed cards directly from the platform.
Sharing and Digital Versions:
Some platforms allow users to share their business card digitally by providing a link or QR code. This makes it easy to share contact information electronically.
Accessibility:
Online business card makers are accessible from various devices, such as desktop computers, laptops, tablets, and smartphones, making it convenient for users to create and manage their business cards anytime, anywhere.
Remember that different business card maker platforms may have variations in their features and processes, but the general steps mentioned above outline the common workflow.
Comments
Post a Comment
have u any doubt pls coment me