Skip to content

Commit f9b56ae

Browse files
committed
feat: Introduce Prettier configuration, format index.js with single quotes, and export the new Footer component.
1 parent 6414585 commit f9b56ae

File tree

2 files changed

+34
-22
lines changed

2 files changed

+34
-22
lines changed

.prettierrc.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"printWidth": 240,
3+
"singleAttributePerLine": true,
4+
"tabWidth": 4,
5+
"useTabs": false,
6+
"semi": false,
7+
"singleQuote": true,
8+
"quoteProps": "as-needed",
9+
"trailingComma": "es5",
10+
"bracketSpacing": true,
11+
"bracketSameLine": false,
12+
"arrowParens": "avoid",
13+
"endOfLine": "lf"
14+
}

src/index.js

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
1-
import "./global.css";
1+
import './global.css'
22

33
// Theme
4-
export { theme } from "./theme.js";
4+
export { theme } from './theme.js'
55

66
// Primitives
7-
export { SectionHeader } from "./primitives/SectionHeader.jsx";
8-
export { MediaBlock } from "./primitives/MediaBlock.jsx";
9-
export { CTAButton } from "./primitives/CTAButton.jsx";
7+
export { SectionHeader } from './primitives/SectionHeader.jsx'
8+
export { MediaBlock } from './primitives/MediaBlock.jsx'
9+
export { CTAButton } from './primitives/CTAButton.jsx'
1010

1111
// Components
12-
export { Layout } from "./components/Layout.jsx";
13-
export { Header, Navbar } from "./components/Header.jsx";
14-
export { Hero } from "./components/Hero.jsx";
15-
export { SocialProof } from "./components/SocialProof.jsx";
16-
export { FeatureSplit } from "./components/FeatureSplit.jsx";
17-
export { FeaturesGrid } from "./components/FeaturesGrid.jsx";
18-
export { Comparison } from "./components/Comparison.jsx";
19-
export { Pricing } from "./components/Pricing.jsx";
20-
export { FAQ } from "./components/FAQ.jsx";
21-
export { Testimonials } from "./components/Testimonials.jsx";
22-
export { CTABanner, SecondaryCTA } from "./components/CTABanner.jsx";
23-
export { TrustBadge, SeloExclusivo } from "./components/TrustBadge.jsx";
12+
export { Layout } from './components/Layout.jsx'
13+
export { Header, Navbar } from './components/Header.jsx'
14+
export { Hero } from './components/Hero.jsx'
15+
export { SocialProof } from './components/SocialProof.jsx'
16+
export { FeatureSplit } from './components/FeatureSplit.jsx'
17+
export { FeaturesGrid } from './components/FeaturesGrid.jsx'
18+
export { Comparison } from './components/Comparison.jsx'
19+
export { Pricing } from './components/Pricing.jsx'
20+
export { FAQ } from './components/FAQ.jsx'
21+
export { Testimonials } from './components/Testimonials.jsx'
22+
export { CTABanner, SecondaryCTA } from './components/CTABanner.jsx'
23+
export { TrustBadge, SeloExclusivo } from './components/TrustBadge.jsx'
24+
export { Footer } from './components/Footer.jsx'
25+
2426
// Configs
25-
export {
26-
SECTION_BACKGROUNDS,
27-
resolveBackground,
28-
} from "./configs/backgrounds.js";
29-
//
27+
export { SECTION_BACKGROUNDS, resolveBackground } from './configs/backgrounds.js'

0 commit comments

Comments
 (0)