Skip to content

Commit

Permalink
Fix other pages
Browse files Browse the repository at this point in the history
  • Loading branch information
damianstasik committed Sep 7, 2023
1 parent 33daa08 commit 7eb1436
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 17 deletions.
16 changes: 7 additions & 9 deletions src/components/TextContent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ type TextContentProps = {

export default function TextContent({ children, className }: TextContentProps) {
return (
<div className="bg-white flex-1">
<div
className={clsx(
"prose lg:prose-lg mx-auto prose-h3:text-2xl prose-h3:leading-snug md:prose-h3:text-5xl md:prose-h3:leading-normal prose-li:marker:text-inherit prose-a:text-gray-600 my-4 px-5 md:px-0 md:my-14 text-gray-600",
className
)}
>
{children}
</div>
<div
className={clsx(
"prose lg:prose-lg mx-auto prose-h3:text-2xl prose-h3:leading-snug md:prose-h3:text-5xl md:prose-h3:leading-normal prose-li:marker:text-inherit prose-a:text-gray-600 my-4 px-5 md:px-0 md:my-14 text-gray-600",
className
)}
>
{children}
</div>
);
}
4 changes: 2 additions & 2 deletions src/pages/manifesto.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import TextContent from "../components/TextContent";

export default function Manifesto() {
return (
<Layout wrapperClassName="light">
<Layout>
<Jumbotron>
<h1 className="text-5xl md:text-7xl font-bold text-white text-center leading-tight md:leading-snug max-w-2xl">
<h1 className="text-5xl md:text-7xl font-bold text-center leading-tight md:leading-snug max-w-2xl">
The OpenTF Manifesto
</h1>
</Jumbotron>
Expand Down
8 changes: 4 additions & 4 deletions src/pages/supporters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ export default function SupportersPage() {
const hasMore = filteredSupporters.length > truncatedSupporters.length;

return (
<Layout wrapperClassName="light">
<Layout>
<Jumbotron>
<h1 className="text-5xl md:text-7xl font-bold text-white text-center leading-tight md:leading-snug">
<h1 className="text-5xl md:text-7xl font-bold text-center leading-tight md:leading-snug">
Supporters
</h1>
</Jumbotron>
<div className="bg-white flex-1 text-gray-600">
<div className="flex-1 text-gray-600">
<div className="container mx-auto md:pt-6 pb-10">
<div className="flex flex-wrap gap-3 md:gap-6 justify-center bg-white sticky top-0 py-4">
<div className="flex flex-wrap gap-3 md:gap-6 justify-center py-4">
{types.map(([type, supporters]) => (
<Button
key={type}
Expand Down
2 changes: 1 addition & 1 deletion src/theme/BlogListItems/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from "react";
import BlogListItem from "@theme/BlogListItem";
export default function BlogListItems({ items }) {
return (
<div className="light bg-white">
<div className="">
<div className="max-w-7xl mx-auto grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-x-6 gap-y-12 py-4 md:py-10 px-4">
{items.map((item) => (
<BlogListItem item={item} key={item.content.metadata.permalink} />
Expand Down
2 changes: 1 addition & 1 deletion src/theme/BlogListPaginator/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function BlogListPaginator(props) {
const { metadata } = props;
const { previousPage, nextPage } = metadata;
return (
<nav className="bg-white flex gap-6 justify-center py-10">
<nav className="flex gap-6 justify-center py-10">
{previousPage && (
<Button variant="secondary" href={previousPage}>
Previous Page
Expand Down

0 comments on commit 7eb1436

Please sign in to comment.