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

Commit

Permalink
adding sample landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrotap committed May 17, 2023
1 parent 6152422 commit 52206ad
Show file tree
Hide file tree
Showing 3 changed files with 157 additions and 17 deletions.
71 changes: 55 additions & 16 deletions client/src/app/home/home.page.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,59 @@
<ion-header [translucent]="true">
<ion-toolbar>
<ion-title>
Blank
</ion-title>
<ion-header>
<ion-toolbar color="primary">
<ion-title class="ion-text-center">Cognitive Load App</ion-title>
</ion-toolbar>
</ion-header>

<ion-content [fullscreen]="true">
<ion-header collapse="condense">
<ion-toolbar>
<ion-title size="large">Blank</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<ion-card>
<img src="app-logo.png" alt="App Logo" class="logo">
<ion-card-header>
<ion-card-subtitle>Welcome to the Cognitive Load App</ion-card-subtitle>
<ion-card-title>Manage Your Mental Health</ion-card-title>
</ion-card-header>
<ion-card-content>
<p>Reduce cognitive load and improve your mental health with our powerful app. Get personalized exercises and
techniques to help you optimize your cognitive performance and reduce stress.</p>
<p>Track your progress, set reminders, and receive helpful insights along the way. Start your journey to a
healthier mind today!</p>
</ion-card-content>
</ion-card>

<ion-button expand="full" color="primary" class="get-started-button">Get Started</ion-button>

<div id="container">
<strong>Ready to create an app?</strong>
<p>Start with Ionic <a target="_blank" rel="noopener noreferrer" href="https://ionicframework.com/docs/components">UI Components</a></p>
</div>
</ion-content>
<ion-grid class="features-grid">
<ion-row>
<ion-col size="6">
<ion-icon name="bar-chart-outline" class="feature-icon"></ion-icon>
<h3>Personalized Insights</h3>
<p>Get personalized insights to understand your cognitive load and make informed decisions for better mental
health.</p>
</ion-col>
<ion-col size="6">
<ion-icon name="timer-outline" class="feature-icon"></ion-icon>
<h3>Time Management</h3>
<p>Learn effective time management techniques to optimize your cognitive performance and reduce overwhelm.
</p>
</ion-col>
</ion-row>
<ion-row>
<ion-col size="6">
<ion-icon name="heart-outline" class="feature-icon"></ion-icon>
<h3>Mindfulness Exercises</h3>
<p>Practice mindfulness exercises to enhance your focus, reduce stress, and improve your overall well-being.
</p>
</ion-col>
<ion-col size="6">
<ion-icon name="clipboard-outline" class="feature-icon"></ion-icon>
<h3>Task Prioritization</h3>
<p>Learn effective strategies to prioritize tasks and manage your cognitive load more efficiently.</p>
</ion-col>
</ion-row>
</ion-grid>

<ion-footer>
<ion-toolbar class="ion-text-center">
<p>&copy; 2023 Cognitive Load App. All rights reserved.</p>
</ion-toolbar>
</ion-footer>
</ion-content>
90 changes: 89 additions & 1 deletion client/src/app/home/home.page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,92 @@

#container a {
text-decoration: none;
}
}

/* Global Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}

/* Header Styles */
ion-header {
padding: 20px;
}

ion-title {
font-size: 24px;
font-weight: bold;
color: #fff;
}

/* Card Styles */
ion-card {
max-width: 400px;
margin: 0 auto;
margin-top: 50px;
text-align: center;
}

.logo {
width: 150px;
margin: 0 auto;
margin-top: 20px;
}

ion-card-title {
font-size: 24px;
font-weight: bold;
margin-top: 20px;
}

ion-card-subtitle {
font-size: 16px;
color: #888;
margin-top: 10px;
}

ion-card-content {
margin-top: 20px;
}

/* Button Styles */
.get-started-button {
margin: 20px auto;
}

/* Features Grid Styles */
.features-grid {
margin-top: 50px;
}

.feature-icon {
font-size: 40px;
color: #333;
}

h3 {
font-size: 18px;
font-weight: bold;
margin-top: 10px;
}

p {
font-size: 14px;
color: #888;
margin-top: 10px;
}

/* Footer Styles */
ion-footer {
margin-top: 50px;
background-color: #f4f4f4;
padding: 10px;
}

ion-footer p {
font-size: 12px;
color: #888;
}

13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 52206ad

Please sign in to comment.