Skip to content

Commit e405bf0

Browse files
committed
fix: testimonials, cleanup and others
1 parent 1d55fa4 commit e405bf0

File tree

28 files changed

+493
-257
lines changed

28 files changed

+493
-257
lines changed

packages/audiodocs/src/components/FooterBackground/styles.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
.container {
32
position: relative;
43
margin-top: 106px;
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
import {
2+
ButtonStyling,
3+
BorderStyling,
4+
HomepageButton,
5+
} from '@swmansion/t-rex-ui/dist/components/HomepageButton';
6+
import styles from './styles.module.css';
7+
8+
export const HireUsSection = ({
9+
content,
10+
href,
11+
}: {
12+
content?: string;
13+
href: string;
14+
}) => {
15+
return (
16+
<div className={styles.hireUsSectionWrapper}>
17+
<div className={styles.hireUsTitleContainer}>
18+
<h2>
19+
We are <span>Software Mansion</span>
20+
</h2>
21+
</div>
22+
<p className={styles.hireUsSectionBody}>
23+
{content ? (
24+
content
25+
) : (
26+
<>
27+
We’re a software company built around improving developer experience and bringing innovative clients' ideas to life. We're pushing boundaries and delivering high-performance solutions that scale.
28+
</>
29+
)}
30+
</p>
31+
32+
<div className={styles.hireUsButton}>
33+
<HomepageButton
34+
href={href}
35+
title="Hire us"
36+
target="_blank"
37+
backgroundStyling={ButtonStyling.SECTION}
38+
borderStyling={BorderStyling.SECTION}
39+
/>
40+
</div>
41+
</div>
42+
);
43+
};
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
.hireUsSectionWrapper {
2+
display: flex;
3+
flex-direction: column;
4+
align-items: center;
5+
gap: 2.5rem;
6+
margin-bottom: 16rem;
7+
margin-top: 6.5rem;
8+
}
9+
10+
@media (max-width: 996px) {
11+
.hireUsSectionWrapper {
12+
margin-top: 3.5rem;
13+
margin-bottom: 10rem;
14+
}
15+
}
16+
17+
@media (max-width: 768px) {
18+
.hireUsSectionWrapper {
19+
gap: 1.5rem;
20+
margin-top: 0;
21+
margin-bottom: 5rem !important;
22+
}
23+
.hireUsTitleContainer h2 {
24+
font-size: 42px !important;
25+
}
26+
.hireUsSectionBody {
27+
font-size: 20px !important;
28+
}
29+
}
30+
31+
@media (max-width: 420px) {
32+
.hireUsSectionWrapper {
33+
margin-top: 0;
34+
margin-bottom: 4rem !important;
35+
}
36+
}
37+
38+
.hireUsTitleContainer {
39+
display: flex;
40+
flex-direction: row;
41+
gap: 1rem;
42+
justify-content: center;
43+
align-items: center;
44+
}
45+
46+
.hireUsTitleContainer h2 {
47+
text-align: center;
48+
font-size: 64px;
49+
font-weight: 700;
50+
}
51+
52+
.hireUsTitleContainer h2 > span {
53+
color: var(--swm-hire-us-section-title);
54+
}
55+
56+
[data-theme='dark'] .hireUsTitleContainer h2 > span {
57+
color: var(--swm-hire-us-section-title);
58+
}
59+
60+
.hireUsSectionBody {
61+
font-size: 20px;
62+
text-wrap: balance;
63+
text-align: center;
64+
font-weight: 400;
65+
color: var(--swm-navy-light-80);
66+
}
67+
68+
[data-theme='dark'] .hireUsSectionBody {
69+
color: var(--swm-navy-dark-40);
70+
}
71+
72+
73+
@media (max-width: 420px) {
74+
.hireUsSectionBody {
75+
font-size: 18px !important;
76+
}
77+
}

packages/audiodocs/src/components/LandingFeatures/styles.module.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
justify-content: center;
4646
background-color: var(--swm-red-light-80);
4747
margin-bottom: 1.5rem;
48+
color: var(--swm-navy-light-100);
49+
}
50+
51+
[data-theme="dark"] .featureIconContainer {
52+
color: var(--swm-navy-dark-100);
4853
}
4954

5055
.featureTitle {

packages/audiodocs/src/components/LandingWidget/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ import { AudioMode, AudioSource, AudioSourceMetadata, SourceRecord } from './typ
1414
const showAmpToolbarThreshold = 30;
1515

1616
const soundSources: SourceRecord<string> = {
17-
music: '/react-native-audio-api/audio/music/example-music-05.wav',
17+
music: '/react-native-audio-api/audio/music/example-music-05.mp3',
1818
speech: '/react-native-audio-api/audio/voice/voice-sample-landing.mp3',
19-
bgm: '/react-native-audio-api/audio/bgm/bgm-01.wav',
20-
efx: '/react-native-audio-api/audio/efx/efx-01.wav',
19+
bgm: '/react-native-audio-api/audio/bgm/bgm-01.mp3',
20+
efx: '/react-native-audio-api/audio/efx/efx-01.mp3',
2121
};
2222

2323
const initialSounds: SourceRecord<AudioSourceMetadata | null> = {

packages/audiodocs/src/components/Moon/MoonIcon/index.tsx

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

packages/audiodocs/src/components/Moon/MoonIcon/styles.module.css

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

0 commit comments

Comments
 (0)