Skip to content

Commit

Permalink
Merge branch 'main' of github.com:thejumba/oss
Browse files Browse the repository at this point in the history
  • Loading branch information
ndaba1 committed Mar 10, 2024
2 parents ac3f402 + 65f49b5 commit 3eac388
Show file tree
Hide file tree
Showing 8 changed files with 450 additions and 130 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
"dependencies": {
"@faker-js/faker": "^8.2.0",
"node-fetch": "^3.3.2",
"react-device-detect": "^2.2.3",
"react-multi-carousel": "^2.8.4",
"zod": "^3.22.4"
}
}
163 changes: 154 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@headlessui/react": "^1.7.17",
"@heroicons/react": "^2.0.18",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-slot": "^1.0.2",
"@tabler/icons-react": "^2.40.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
Expand Down
4 changes: 4 additions & 0 deletions www/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,8 @@
body {
@apply bg-background text-foreground;
}
}

.react-multi-carousel-dot--active > button {
background: white !important;
}
10 changes: 9 additions & 1 deletion www/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@ import { OpenPositions } from "./positions";
import { JumbaTeam } from "./team";
import { TextReveal } from "./text-reveal";

import { headers } from "next/headers";
import { getSelectorsByUserAgent } from "react-device-detect";

export default function Home() {
const { isMobile } = getSelectorsByUserAgent(
headers().get("user-agent") ?? ""
);
const deviceType = isMobile ? "mobile" : "desktop";

const textToReveal =
"Our mission is to advance the construction industry by leveraging technology to simplify processes, enhance transparency, and increase reliability and efficiency in order to make construction materials more accessible to people across Africa.";

Expand All @@ -14,7 +22,7 @@ export default function Home() {
<Hero />
<TextReveal block={textToReveal} />
<JumbaOpenSource />
<JumbaTeam />
<JumbaTeam deviceType={deviceType} />
<JumbaBenefits />
<OpenPositions />

Expand Down
Loading

0 comments on commit 3eac388

Please sign in to comment.