Skip to content

Commit 4575623

Browse files
authored
feat: Enhance styling for 'Join Us' page with improved layout and responsive design (#226)
- Enhance styling for 'Join Us' page with improved layout and responsive design - Refactored JoinUs page to use Grommet components for consistency - Fix layout and spacing
1 parent 3c15466 commit 4575623

File tree

3 files changed

+78
-48
lines changed

3 files changed

+78
-48
lines changed

src/pages/join-us.jsx

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
import React from "react";
2+
import DefaultLayoutNarrow from "@/components/default-layout-narrow";
3+
import { Box, Heading, Text, Button } from "grommet";
4+
import { Link } from "gatsby";
5+
6+
export default function JoinUs() {
7+
const jobs = [
8+
{ title: "Software Engineer", link: "/career/sde1" },
9+
{ title: "Qualitative Researcher", link: "/career/qualitative-researcher" },
10+
{ title: "Digital Marketing Consultant", link: "/career/digitalmarketing-consultant" },
11+
{ title: "Backend and DevOps Engineer", link: "/career/backend-engineer" },
12+
{ title: "Senior Software Engineer", link: "/career/senior-fullstack-developer" },
13+
];
14+
15+
return (
16+
<DefaultLayoutNarrow>
17+
<Box pad={{ horizontal: "large-sx", vertical: "medium" }} margin={{ top: "xsmall" }}>
18+
{/* Elegant Heading */}
19+
<Heading level={2} margin={{ bottom: "small" }}>
20+
Join Us
21+
</Heading>
22+
23+
{/* Job Listings */}
24+
<Box gap="small" margin={{ bottom: "small" }}>
25+
{jobs.map((job) => (
26+
<Link key={job.title} to={job.link} className="no-underline">
27+
<Box
28+
direction="row"
29+
justify="between"
30+
align="center"
31+
pad={{ vertical: "medium", horizontal: "large" }}
32+
margin={{ bottom: "small" }}
33+
className="bg-white shadow-lg rounded-xl transition transform hover:scale-105 hover:shadow-2xl hover:bg-gray-50"
34+
style={{ borderWidth: '3px', borderColor: '#ddd', width: 'calc(100% + 10px)' }} // Increased width
35+
>
36+
{/* Job Title */}
37+
<Text weight="bold" size="20px" color="accent-3" className="font-semibold">
38+
{job.title}
39+
</Text>
40+
41+
{/* Job Category */}
42+
<Text size="16px" color="accent-1" className="text-lg font-medium">
43+
View Details
44+
</Text>
45+
</Box>
46+
</Link>
47+
))}
48+
</Box>
49+
50+
{/* Open Application Section */}
51+
<Box margin={{ top: "xsmall" }}>
52+
<Heading level={1} margin={{ bottom: "small" }} size="mediam">
53+
Open Application
54+
</Heading>
55+
<Text size="small-ms" color="dark-6" margin={{ bottom: "medium" }}>
56+
If your work aligns with our mission, we are always eager to collaborate. Researchers, developers,
57+
data scientists, designers, AI engineers, and journalists are welcome to reach out!
58+
</Text>
59+
60+
{/* Apply Here Button */}
61+
<Box margin={{ top: "small" }} direction="row" justify="start">
62+
<Button
63+
as="a"
64+
href="https://docs.google.com/forms/d/e/1FAIpQLSf9kH9vWZoscBzxMITtxbTlmUJlogj9HejsZXUjs_H1dzssuQ/viewform?usp=sf_link"
65+
label="Apply Here"
66+
primary
67+
color="brand"
68+
className="shadow-lg transition transform hover:scale-105"
69+
pad={{ vertical: "small", horizontal: "large" }} // Added padding for button
70+
size="small" // Smaller size for button
71+
/>
72+
</Box>
73+
</Box>
74+
</Box>
75+
</DefaultLayoutNarrow>
76+
);
77+
}

src/pages/join-us.mdx

Lines changed: 0 additions & 47 deletions
This file was deleted.

src/updates/2019-10-04_Considerations-in-Archiving-Content-from-Encrypted-Messaging-Apps.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ excerpt: "Comparative Approaches to Disinformation, Berkman Klein Center, Harvar
55
url: "https://cyber.harvard.edu/story/2019-10/comparative-approaches-disinformation"
66
tags: Paper, Talk
77
project: feluda
8-
---
8+
---

0 commit comments

Comments
 (0)