refactored Record
component into DreamRecord
, updated routes and navigation for consistency, and integrated DreamRecord
into Home
.
Signed-off-by: Matthias Puchstein <matthias@puchstein.bayern>
This commit is contained in:
@@ -5,6 +5,7 @@ import {primaryMoodCategories, topDreamTopics} from '../data/MockDailyHighlights
|
||||
import {getBackgroundStyle, getCardStyle, getTextStyle} from '../styles/StyleUtils';
|
||||
import {formatDateFull, formatDateSimple} from '../utils/DateUtils';
|
||||
import {NavLink} from 'react-router-dom';
|
||||
import {DreamRecord} from "../components/DreamRecord.tsx";
|
||||
|
||||
export default function Home() {
|
||||
const currentUser = MockUserMap.get(4); // Neo Quantum
|
||||
@@ -51,6 +52,8 @@ export default function Home() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<DreamRecord/>
|
||||
|
||||
{/* Personal Feed */}
|
||||
<NavLink to='/feed'
|
||||
className="block mb-3 transition-all duration-300 hover:transform hover:scale-[1.01] bg-gradient-to-br from-[rgba(166,77,255,0.35)] to-[rgba(213,0,249,0.35)] backdrop-blur-md rounded-xl shadow-lg dreamy-card">
|
||||
|
Reference in New Issue
Block a user