Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions src/app/pages/routine/routine.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,39 @@
.footer-links a:hover{color:var(--turmeric);}
.footer-copy{width:100%;text-align:center;font-family:var(--font-ui);font-size:0.75rem;color:rgba(217,196,154,0.5);margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(217,196,154,0.15);}

.recommendations {
margin-top: 16px;
}

.recommendations h5 {
margin-bottom: 12px;
font-size: 0.95rem;
font-weight: 700;
color: #2d4a2f;
}

.rec-chips {
display: flex;
flex-wrap: wrap;
gap: 10px;
}

.rec-chip {
background: #f5ead0;
color: #2d4a2f;
border: 1px solid #d9c08c;
border-radius: 999px;
padding: 8px 14px;
font-size: 0.9rem;
font-weight: 500;
transition: all 0.2s ease;
}

.rec-chip:hover {
transform: translateY(-2px);
}

@keyframes fadeUp{from{opacity:0;transform:translateY(24px);}to{opacity:1;transform:translateY(0);}}
@media(max-width:768px){nav{padding:0.75rem 1.5rem;}.nav-links,.nav-cta{display:none;}.page-hero,#intro,#timeline,#seasonal,footer{padding-left:1.5rem;padding-right:1.5rem;}.intro-wrap{grid-template-columns:1fr;gap:2rem;}.tl::before{left:70px;}.tl-item{grid-template-columns:70px 1fr;}.tl-dot{left:61px;}}


9 changes: 9 additions & 0 deletions src/app/pages/routine/routine.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ <h2>Your Complete Day</h2>
<h4>{{ item.icon }} {{ item.title }}</h4>
<p>{{ item.desc }}</p>
<div class="benefit">✦ {{ item.benefit }}</div>
<div class="recommendations" *ngIf="item.recommendations">
<h5>✨ Recommended Activities</h5>

<div class="rec-chips">
<span class="rec-chip" *ngFor="let rec of item.recommendations">
{{ rec }}
</span>
</div>
</div>
</div>
</div>
</div>
Expand Down
49 changes: 44 additions & 5 deletions src/app/pages/routine/routine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,54 @@ export class RoutineComponent {
// Aapka data
phases: any = {
morning: [
{ time:'4:30–5:00', dot:'#D4930F', tag:'Brahma Muhurta', icon:'🌌', title:'Wake Before Sunrise', desc:'The hour before sunrise...', benefit:'Heightened clarity...' },
// Baaki morning items
{
time:'4:30–5:00',
dot:'#D4930F',
tag:'Brahma Muhurta',
icon:'🌌',
title:'Wake Before Sunrise',
desc:'The hour before sunrise...',
benefit:'Heightened clarity...',
recommendations: [
'💧 Drink warm water',
'🧘 Meditation & Pranayama',
'📔 Journal or plan the day'
]
}
],
day: [
{ time:'8:00–12:00', dot:'#2D5A27', tag:'Karma', icon:'💼', title:'Peak Work Hours', desc:'As Kapha transitions...', benefit:'Optimal cognitive performance...' },
// Baaki day items
{
time:'8:00–12:00',
dot:'#2D5A27',
tag:'Karma',
icon:'💼',
title:'Peak Work Hours',
desc:'As Kapha transitions...',
benefit:'Optimal cognitive performance...',
recommendations: [
'💼 Deep work',
'📚 Focused study',
'💧 Hydration breaks',
'🥗 Mindful eating'
]
}
],
evening: [
{ time:'6:00–6:30', dot:'#5C3317', tag:'Sandhya', icon:'🌇', title:'Evening Walk', desc:'A gentle sunset walk...', benefit:'Lowers cortisol...' },
{
time:'6:00–6:30',
dot:'#5C3317',
tag:'Sandhya',
icon:'🌇',
title:'Evening Walk',
desc:'A gentle sunset walk...',
benefit:'Lowers cortisol...',
recommendations: [
'🚶 Gentle walk',
'📵 Reduce screen time',
'🍲 Light dinner',
'🙏 Relaxation or gratitude'
]
}
// Baaki evening items
]
};
Expand Down