Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Innoveria Bachelor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Daniel Høyland
Innoveria Bachelor
Commits
6a68bedc
Commit
6a68bedc
authored
1 year ago
by
Martyna Maria Juga
Browse files
Options
Downloads
Patches
Plain Diff
added FAQ page styling
parent
7bf6c0b1
No related branches found
No related tags found
1 merge request
!59
Dev branch
Pipeline
#26008
passed
1 year ago
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Frontend/power-tracker/src/pages/FAQ.tsx
+90
-4
90 additions, 4 deletions
Frontend/power-tracker/src/pages/FAQ.tsx
with
90 additions
and
4 deletions
Frontend/power-tracker/src/pages/FAQ.tsx
+
90
−
4
View file @
6a68bedc
import
TopBar
from
'
@/components/topbar
'
;
import
{
ScrollArea
}
from
'
@/components/ui/scroll-area
'
;
import
{
Button
}
from
'
@/components/ui/button
'
;
import
{
Separator
}
from
'
@/components/ui/separator
'
;
const
MainComponent
=
()
=>
{
return
(
<
div
>
<>
<
TopBar
></
TopBar
>
<
main
>
<
div
className
=
'leftbar'
>
<
strong
>
You just lost the game!
</
strong
>
<
h2
className
=
"scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0"
>
Index
</
h2
>
<
br
/>
{
/* LIST OF HEADERS */
}
<
ScrollArea
className
=
'h-[90%]'
>
<
div
>
{
/* HEADER */
}
<
Button
className
=
'py-[20px] my-[5px]'
variant
=
"ghost"
>
<
h3
className
=
"scroll-m-20 text-2xl font-semibold tracking-tight"
>
Initial Setup
</
h3
>
</
Button
>
</
div
>
<
div
>
{
/* SUBHEADER */
}
<
Button
className
=
"ml-[30px] py-[20px] my-[5px]"
variant
=
"ghost"
>
<
h4
className
=
"scroll-m-20 text-xl font-semibold tracking-tight"
>
Setting up Gateway
</
h4
>
</
Button
>
</
div
>
<
div
>
{
/* SUBHEADER */
}
<
Button
className
=
"ml-[30px] py-[20px] my-[5px]"
variant
=
"ghost"
>
<
h4
className
=
"scroll-m-20 text-xl font-semibold tracking-tight"
>
Adding Sensors
</
h4
>
</
Button
>
</
div
>
<
br
/>
<
Separator
/>
<
br
/>
<
div
>
{
/* HEADER */
}
<
Button
className
=
'py-[20px] my-[5px]'
variant
=
"ghost"
>
<
h3
className
=
"scroll-m-20 text-2xl font-semibold tracking-tight"
>
Sorting sensors
</
h3
>
</
Button
>
</
div
>
<
div
>
{
/* SUBHEADER */
}
<
Button
className
=
"ml-[30px] py-[20px] my-[5px]"
variant
=
"ghost"
>
<
h4
className
=
"scroll-m-20 text-xl font-semibold tracking-tight"
>
Building / Departments
</
h4
>
</
Button
>
</
div
>
<
div
>
{
/* SUBHEADER */
}
<
Button
className
=
"ml-[30px] py-[20px] my-[5px]"
variant
=
"ghost"
>
<
h4
className
=
"scroll-m-20 text-xl font-semibold tracking-tight"
>
Production Lines
</
h4
>
</
Button
>
</
div
>
</
ScrollArea
>
</
div
>
<
div
className
=
'rightbar'
>
<
strong
>
You just lost the game!
</
strong
>
<
div
className
=
"flex justify-between"
>
<
div
className
=
"h-[100%] w-[50px]"
>
<
Button
variant
=
"secondary"
>
^
</
Button
>
</
div
>
</
main
>
<
Separator
orientation
=
"vertical"
/>
{
/* INFORMATION */
}
<
ScrollArea
className
=
"h-[100%] w-[50%] ml-[50px]"
>
<
h2
className
=
"scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0"
>
Initial Setup
</
h2
>
<
br
/>
<
div
className
=
""
>
<
h3
className
=
"scroll-m-20 text-2xl font-semibold tracking-tight"
>
Setting up a Gateway
</
h3
>
<
br
/>
<
p
>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Donec ut arcu accumsan, vulputate metus nec, tincidunt arcu.
Nulla nec varius odio, ac convallis tellus. Suspendisse potenti.
Morbi laoreet mollis ante, sed finibus ipsum auctor at.
Morbi dignissim quis felis nec aliquam.
Quisque at nunc in dui pulvinar bibendum tincidunt eu justo.
Interdum et malesuada fames ac ante ipsum primis in faucibus.
</
p
>
</
div
>
</
ScrollArea
>
</
div
>
</
div
>
</
main
>
</>
);
};
...
...
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