import React from 'react'
import './index.css' // 确保将CSS样式保存在此文件中

const UpgradeBanner = () => {
  const handleClick = () => {
    window.open('https://aicomicfactory.com/pricing')
  }

  return (
    <div
      className="flex justify-center items-center py-2"
      onClick={handleClick}>
      <button className="upgrade-banner">
        <span className="upgrade-text">UPGRADE</span>
      </button>
    </div>
  )
}

export default UpgradeBanner
