-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat : adding historical solar data at the home page (#454)
* feat : adding historical solar data at the home page * fix: fixing lint
- Loading branch information
Thibault
authored and
GitHub
committed
Jun 18, 2025
1 parent
2bf0d91
commit ce0062c
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| "use client"; | ||
| import React from "react"; | ||
| import Image from "next/image"; | ||
|
|
||
| const solarDataUrl = | ||
| "https://services.swpc.noaa.gov/images/swx-overview-large.gif"; | ||
|
|
||
| export default function HistorySolarData() { | ||
| return ( | ||
| <div className="flex w-full flex-col items-center justify-center"> | ||
| <div className="mt-16 flex flex-col items-center justify-center text-center"> | ||
| <div className="prose prose-invert"> | ||
| <h1>{"Historical Solar Data"}</h1> | ||
| <p> | ||
| { | ||
| "Here is shown multiple charts informing the current state of the solar weather" | ||
| } | ||
| </p> | ||
| </div> | ||
| </div> | ||
| {/* Images side by side */} | ||
| <div className="my-10 flex w-full flex-row items-center justify-center gap-8 p-4 text-center"> | ||
| <Image | ||
| alt="Historical Solar Data" | ||
| src={solarDataUrl} | ||
| width={900} | ||
| height={400} | ||
| className="w-900 h-auto" | ||
| /> | ||
| </div> | ||
| </div> | ||
| ); | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters