make separate component for section footer to show links below section content on mobile
This commit is contained in:
@ -4,6 +4,7 @@ import { SectionHeader } from "../general/SectionHeader";
|
||||
import { NewsItem } from "./NewsItem";
|
||||
import styles from "./newsList.module.scss";
|
||||
import { NewsFragment } from "@/lib/news";
|
||||
import { SectionFooter } from "../general/SectionFooter";
|
||||
|
||||
export const NewsList = ({
|
||||
news,
|
||||
@ -36,6 +37,9 @@ export const NewsList = ({
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
{heading && (
|
||||
<SectionFooter link="/aktuelt" linkText="Se flere artikler" />
|
||||
)}
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user