<commit_before>import React, { Component } from 'react'
import {Popover} from 'antd'
import './index.css'


class Donate extends Component {
  componentDidMount() {
    (['/image/code.jpg', '/image/alipay.jpeg']).map(url => {
      const img = new Image()
      img.src = url
      return img
    })
  }
  render() {
    return (
      <div className="donate">
        <Popover content={content} title="感谢您的支持！" placement="topRight">
        {/* <div className="button"><Icon type="red-envelope" /> 打赏 <Icon type="red-envelope" /> </div> */}
          <div className="button2 button2-animate"></div>
        </Popover>
      </div>
    )
  }
}

const content = (
  <div className="donate-content">
    <div className="qrcodes">
      <div className="item">
        <img className="image" src="/image/gongyi.png" alt="wechat QRCode" />
        <p className="desc" > 打开微信[扫一扫] </p>
      </div>
      {/* <div className="item">
        <img className="image" src="/image/alipay.jpeg" alt="alipay QRCode" />
        <p className="desc" > 打开支付宝[扫一扫] </p>
      </div> */}
    </div>
    <br />
    <div className="text">本站完全免费，如果本站为你节约了时间</div>
    <div className="text">可否请您献出一份的爱心。非常感谢！</div>
  </div>
);

export default Donate<commit_msg>feat: 公益增加博文链接<commit_after>import React, { Component } from 'react'
import {Popover} from 'antd'
import './index.css'


class Donate extends Component {
  componentDidMount() {
    (['/image/code.jpg', '/image/alipay.jpeg']).map(url => {
      const img = new Image()
      img.src = url
      return img
    })
  }
  render() {
    return (
      <div className="donate">
        <Popover content={content} title="感谢您的支持！" placement="topRight">
        {/* <div className="button"><Icon type="red-envelope" /> 打赏 <Icon type="red-envelope" /> </div> */}
          <div className="button2 button2-animate"></div>
        </Popover>
      </div>
    )
  }
}

const content = (
  <div className="donate-content">
    <div className="qrcodes">
      <div className="item">
        <img className="image" src="/image/gongyi.png" alt="wechat QRCode" />
        <p className="desc" > 打开微信[扫一扫] </p>
      </div>
      {/* <div className="item">
        <img className="image" src="/image/alipay.jpeg" alt="alipay QRCode" />
        <p className="desc" > 打开支付宝[扫一扫] </p>
      </div> */}
    </div>
    <br />
    <div className="text">本站完全免费，如果本站为你节约了时间</div>
    <div className="text">可否请您
    <a href="https://support.qq.com/products/65049/blog/547026" target="_blank"  rel="noopener noreferrer">献出一份的爱心</a>
    。非常感谢！</div>
  </div>
);

export default Donate
{'fraction_non_alphanumeric': 0.1875, 'fraction_numerical': 0.005787037037037037, 'mean_word_length': 2.802052785923754, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 65, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '946857', 'n_tokens_mistral': 984, 'n_tokens_neox': 1007, 'n_words': 178}