Skip to content

Commit 2164c7c

Browse files
authored
Merge pull request #4414 from CodeHarborHub/dev-3
Dev 3
2 parents f92c61e + 2ea331a commit 2164c7c

File tree

8 files changed

+43
-243
lines changed

8 files changed

+43
-243
lines changed

src/components/CareerPage/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const CareerPage: React.FC = () => {
9393
};
9494

9595
return (
96-
<div className="p-4 max-w-7xl mx-auto">
96+
<div className="p-4 max-w-auto mx-auto">
9797
<h1 className="text-3xl font-bold text-center bg-clip-text text-transparent bg-gradient-to-r from-yellow-600 to-blue-600">
9898
Career Opportunities for You
9999
</h1>
@@ -127,7 +127,7 @@ const CareerPage: React.FC = () => {
127127
<option value="Quality Assurance">Quality Assurance</option>
128128
</select>
129129
</div>
130-
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
130+
<div className="grid gap-4 lg:grid-cols-3 md:grid-cols-2 sm:grid-cols-1">
131131
{filteredCareers.map((career) => (
132132
<CareerCard key={career.id} {...career} />
133133
))}

src/components/RateUsPopup/RateUsPopup.js

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

src/components/RateUsPopup/RateUsPopup.module.css

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

src/components/Tweet/index.tsx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
import React, {type ReactNode} from 'react';
2-
3-
import clsx from 'clsx';
4-
5-
import Link from '@docusaurus/Link';
6-
import styles from './styles.module.css';
1+
import React, { type ReactNode } from "react";
2+
import Link from "@docusaurus/Link";
73
export interface Props {
84
url: string;
95
handle: string;
@@ -22,28 +18,32 @@ export default function Tweet({
2218
githubUsername,
2319
}: Props): JSX.Element {
2420
return (
25-
<div className={clsx('card', styles.tweet)}>
26-
<div className="card__header">
27-
<div className="avatar">
21+
<div className="tweet p-4 mt-4 border rounded-lg bg-transparent shadow-sm border-gray-200 dark:border-gray-800 dark:bg-gray-900">
22+
<div className="card__header mb-3">
23+
<div className="flex items-center">
2824
<img
2925
alt={name}
30-
className="avatar__photo"
26+
className="w-12 h-12 rounded-full"
3127
src={`https://unavatar.io/twitter/${handle}?fallback=https://github.com/${githubUsername}.png`}
3228
width="48"
3329
height="48"
3430
loading="lazy"
3531
/>
36-
<div className={clsx('avatar__intro', styles.tweetMeta)}>
37-
<strong className="avatar__name">{name}</strong>
38-
<span>@{handle}</span>
32+
<div className="ml-3">
33+
<strong className="block text-base text-gray-900 dark:text-gray-100">
34+
{name}
35+
</strong>
36+
<span className="text-gray-500 dark:text-gray-300 ">@{handle}</span>
3937
</div>
4038
</div>
4139
</div>
4240

43-
<div className={clsx('card__body', styles.tweet)}>{content}</div>
41+
<div className="card__body mb-3 text-sm text-gray-800 dark:text-gray-100">
42+
{content}
43+
</div>
4444

45-
<div className="card__footer">
46-
<Link className={clsx(styles.tweetMeta, styles.tweetDate)} to={url}>
45+
<div className="card__footer text-right">
46+
<Link className="text-sm hover:underline" to={url}>
4747
{date}
4848
</Link>
4949
</div>

src/components/Tweet/styles.module.css

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

src/components/TweetQuote/index.tsx

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
import React, {type ReactNode} from 'react';
2-
3-
import clsx from 'clsx';
4-
1+
import React, { type ReactNode } from 'react';
52
import Link from '@docusaurus/Link';
6-
import styles from './styles.module.css';
73

84
export interface Props {
95
url: string;
@@ -22,28 +18,32 @@ export default function TweetQuote({
2218
}: Props): JSX.Element {
2319
const avatar = `https://unavatar.io/twitter/${handle}`;
2420
const profileUrl = `https://twitter.com/${handle}`;
21+
2522
return (
26-
<figure className={styles.tweetQuote}>
27-
<blockquote>
28-
<Link to={url}>{children}</Link>
23+
<figure className="mx-4 my-12 tweetQuote">
24+
<blockquote className="relative mb-2 text-center font-light text-lg leading-relaxed">
25+
<Link to={url} className="text-emphasis-900 hover:text-emphasis-900">
26+
{children}
27+
</Link>
28+
<span className="absolute text-gray-200 text-6xl w-12 h-12 font-cursive leading-none" style={{ top: '-1.1rem', left: '-2.4rem' }}>
29+
30+
</span>
31+
<span className="absolute text-gray-200 text-6xl w-12 h-12 font-cursive leading-none" style={{ bottom: '-1.1rem', right: '-1.6rem' }}>
32+
33+
</span>
2934
</blockquote>
3035
<figcaption>
31-
<Link to={profileUrl} rel="nofollow">
32-
<div className="avatar">
33-
<img
34-
alt={name}
35-
className={clsx('avatar__photo', styles.avatarImg)}
36-
src={avatar}
37-
// loading="lazy"
38-
/>
39-
<div className={clsx('avatar__intro')}>
40-
<strong className="avatar__name">
41-
<cite>{name}</cite>
42-
</strong>
43-
<small className="avatar__subtitle" itemProp="description">
44-
{job}
45-
</small>
46-
</div>
36+
<Link to={profileUrl} rel="nofollow" className="flex items-center">
37+
<img
38+
alt={name}
39+
className="rounded-full w-10 h-10 mr-3"
40+
src={avatar}
41+
/>
42+
<div>
43+
<strong className="block">
44+
<cite className="not-italic">{name}</cite>
45+
</strong>
46+
<small className="text-gray-600">{job}</small>
4747
</div>
4848
</Link>
4949
</figcaption>

src/components/TweetQuote/styles.module.css

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

src/components/popup/popup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ const Popup = ({ status, message }) => {
1111
</div>
1212
);
1313
};
14-
export default Popup;
14+
export default Popup;

0 commit comments

Comments
 (0)