Skip to content

Commit

Permalink
Restructure LandingPage's components
Browse files Browse the repository at this point in the history
Moved to `components` subdirectory
  • Loading branch information
kpyszkowski committed Apr 25, 2024
1 parent eb3cb02 commit a26e6ea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions dapp/src/pages/LandingPage/components/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default as HeroSection } from "./HeroSection"
export { default as SeasonCountdownSection } from "./SeasonCountdownSection"
7 changes: 4 additions & 3 deletions dapp/src/pages/LandingPage/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import React from "react"
import { Flex } from "@chakra-ui/react"
import SeasonCountdownSection from "./SeasonCountdownSection"
import HeroSection from "./HeroSection"

import {
SeasonCountdownSection,
HeroSection,
} from "#/pages/LandingPage/components"

Check failure on line 6 in dapp/src/pages/LandingPage/index.tsx

View workflow job for this annotation

GitHub Actions / dapp-format

Expected 1 empty line after import statement not followed by another import
export default function LandingPage() {
return (
<Flex
Expand Down

0 comments on commit a26e6ea

Please sign in to comment.