mirror of
https://github.com/tjsga/tj-sga-website-react.git
synced 2025-04-09 22:50:17 -04:00
Add image to fill footer space
This commit is contained in:
parent
ed7114932c
commit
2d9b43feea
|
@ -2,6 +2,7 @@ import React from 'react';
|
||||||
import '../css/footer.css';
|
import '../css/footer.css';
|
||||||
import BlockContent from '@sanity/block-content-to-react';
|
import BlockContent from '@sanity/block-content-to-react';
|
||||||
import useFooter from '../hooks/useFooter';
|
import useFooter from '../hooks/useFooter';
|
||||||
|
import Centered from './Centered';
|
||||||
|
|
||||||
export default function Footer() {
|
export default function Footer() {
|
||||||
let footer = useFooter();
|
let footer = useFooter();
|
||||||
|
@ -20,6 +21,11 @@ export default function Footer() {
|
||||||
{footer.columns.map((col, index) => (
|
{footer.columns.map((col, index) => (
|
||||||
<div className='footer-col' key={index}>
|
<div className='footer-col' key={index}>
|
||||||
<BlockContent blocks={col.content} />
|
<BlockContent blocks={col.content} />
|
||||||
|
{index === 2 ? (
|
||||||
|
<Centered>
|
||||||
|
<img src='/images/banner.png' alt='TJHSST' height='80px'></img>
|
||||||
|
</Centered>
|
||||||
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user