Skip to content

Commit b54ab8b

Browse files
committed
feat(docs): update marketing site header
1 parent 4e84465 commit b54ab8b

File tree

2 files changed

+76
-6
lines changed

2 files changed

+76
-6
lines changed

Diff for: apps/docs/src/css/custom.css

+63
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,69 @@
104104
animation: 1s ease-out 1.2s 1 fadeIn forwards;
105105
}
106106

107+
.backgroundSlide {
108+
background: linear-gradient(
109+
to right,
110+
rgba(100, 200, 200, 0),
111+
rgba(100, 200, 200, 0)
112+
),
113+
linear-gradient(
114+
to right,
115+
rgb(9, 56, 78, 0.4),
116+
rgb(9, 146, 200, 0.6),
117+
#76c9ef
118+
);
119+
background-size: 100% 0.1em, 0 0.1em;
120+
background-position: 100% 100%, 0 100%;
121+
background-repeat: no-repeat;
122+
transition: background-size 400ms;
123+
animation: slideUnderscore 1s 1s forwards;
124+
}
125+
126+
.backgroundSlide1 {
127+
background: linear-gradient(
128+
to right,
129+
rgba(100, 200, 200, 0),
130+
rgba(100, 200, 200, 0)
131+
),
132+
linear-gradient(
133+
to right,
134+
rgb(9, 56, 78, 0.4),
135+
rgb(9, 146, 200, 0.6),
136+
#76c9ef
137+
);
138+
background-size: 100% 0.1em, 0 0.1em;
139+
background-position: 100% 100%, 0 100%;
140+
background-repeat: no-repeat;
141+
transition: background-size 400ms;
142+
animation: slideUnderscore 1s 2s forwards;
143+
}
144+
145+
.backgroundSlide2 {
146+
background: linear-gradient(
147+
to right,
148+
rgba(100, 200, 200, 0),
149+
rgba(100, 200, 200, 0)
150+
),
151+
linear-gradient(
152+
to right,
153+
rgb(9, 56, 78, 0.4),
154+
rgb(9, 146, 200, 0.6),
155+
#76c9ef
156+
);
157+
background-size: 100% 0.1em, 0 0.1em;
158+
background-position: 100% 100%, 0 100%;
159+
background-repeat: no-repeat;
160+
transition: background-size 400ms;
161+
animation: slideUnderscore 1s 3s forwards;
162+
}
163+
164+
@keyframes slideUnderscore {
165+
100% {
166+
background-size: 0 0.1em, 100% 0.1em;
167+
}
168+
}
169+
107170
@keyframes slideUp {
108171
0% {
109172
opacity: 0;

Diff for: apps/docs/src/pages/index.tsx

+13-6
Original file line numberDiff line numberDiff line change
@@ -242,15 +242,22 @@ export default function Home() {
242242
<div className="mt-24 sm:mt-12">
243243
<div className="mt-6 sm:max-w-xl">
244244
<h1 className="slideUp text-primary-900 text-5xl font-bold tracking-tight sm:text-5xl">
245-
Your Whole Medical Story.
245+
<span className="backgroundSlide">Your</span> Whole
246+
Medical Story.
246247
</h1>
247248
<h1 className="slideUp text-primary-900 text-5xl font-bold tracking-tight sm:text-5xl">
248-
One Place.
249+
Under <span className="backgroundSlide1">Your</span>{' '}
250+
Control.
249251
</h1>
250-
<p className="slideUpDelay1 mt-6 text-xl leading-relaxed text-gray-600 opacity-0">
251-
Mere Medical is a personal health record that helps you
252-
organize your medical records across doctors. Free,
253-
privacy-focused, and open-source.
252+
<h1 className="slideUp text-primary-900 text-5xl font-bold tracking-tight sm:text-5xl">
253+
On <span className="backgroundSlide2">Your</span> Device.
254+
</h1>
255+
<p className="slideUpDelay1 mb-2 mt-6 text-xl leading-relaxed text-gray-600 opacity-0">
256+
Mere is a personal health record that aggregates your
257+
medical records from your doctors in one place.
258+
</p>
259+
<p className="slideUpDelay1 text-xl leading-relaxed text-gray-600 opacity-0">
260+
Open-source, privacy-focused, and free.
254261
</p>
255262
</div>
256263
<div className="mt-5 max-w-md sm:flex sm:justify-start md:mt-8">

0 commit comments

Comments
 (0)