Skip to content

Commit

Permalink
add margin to top of section for DevTools and Books section
Browse files Browse the repository at this point in the history
  • Loading branch information
leetebbs committed Jul 22, 2024
1 parent ad04776 commit 1a8e8b8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/components/BooksSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import Card from "./Card";

export default function BooksSection() {
return (
<section className="py-16 pt-10 rounded-md my-4">
<div className="mx-auto px-4 container">
<h2 className="text-4xl font-bold mb-8 text-center text-current">
Books to Learn Rust
</h2>
<section className="py-16 w-full rounded-md my-4">
<div className="container mx-auto px-4">
<h2 className="text-4xl font-bold mb-8 text-center text-current">
Books to Learn Rust
</h2>
<div className="grid md:grid-cols-2 w-full gap-5">
{books.slice(0, 3).map((book, index) => (
<Card item={book} key={index} />
Expand Down
10 changes: 5 additions & 5 deletions src/components/DevToolsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import Card from "./Card";

export default function DevToolsSection() {
return (
<section className="min-h-dvh pt-10 rounded-md my-4">
<div className="mx-auto px-4 container">
<h2 className="text-4xl font-bold mb-8 text-center text-current">
Rust Developer Tools
</h2>
<section className="py-16 w-full rounded-md my-4">
<div className="container mx-auto px-4">
<h2 className="text-4xl font-bold mb-8 text-center text-current">
Rust Developer Tools
</h2>
<div className="grid md:grid-cols-3 w-full gap-5">
{tools.slice(0, 3).map((tool, index) => (
<Card item={tool} key={index} />
Expand Down

0 comments on commit 1a8e8b8

Please sign in to comment.