@@ -347,50 +347,110 @@ const penguinDataBySpecies = [
347347 props ={{ group : { y : 80 } }}
348348 />
349349 </div >
350+ </div >
350351
352+ <!-- Part 4 -->
353+ <div class =" bg-white p-6 rounded-lg shadow-md" >
354+ <h2 class =" text-xl font-bold" >Emissions by Department</h2 >
355+ <small >...</small >
351356
357+ <div class =" h-[300px] p-4 border rounded" >
358+ <AreaChart
359+ data ={multiSeriesData }
360+ x =" date"
361+ series ={[
362+ { key: " apples" , color: " hsl(var(--color-danger))" },
363+ {
364+ key: " bananas" ,
365+ color: " hsl(var(--color-success))" ,
366+ },
367+ {
368+ key: " oranges" ,
369+ color: " hsl(var(--color-warning))" ,
370+ },
371+ ]}
372+ />
373+ </div >
352374 </div >
353375
354- <!-- Part 4 -->
376+
355377 <div class =" bg-white p-6 rounded-lg shadow-md" >
356- <h2 class =" text-xl font-bold" >Top Products and Services </h2 >
378+ <h2 class =" text-xl font-bold" >Leaderboard </h2 >
357379 <small >...</small >
358380
359- <div class =" h-[300px] p-4 border rounded" >
360- <AreaChart
361- data ={multiSeriesData }
362- x =" date"
363- series ={[
364- { key: " apples" , color: " hsl(var(--color-danger))" },
365- {
366- key: " bananas" ,
367- color: " hsl(var(--color-success))" ,
368- },
369- {
370- key: " oranges" ,
371- color: " hsl(var(--color-warning))" ,
372- },
373- ]}
374- />
375- </div >
381+ <div class =" flex justify-center" >
382+ <div class =" bg-white p-4 rounded-lg shadow-lg w-full max-w-4xl" >
376383
384+ <div class =" flex items-center space-x-4 hover:bg-gray-100 p-4 rounded-lg transition-all duration-300" >
377385
386+ <img src =" /avatars/1.jpg" alt =" Employee Avatar" class =" w-16 h-16 rounded-full border border-gray-300" >
378387
388+ <div class =" flex-1" >
389+ <div class =" flex justify-between" >
390+ <p class =" text-lg font-semibold text-gray-800" >John Doe</p >
391+ <p class =" text-sm text-gray-600" >Department: HR</p >
392+ </div >
393+ <p class =" text-sm text-gray-500 mt-1" >$60,000 / year</p >
394+ </div >
395+ </div >
379396
380- </ div >
397+ < div class = " flex items-center space-x-4 hover:bg-gray-100 p-4 rounded-lg transition-all duration-300 " >
381398
382- </ div >
399+ < img src = " /avatars/2.jpg " alt = " Employee Avatar " class = " w-16 h-16 rounded-full border border-gray-300 " >
383400
384- </div >
401+ <div class =" flex-1" >
402+ <div class =" flex justify-between" >
403+ <p class =" text-lg font-semibold text-gray-800" >John Doe</p >
404+ <p class =" text-sm text-gray-600" >Department: HR</p >
405+ </div >
406+ <p class =" text-sm text-gray-500 mt-1" >$60,000 / year</p >
407+ </div >
408+ </div >
409+
410+ <div class =" flex items-center space-x-4 hover:bg-gray-100 p-4 rounded-lg transition-all duration-300" >
411+
412+ <img src =" /avatars/3.jpg" alt =" Employee Avatar" class =" w-16 h-16 rounded-full border border-gray-300" >
413+
414+ <div class =" flex-1" >
415+ <div class =" flex justify-between" >
416+ <p class =" text-lg font-semibold text-gray-800" >John Doe</p >
417+ <p class =" text-sm text-gray-600" >Department: HR</p >
418+ </div >
419+ <p class =" text-sm text-gray-500 mt-1" >$60,000 / year</p >
420+ </div >
421+ </div >
422+
423+ <div class =" flex items-center space-x-4 hover:bg-gray-100 p-4 rounded-lg transition-all duration-300" >
385424
425+ <img src =" /avatars/4.jpg" alt =" Employee Avatar" class =" w-16 h-16 rounded-full border border-gray-300" >
386426
427+ <div class =" flex-1" >
428+ <div class =" flex justify-between" >
429+ <p class =" text-lg font-semibold text-gray-800" >John Doe</p >
430+ <p class =" text-sm text-gray-600" >Department: HR</p >
431+ </div >
432+ <p class =" text-sm text-gray-500 mt-1" >$60,000 / year</p >
433+ </div >
434+ </div >
435+
436+ <div class =" flex items-center space-x-4 hover:bg-gray-100 p-4 rounded-lg transition-all duration-300" >
387437
438+ <img src =" /avatars/5.jpg" alt =" Employee Avatar" class =" w-16 h-16 rounded-full border border-gray-300" >
388439
389- <h2 >Summary Statistics</h2 >
440+ <div class =" flex-1" >
441+ <div class =" flex justify-between" >
442+ <p class =" text-lg font-semibold text-gray-800" >John Doe</p >
443+ <p class =" text-sm text-gray-600" >Department: HR</p >
444+ </div >
445+ <p class =" text-sm text-gray-500 mt-1" >$60,000 / year</p >
446+ </div >
447+ </div >
448+ </div >
449+ </div >
390450
391- < h2 >Users with Most Transactions, Least Carbon Emissions</ h2 >
392- <!-- {#each data as user}
393- <li>User {user.name} with transactions, emitting kg of carbon.</li>
394- {/each} -- >
451+
452+ </ div >
453+
454+ </ div >
395455
396456</section >
0 commit comments