Skip to content

Commit

Permalink
[debug]测试左上角logo渲染
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyKong2020 authored Oct 13, 2024
1 parent b1b0c1b commit 38302a9
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions themes/starter/components/Logo.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,17 @@ export const Logo = ({ white }) => {
<div className='w-60 max-w-full px-4'>
<div className='navbar-logo flex items-center w-full py-5 cursor-pointer'>
{/* eslint-disable-next-line @next/next/no-img-element */}
{logo && (
// {logo && (
// <img
// onClick={() => {
// router.push('/')
// }}
// src={logo}
// alt='logo'
// className='header-logo w-full'
// />
// )}
{
<img
onClick={() => {
router.push('/')
Expand All @@ -53,7 +63,7 @@ export const Logo = ({ white }) => {
alt='logo'
className='header-logo w-full'
/>
)}
}
{/* logo文字 */}
<span
onClick={() => {
Expand Down

0 comments on commit 38302a9

Please sign in to comment.