Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simple-charts-frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mahesh Maddhuru
simple-charts-frontend
Commits
a1db3f8b
Commit
a1db3f8b
authored
10 months ago
by
Nikhil Ram
Browse files
Options
Downloads
Patches
Plain Diff
landing page
parent
4177ce8d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/page.tsx
+4
-6
4 additions, 6 deletions
src/app/page.tsx
src/components/Dashboard/Landing-Page.tsx
+68
-32
68 additions, 32 deletions
src/components/Dashboard/Landing-Page.tsx
with
72 additions
and
38 deletions
src/app/page.tsx
+
4
−
6
View file @
a1db3f8b
import
ECommerce
from
"
@/components/Dashboard/E-commerce
"
;
"
use client
"
;
import
{
Metadata
}
from
"
next
"
;
import
DefaultLayout
from
"
@/components/Layouts/DefaultLayout
"
;
import
LandingPage
from
"
@/components/Dashboard/Landing-Page
"
;
import
{
Card
,
CardContent
,
Grid
,
makeStyles
,
Typography
}
from
"
@mui/material
"
;
import
{
Button
}
from
"
@mui/material
"
;
import
React
from
"
react
"
;
import
React
,
{
use
}
from
"
react
"
;
export
const
metadata
:
Metadata
=
{
title
:
"
Simple Charts
"
,
description
:
"
This is simple charts Dashboard
"
,
};
export
default
function
Home
()
{
return
(
...
...
This diff is collapsed.
Click to expand it.
src/components/Dashboard/Landing-Page.tsx
+
68
−
32
View file @
a1db3f8b
"
use client
"
;
import
React
from
"
react
"
;
import
Image
from
"
next/image
"
;
import
{
Button
,
Card
,
CardContent
,
Grid
,
Typography
}
from
"
@mui/material
"
;
const
LandingPage
:
React
.
FC
=
()
=>
{
...
...
@@ -8,65 +8,101 @@ const LandingPage: React.FC = () => {
<
div
>
<
Grid
container
spacing
=
{
10
}
>
<
Grid
item
xs
=
{
4
}
>
<
h1
className
=
"text-9xl font-semibold dark:text-white"
>
Simple charts
</
h1
>
{
/* Make the most beutiful heading */
}
<
Typography
variant
=
"h2"
component
=
"h2"
style
=
{
{
textAlign
:
"
center
"
,
fontWeight
:
"
bold
"
,
fontSize
:
"
3.5rem
"
,
padding
:
"
10px 20px
"
,
transition
:
"
all 0.3s ease
"
}
}
>
SimpleCharts
</
Typography
>
</
Grid
>
<
Grid
item
xs
=
{
6
}
>
<
img
src
=
{
"
landing/landingImage.jpeg
"
}
alt
=
"Landing Page Logo"
/>
<
div
style
=
{
{
position
:
"
relative
"
}
}
>
<
Image
src
=
"/images/landing/landingImage.jpeg"
width
=
{
500
}
height
=
{
500
}
style
=
{
{
width
:
"
auto
"
,
height
:
"
auto
"
,
borderRadius
:
"
50%
"
,
}
}
alt
=
"User"
/>
<
Button
variant
=
"contained"
color
=
"primary"
style
=
{
{
position
:
"
absolute
"
,
top
:
"
50%
"
,
left
:
"
25%
"
,
transform
:
"
translate(-50%, -50%)
"
,
borderRadius
:
20
,
// Adjust border radius
padding
:
"
10px 20px
"
,
// Adjust padding
fontSize
:
"
1.2rem
"
,
// Adjust font size
fontWeight
:
"
bold
"
,
// Adjust font weight
boxShadow
:
"
0px 2px 4px rgba(0, 0, 0, 0.25)
"
,
// Add box shadow
transition
:
"
all 0.3s ease
"
,
// Add transition effect
}
}
>
Create A Chart
</
Button
>
</
div
>
</
Grid
>
</
Grid
>
<
br
/>
<
Grid
container
spacing
=
{
3
}
>
<
Grid
item
xs
=
{
4
}
>
<
Card
>
<
CardContent
>
<
img
src
=
{
"
landing/ChooseData.svg
"
}
alt
=
"Step 1 Choose Data"
/>
<
Typography
variant
=
"h5"
component
=
"h2"
>
<
Card
style
=
{
{
borderRadius
:
20
,
padding
:
"
10px 20px
"
,
fontSize
:
"
1.2rem
"
,
fontWeight
:
"
bold
"
,
boxShadow
:
"
0px 2px 4px rgba(0, 0, 0, 0.25)
"
,
transition
:
"
all 0.3s ease
"
}
}
>
<
CardContent
style
=
{
{
textAlign
:
"
center
"
}
}
>
<
Image
src
=
"/images/landing/ChooseData.svg"
width
=
{
500
}
height
=
{
500
}
style
=
{
{
width
:
"
auto
"
,
height
:
"
auto
"
,
borderRadius
:
"
50%
"
,
}
}
alt
=
"User"
/>
<
Typography
variant
=
"h5"
component
=
"h2"
style
=
{
{
textAlign
:
"
center
"
,
fontWeight
:
"
bold
"
,
fontSize
:
"
1.2rem
"
}
}
>
Step 1
</
Typography
>
<
Typography
color
=
"textSecondary"
>
Choose Data
</
Typography
>
<
Typography
color
=
"textSecondary"
style
=
{
{
textAlign
:
"
center
"
,
fontWeight
:
"
bold
"
,
fontSize
:
"
1.2rem
"
}
}
>
Choose Data
</
Typography
>
</
CardContent
>
</
Card
>
</
Grid
>
<
Grid
item
xs
=
{
4
}
>
<
Card
>
<
CardContent
>
<
Card
style
=
{
{
borderRadius
:
20
,
padding
:
"
10px 20px
"
,
fontSize
:
"
1.2rem
"
,
fontWeight
:
"
bold
"
,
boxShadow
:
"
0px 2px 4px rgba(0, 0, 0, 0.25)
"
,
transition
:
"
all 0.3s ease
"
}
}
>
<
CardContent
style
=
{
{
textAlign
:
"
center
"
}
}
>
<
img
src
=
{
"
landing/SelectChart.svg
"
}
src
=
"
/images/
landing/SelectChart.svg"
alt
=
"Step 2 Select Chart"
/>
<
Typography
variant
=
"h5"
component
=
"h2"
>
<
Typography
variant
=
"h5"
component
=
"h2"
style
=
{
{
textAlign
:
"
center
"
,
fontWeight
:
"
bold
"
,
fontSize
:
"
1.2rem
"
}
}
>
Step 2
</
Typography
>
<
Typography
color
=
"textSecondary"
>
Select a Chart
</
Typography
>
<
Typography
color
=
"textSecondary"
style
=
{
{
textAlign
:
"
center
"
,
fontWeight
:
"
bold
"
,
fontSize
:
"
1.2rem
"
}
}
>
Select Chart
</
Typography
>
</
CardContent
>
</
Card
>
</
Grid
>
<
Grid
item
xs
=
{
4
}
>
<
Card
>
<
CardContent
>
<
img
src
=
{
"
landing/Customi
z
e.svg
"
}
alt
=
"Step 3 Customize"
/>
<
Typography
variant
=
"h5"
component
=
"h2"
>
<
Card
style
=
{
{
borderRadius
:
20
,
padding
:
"
10px 20px
"
,
fontSize
:
"
1.2rem
"
,
fontWeight
:
"
bold
"
,
boxShadow
:
"
0px 2px 4px rgba(0, 0, 0, 0.25)
"
,
transition
:
"
all 0.3s ease
"
}
}
>
<
CardContent
style
=
{
{
textAlign
:
"
center
"
}
}
>
<
img
src
=
"
/images/
landing/Customi
s
e.svg"
alt
=
"Step 3 Customize"
/>
<
Typography
variant
=
"h5"
component
=
"h2"
style
=
{
{
textAlign
:
"
center
"
,
fontWeight
:
"
bold
"
,
fontSize
:
"
1.2rem
"
}
}
>
Step 3
</
Typography
>
<
Typography
color
=
"textSecondary"
>
Customize
</
Typography
>
<
Typography
color
=
"textSecondary"
style
=
{
{
textAlign
:
"
center
"
,
fontWeight
:
"
bold
"
,
fontSize
:
"
1.2rem
"
}
}
>
Customise
</
Typography
>
</
CardContent
>
</
Card
>
</
Grid
>
</
Grid
>
<
br
/>
<
br
/>
<
Button
variant
=
"contained"
color
=
"primary"
style
=
{
{
width
:
"
50em
"
,
height
:
"
10em
"
,
}
}
>
Create A Chart
</
Button
>
</
div
>
</>
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment