Move weather widget to the top of the sidebar
Reposition the SidebarWeatherWidget component to appear before TopStoriesList in the home page layout. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 13a33116-f171-4f67-96d9-d14afe706345 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/nFw7xof Replit-Helium-Checkpoint-Created: true
This commit is contained in:
parent
5f4266a662
commit
39f8525941
BIN
attached_assets/image_1772471429230.png
Normal file
BIN
attached_assets/image_1772471429230.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 262 KiB |
@ -565,8 +565,8 @@ export default function Home() {
|
||||
)}
|
||||
</div>
|
||||
<div className="lg:col-span-1 space-y-4">
|
||||
{articles && articles.length > 0 && <TopStoriesList articles={[...articles].sort((a, b) => new Date(b.publishedAt).getTime() - new Date(a.publishedAt).getTime()).slice(0, 5)} />}
|
||||
<SidebarWeatherWidget />
|
||||
{articles && articles.length > 0 && <TopStoriesList articles={[...articles].sort((a, b) => new Date(b.publishedAt).getTime() - new Date(a.publishedAt).getTime()).slice(0, 5)} />}
|
||||
<SidebarAd />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user