This repository has been archived by the owner on Oct 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fbaf57a
commit 0b5976f
Showing
25 changed files
with
1,005 additions
and
1,307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"arrowParens": "avoid", | ||
"semi": false, | ||
"importOrder": ["^react$", "<THIRD_PARTY_MODULES>", "^@(.*)$", "^[./]"], | ||
"importOrderCaseInsensitive": true, | ||
"importOrderParserPlugins": ["jsx", "typescript"], | ||
"importOrderSeparation": true, | ||
"importOrderSortSpecifiers": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
presets: [require.resolve("@docusaurus/core/lib/babel/preset")], | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,4 @@ module.exports = { | |
id: "contributing", | ||
}, | ||
], | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
import React, { ReactNode } from "react" | ||
|
||
import clsx from "clsx" | ||
import { FiCoffee, FiDatabase, FiPackage, FiZap } from "react-icons/fi" | ||
|
||
import styles from "./styles.module.scss" | ||
|
||
const size = 24 | ||
const data = [ | ||
{ | ||
icon: <FiPackage size={size} />, | ||
title: "Dead simple, but powerful", | ||
description: | ||
"Oxidizer is a Rust ORM based on tokio-postgres and refinery. Two powerful libraries that give performance and reliability to perform database interactions.", | ||
}, | ||
{ | ||
icon: <FiZap size={size} />, | ||
title: "Asynchronous from the ground up", | ||
description: | ||
"By using tokio and tokio-postgres, all the database operations are efficiently handled by tokio at runtime.", | ||
}, | ||
{ | ||
icon: <FiDatabase size={size} />, | ||
title: "Relations", | ||
description: | ||
" Oxidizer macros generate code to access forward and reverse relations between entities with ease.", | ||
}, | ||
{ | ||
icon: <FiCoffee size={size} />, | ||
title: "Productive and Extensible", | ||
description: | ||
"Write reusable code and think in terms of your problem domain, not SQL.", | ||
}, | ||
] | ||
|
||
interface FeatureProps { | ||
icon: ReactNode | ||
title: string | ||
description: string | ||
} | ||
|
||
const Feature = ({ icon, title, description }: FeatureProps) => { | ||
return ( | ||
<div className={clsx("col col--6", styles.feature)}> | ||
<div className="item"> | ||
<div className={styles.header}> | ||
<div className={styles.icon}>{icon}</div> | ||
<h2 className={styles.title}>{title}</h2> | ||
</div> | ||
<p>{description}</p> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
const Features = () => { | ||
return ( | ||
<> | ||
{data?.length > 0 && ( | ||
<section id="features" className={styles.features}> | ||
<div className="container"> | ||
<div className="row"> | ||
<div className="col col--11 col--offset-1"> | ||
<div className="row"> | ||
{data.map((props, idx) => ( | ||
<Feature key={idx} {...props} /> | ||
))} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
)} | ||
</> | ||
) | ||
} | ||
|
||
export default Features |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.