diff --git a/src/components/organisms/Footer.jsx b/src/components/organisms/Footer.jsx index 1044b02..55ba535 100644 --- a/src/components/organisms/Footer.jsx +++ b/src/components/organisms/Footer.jsx @@ -1,6 +1,6 @@ import React, { Component } from 'react' import PropTypes from 'prop-types' -import vCard from 'vcf' +// import vCard from 'vcf' import FileSaver from 'file-saver' import Social from '../molecules/Social' import './Footer.scss' @@ -12,22 +12,22 @@ class Footer extends Component { } constructVcard() { - const meta = this.props.meta - const contact = new vCard() - const photo = meta.avatarBase64 + // const meta = this.props.meta + // const contact = new vCard() + // const photo = meta.avatarBase64 - contact.set('fn', meta.title) - contact.set('title', meta.tagline) - contact.set('email', meta.email) - contact.set('url', meta.url, { type: 'Portfolio' }) - contact.add('url', meta.social.Blog, { type: 'Blog' }) - contact.set('nickname', 'kremalicious') - contact.add('x-socialprofile', meta.social.Twitter, { type: 'twitter' }) - contact.add('x-socialprofile', meta.social.GitHub, { type: 'GitHub' }) - contact.set('photo', photo, { encoding: 'b', type: 'JPEG' }) + // contact.set('fn', meta.title) + // contact.set('title', meta.tagline) + // contact.set('email', meta.email) + // contact.set('url', meta.url, { type: 'Portfolio' }) + // contact.add('url', meta.social.Blog, { type: 'Blog' }) + // contact.set('nickname', 'kremalicious') + // contact.add('x-socialprofile', meta.social.Twitter, { type: 'twitter' }) + // contact.add('x-socialprofile', meta.social.GitHub, { type: 'GitHub' }) + // contact.set('photo', photo, { encoding: 'b', type: 'JPEG' }) - const vcard = contact.toString('3.0') - this.downloadVcard(vcard, meta) + // const vcard = contact.toString('3.0') + // this.downloadVcard(vcard, meta) } downloadVcard(vcard, meta) { @@ -48,9 +48,9 @@ class Footer extends Component {