Skip to content

Commit fca0cc1

Browse files
xStrixUtypeofweb
andauthored
feat(app): add QuestionsSidebar (#392)
* feat(app): add QuestionsSidebar * chore(app): remove clsx * feat(app): add mobile action buttons * refactor(app): change colors notation to oklch * feat(app): add label to mobile action buttons * feat(app): create questions page layout * refactor(app): refactor shadows * refactor(app): refactor LevelButton styles * refactor(app): remove unused classes * fix(app): fix z-index values * refactor(app): close QuestionsSidebar by default Co-authored-by: Michał Miszczyszyn <[email protected]>
1 parent 3cd0025 commit fca0cc1

32 files changed

+540
-66
lines changed
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 28 additions & 0 deletions
Loading
Lines changed: 27 additions & 0 deletions
Loading

apps/app/public/icons/css3-logo.svg

Lines changed: 18 additions & 0 deletions
Loading

apps/app/public/icons/git-logo.svg

Lines changed: 9 additions & 0 deletions
Loading

apps/app/public/icons/html5-logo.svg

Lines changed: 18 additions & 0 deletions
Loading
Lines changed: 12 additions & 0 deletions
Loading

apps/app/public/icons/other-logo.svg

Lines changed: 5 additions & 0 deletions
Loading
Lines changed: 21 additions & 0 deletions
Loading

apps/app/src/app/questions/layout.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { ReactNode } from "react";
2+
import { Container } from "../../components/Container";
3+
import { MobileActionButtons } from "../../components/MobileActionButtons/MobileActionButtons";
4+
import { QuestionsSidebar } from "../../components/QuestionsSidebar/QuestionsSidebar";
5+
6+
const QuestionsPageLayout = ({ children }: { readonly children: ReactNode }) => (
7+
<>
8+
<Container className="flex">
9+
<QuestionsSidebar />
10+
<main className="grow">{children}</main>
11+
</Container>
12+
<MobileActionButtons />
13+
</>
14+
);
15+
16+
export default QuestionsPageLayout;

0 commit comments

Comments
 (0)