mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-22 05:16:47 +08:00
chore: reformat code
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect, useState } from 'react';
|
||||
|
||||
import { getFooterHTML, getSystemName } from '../helpers';
|
||||
import {Layout} from "@douyinfe/semi-ui";
|
||||
import { Layout } from '@douyinfe/semi-ui';
|
||||
|
||||
const Footer = () => {
|
||||
const systemName = getSystemName();
|
||||
@@ -29,30 +29,30 @@ const Footer = () => {
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<Layout.Content style={{textAlign: 'center'}}>
|
||||
<Layout.Content style={{ textAlign: 'center' }}>
|
||||
{footer ? (
|
||||
<div
|
||||
className='custom-footer'
|
||||
className="custom-footer"
|
||||
dangerouslySetInnerHTML={{ __html: footer }}
|
||||
></div>
|
||||
) : (
|
||||
<div className='custom-footer'>
|
||||
<div className="custom-footer">
|
||||
<a
|
||||
href='https://github.com/Calcium-Ion/new-api'
|
||||
target='_blank'
|
||||
href="https://github.com/Calcium-Ion/new-api"
|
||||
target="_blank" rel="noreferrer"
|
||||
>
|
||||
New API {process.env.REACT_APP_VERSION}{' '}
|
||||
</a>
|
||||
由{' '}
|
||||
<a href='https://github.com/Calcium-Ion' target='_blank'>
|
||||
<a href="https://github.com/Calcium-Ion" target="_blank" rel="noreferrer">
|
||||
Calcium-Ion
|
||||
</a>{' '}
|
||||
开发,基于{' '}
|
||||
<a href='https://github.com/songquanpeng/one-api' target='_blank'>
|
||||
<a href="https://github.com/songquanpeng/one-api" target="_blank" rel="noreferrer">
|
||||
One API v0.5.4
|
||||
</a>{' '}
|
||||
,本项目根据{' '}
|
||||
<a href='https://opensource.org/licenses/mit-license.php'>
|
||||
<a href="https://opensource.org/licenses/mit-license.php">
|
||||
MIT 许可证
|
||||
</a>{' '}
|
||||
授权
|
||||
|
||||
Reference in New Issue
Block a user