double qutes eslint rule
This commit is contained in:
1 parent
2e517cc7f7
commit
85bc8c4af5
57 files changed
+370
-366
No files matched your search
@@ -1,32 +1,32 @@
|
||||
import s from './footer.module.css'
|
||||
import s from "./footer.module.css"
|
||||
|
||||
import cx from 'classnames'
|
||||
import { Copyright } from '../Copyright'
|
||||
import { Author } from './Author'
|
||||
import { Block } from '../Block'
|
||||
import { Spacer } from '../Spacer'
|
||||
import { Contacts } from '../Contacts'
|
||||
import cx from "classnames"
|
||||
import { Copyright } from "../Copyright"
|
||||
import { Author } from "./Author"
|
||||
import { Block } from "../Block"
|
||||
import { Spacer } from "../Spacer"
|
||||
import { Contacts } from "../Contacts"
|
||||
|
||||
export interface IFooterProps {
|
||||
showAuthor: boolean
|
||||
}
|
||||
|
||||
export const Footer: React.FC<IFooterProps> = props => (
|
||||
<footer className={cx(s.footer, 'opposite')}>
|
||||
<Block direction={'vertical'} style={{
|
||||
marginBottom: 'var(--size-l)',
|
||||
<footer className={cx(s.footer, "opposite")}>
|
||||
<Block direction={"vertical"} style={{
|
||||
marginBottom: "var(--size-l)",
|
||||
}}>
|
||||
<Contacts />
|
||||
</Block>
|
||||
|
||||
{props.children}
|
||||
|
||||
<Block direction={'horizontal'}>
|
||||
<Block direction={"horizontal"}>
|
||||
<Copyright />
|
||||
|
||||
{!props.showAuthor ? null : (
|
||||
<>
|
||||
<Spacer as={'span'} />
|
||||
<Spacer as={"span"} />
|
||||
<Author />
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user