-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ππ»π β New assets [ SGV2-6 ]
- Loading branch information
1 parent
baa2e0d
commit 787bf5a
Showing
5 changed files
with
70 additions
and
66 deletions.
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
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,24 @@ | ||
import React from 'react'; | ||
import { GardenDashboard } from '../../@/components/garden-dashboard'; | ||
|
||
interface FeedOverlayProps { | ||
onClose: () => void; | ||
} | ||
|
||
const FeedOverlay: React.FC<FeedOverlayProps> = ({ onClose }) => { | ||
return ( | ||
<div className="fixed inset-x-0 bottom-0 flex justify-center bg-black bg-opacity-50"> | ||
<div className="bg-white rounded-t-3xl w-full sm:max-w-screen-lg sm:w-full max-h-60vh overflow-y-auto shadow-lg transform transition-all duration-300"> | ||
<div className="p-4"> | ||
<h2 className="text-2xl font-bold">Feed Overlay</h2> | ||
<button onClick={onClose} className="mt-2 px-4 py-2 bg-gray-200 text-gray-800 rounded"> | ||
Close | ||
</button> | ||
<GardenDashboard /> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default FeedOverlay; |
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.