danyobosayo

Untitled

Nov 12th, 2024 (edited)
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // components/Dashboard.jsx
  2. // Boiler plate code for the dashboard.
  3. // Don't forget to render it in `app.jsx`
  4.  
  5. import { useState } from 'react';
  6. import Card from './Card';
  7.  
  8. function Dashboard() {
  9.     // Insert state to store items, initialized with data from JSON file
  10.     return (
  11.         <div className="relative my-12 flex flex-col items-center">
  12.             {/* TITLE */}
  13.             <h1 className="poppins-bold flex-row text-2xl">Who's Invited?</h1>
  14.            <hr className="mb-4 mt-2 w-1/3 border-black" />
  15.  
  16.            {/* Event List Grid */}
  17.            <div className="relative z-10 grid sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
  18.                {/* Map through items and render a Card component for each in the section below */}
  19.                
  20.            </div>
  21.        </div>
  22.    );
  23. }
  24.  
  25. export default Dashboard;
  26.  
Advertisement
Add Comment
Please, Sign In to add comment