Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
Add energy suggestions card
Browse files Browse the repository at this point in the history
  • Loading branch information
floriandejonckheere committed Dec 9, 2023
1 parent 612e77f commit ab64827
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/components/cards/energy_suggestions.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { ReactElement } from 'react'

export default function EnergySuggestions(): ReactElement {
return (
<div className="flex flex-col gap-4 bg-white rounded-lg shadow p-7 dark:bg-slate-700">
<div className="mb-6">
<h3 className="flex gap-3 items-center text-xl font-bold text-gray-600 dark:text-gray-200 mb-2">
Energy suggestions
</h3>
</div>
</div>
)
}
2 changes: 2 additions & 0 deletions src/pages/suggestions.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { ReactElement } from 'react'

import EnergyAlerts from '../components/cards/energy_alerts'
import EnergySuggestions from '../components/cards/energy_suggestions'
import Weather from '../components/cards/weather'

export default function Suggestions(): ReactElement {
Expand All @@ -11,6 +12,7 @@ export default function Suggestions(): ReactElement {
<div className="grid grid-cols-1 xl:grid-cols-2 mt-6 gap-16">
<EnergyAlerts />
<Weather />
<EnergySuggestions />
</div>
</>
)
Expand Down

0 comments on commit ab64827

Please sign in to comment.