Skip to content

Commit 4244a1f

Browse files
authored
feat: design qa (#36)
* feat: meta data * feat: text style * feat: video controls * feat: video controls
1 parent 0f0416a commit 4244a1f

File tree

7 files changed

+20
-12
lines changed

7 files changed

+20
-12
lines changed

app/_components/home/HowItWorks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function HowItWorks() {
1010
return (
1111
<section className="flex w-full max-w-[1440px] flex-col gap-5 px-4 py-24 text-[#002424] md:px-8 md:py-40">
1212
<p className="text-base">Coming soon</p>
13-
<h2 className="font-oceanic text-[40px] whitespace-pre-line md:text-[48px]">
13+
<h2 className="font-oceanic text-[40px] leading-[46px] whitespace-pre-line md:text-[48px] md:leading-[56px] ">
1414
{"Unchain your potential\nwith Wrtn Agent OS"}
1515
</h2>
1616
<p className="text-base whitespace-pre-line">

app/_components/home/LatestArticles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default async function LatestArticles() {
4343
{tags.map((tag: string) => (
4444
<div
4545
key={tag}
46-
className="rounded-sm bg-gray-200 px-2 py-1 text-sm text-black"
46+
className="rounded-sm bg-[#ECF9F3] px-2 py-1 text-sm text-[#002424]"
4747
>
4848
{tag}
4949
</div>

app/_components/home/OpenSource.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import { addBasePath } from "@/app/_lib/add-base-path";
77

88
export default function OpenSource() {
99
return (
10-
<div className="flex flex-col bg-black items-center gap-20 pt-[200px]">
11-
<div className="flex flex-col items-center gap-6 text-center">
12-
<h2 className="font-oceanic text-[32px] text-[#E6FDFC] md:text-5xl md:whitespace-pre-line">
10+
<div className="flex w-full flex-col bg-black items-center gap-20 pb-[100px] pt-[200px] md:pb-0 px-8">
11+
<div className="flex flex-col md:items-center md:text-center gap-6">
12+
<h2 className="font-oceanic text-[40px] leading-[46px] text-[#E6FDFC] md:whitespace-pre-line">
1313
{"Based on powerful\nOpen Source Ecosystem"}
1414
</h2>
1515
<p className="text-base text-[#BEBEBE] md:text-lg md:whitespace-pre-line">
@@ -29,9 +29,12 @@ export default function OpenSource() {
2929
autoPlay
3030
loop
3131
muted
32+
controls
33+
controlsList="nodownload"
34+
disablePictureInPicture
3235
playsInline
3336
className="h-full w-full object-cover"
34-
preload="none"
37+
preload="auto"
3538
src={addBasePath("/videos/open-source.MP4")}
3639
/>
3740
</div>

app/_components/home/Roadmap.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default function Roadmap() {
99
<div className="flex w-full max-w-[1440px] flex-col items-center justify-between gap-6 md:flex-row">
1010
<div className="flex flex-col gap-6">
1111
<p className="text-base text-[#E6FDFC]">Roadmap</p>
12-
<h2 className="font-oceanic text-5xl whitespace-pre-line text-[#E6FDFC]">
12+
<h2 className="font-oceanic text-[40px] leading-[46px] whitespace-pre-line text-[#E6FDFC]">
1313
{"Built from the ground up\nfor every layer of AI Agents"}
1414
</h2>
1515
<p className="text-lg whitespace-pre-line text-[#A7B4B3]">
@@ -28,7 +28,7 @@ export default function Roadmap() {
2828
</Link>
2929
</div>
3030

31-
<div className="flex w-full flex-col gap-4 md:w-auto">
31+
<div className="flex w-full flex-col gap-4 drop-shadow-[0_0_100px_rgba(134,255,217,0.40)] md:w-auto">
3232
{ROADMAP.map(({ title, keywords, className, itemClassName }) => (
3333
<div
3434
key={title}

app/_components/home/Welcome.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export default function Welcome() {
22
return (
33
<section className="flex flex-col gap-24 pt-40 px-8 md:px-40">
44
<div className="flex flex-col items-center justify-center gap-9 text-center">
5-
<h1 className="font-oceanic text-3xl leading-[42px] whitespace-pre-line text-[#002424] md:text-[64px] md:leading-[69px]">
5+
<h1 className="font-oceanic text-[32px] leading-[38px] whitespace-pre-line text-[#002424] md:text-[64px] md:leading-[69px]">
66
{"The Foundation for\nEvery Business Agent"}
77
</h1>
88
<p className="text-sm whitespace-pre-line text-[#757575] md:text-lg">
@@ -15,9 +15,14 @@ export default function Welcome() {
1515
<div className="max-x-[1440px] aspect-[1.7/1]">
1616
<video
1717
src="https://studio-pro-fe.s3.ap-northeast-2.amazonaws.com/preview.mp4"
18-
muted
19-
loop
2018
autoPlay
19+
loop
20+
muted
21+
controls
22+
controlsList="nodownload"
23+
disablePictureInPicture
24+
playsInline
25+
preload="auto"
2126
className="w-full rounded-3xl"
2227
/>
2328
</div>

app/favicon.ico

-1.19 KB
Binary file not shown.

app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import "./globals.css";
99

1010
export const metadata: Metadata = {
1111
title: "Wrtnlabs",
12-
description: "Wrtnlabs Landing Page",
12+
description: "The Foundation for Every Business Agent",
1313
};
1414

1515
export default function RootLayout({

0 commit comments

Comments
 (0)