Skip to content

Commit 9c6ae3c

Browse files
committed
add unik id
1 parent 99dfa67 commit 9c6ae3c

6 files changed

Lines changed: 279 additions & 283 deletions

File tree

src/app/[lang]/whitepaper/components/AvalancheBanner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function AvalancheBanner({ params, mainData }: AvalancheBannerPro
2727
</div>
2828

2929
</div>
30-
<div className="w-[40%] lg:mt-[-40px]">
30+
<div className="w-[40%] lg:mt-[-76px]">
3131
<p className="dark:text-[#FFFFFF] text-[#1A1A18] 3xl:text-3xl">
3232
{findByUniqueId(mainData, 1682)}
3333
</p>

src/app/[lang]/whitepaper/components/AvalancheNetwork.tsx

Lines changed: 220 additions & 226 deletions
Large diffs are not rendered by default.

src/app/[lang]/whitepaper/components/AvalancheStories.tsx

Lines changed: 47 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -20,51 +20,7 @@ interface StoryItem {
2020
image?: string;
2121
}
2222

23-
const stories: StoryItem[] = [
24-
{
25-
id: 1,
26-
platform: 'Youtube',
27-
username: 'avalanche',
28-
handle: 'avax',
29-
content:
30-
'The Avalanche culture goes beyond the chain. Get connected with the founders, investors, artists, gamers, and creators who call Avalanche home…',
31-
image: 'https://s3.metarang.com/metarang/onepage/article1.webp',
32-
},
33-
{
34-
id: 2,
35-
platform: 'Behance',
36-
username: 'avalanche',
37-
handle: 'avax',
38-
content:
39-
'Avalanche creators are building immersive experiences, decentralized communities and scalable ecosystems for the future.',
40-
},
41-
{
42-
id: 3,
43-
platform: 'Adobe',
44-
username: 'avalanche',
45-
handle: 'avax',
46-
content:
47-
'Avalanche empowers developers and creators to build performant applications with institutional-grade infrastructure.',
48-
image: 'https://s3.metarang.com/metarang/onepage/article2.webp',
49-
},
50-
{
51-
id: 4,
52-
platform: 'Facebook',
53-
username: 'avalanche',
54-
handle: 'avax',
55-
content:
56-
'From gaming to finance and AI infrastructure, Avalanche supports high-throughput decentralized applications.',
57-
},
58-
{
59-
id: 5,
60-
platform: 'Youtube',
61-
username: 'avalanche',
62-
handle: 'avax',
63-
content:
64-
'Explore stories from founders and communities building scalable products powered by Avalanche technology.',
65-
image: 'https://s3.metarang.com/metarang/onepage/article3.webp',
66-
},
67-
];
23+
6824

6925
const socials = [
7026
'Youtube',
@@ -136,6 +92,7 @@ function StoryCard({
13692
item: StoryItem;
13793
priority?: boolean;
13894
}) {
95+
13996
return (
14097
<article
14198
className="
@@ -216,6 +173,51 @@ function StoryCard({
216173
}
217174

218175
export default function AvalancheStories({ params, mainData }: AvalancheStoriesProps) {
176+
const stories: StoryItem[] = [
177+
{
178+
id: 1,
179+
platform: 'Youtube',
180+
username: findByUniqueId(mainData, 905),
181+
handle: findByUniqueId(mainData, 148),
182+
content:
183+
'The Avalanche culture goes beyond the chain. Get connected with the founders, investors, artists, gamers, and creators who call Avalanche home…',
184+
image: 'https://s3.metarang.com/metarang/onepage/article1.webp',
185+
},
186+
{
187+
id: 2,
188+
platform: 'Behance',
189+
username: findByUniqueId(mainData, 905),
190+
handle: findByUniqueId(mainData, 148),
191+
content:
192+
'Avalanche creators are building immersive experiences, decentralized communities and scalable ecosystems for the future.',
193+
},
194+
{
195+
id: 3,
196+
platform: 'Adobe',
197+
username: findByUniqueId(mainData, 905),
198+
handle: findByUniqueId(mainData, 148),
199+
content:
200+
'Avalanche empowers developers and creators to build performant applications with institutional-grade infrastructure.',
201+
image: 'https://s3.metarang.com/metarang/onepage/article2.webp',
202+
},
203+
{
204+
id: 4,
205+
platform: 'Facebook',
206+
username: findByUniqueId(mainData, 905),
207+
handle: findByUniqueId(mainData, 148),
208+
content:
209+
'From gaming to finance and AI infrastructure, Avalanche supports high-throughput decentralized applications.',
210+
},
211+
{
212+
id: 5,
213+
platform: 'Youtube',
214+
username: findByUniqueId(mainData, 905),
215+
handle: findByUniqueId(mainData, 148),
216+
content:
217+
'Explore stories from founders and communities building scalable products powered by Avalanche technology.',
218+
image: 'https://s3.metarang.com/metarang/onepage/article3.webp',
219+
},
220+
];
219221
const [isMobile, setIsMobile] = useState(false);
220222

221223
useEffect(() => {

src/app/[lang]/whitepaper/components/NewsStories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export default function NewsStories({ params, mainData }: NewsStoriesProps) {
205205
</div>
206206
{/* Navigation buttons */}
207207
<div className='mt-10 mb-2 lg:mb-6 flex flex-col w-full'>
208-
<div className='ltr:flex-row-reverse md:flex dark:text-white text-3xl items-center justify-end gap-[70%] md:gap-[60%] lg:gap-[40%] xl:gap-[36%] lg:mb-[-12px]'>
208+
<div className='ltr:flex-row-reverse md:flex dark:text-white text-3xl items-center rtl:lg:justify-start justify-end gap-[70%] md:gap-[60%] lg:gap-[40%] xl:gap-[36%] lg:mb-[-12px] rtl:'>
209209
<p className='mb-[-55px] lg:mb-0 rtl:lg:me-[-130px] ltr:lg:ms-[-200px]'>{findByUniqueId(mainData, 255)}</p>
210210
<p className='hidden lg:block'>
211211
{findByUniqueId(mainData, 1701)}

src/app/[lang]/whitepaper/components/TrustedBy.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,42 +31,42 @@ export default function TrustedBy({ params, mainData }: TrustedByProps) {
3131
{
3232
id: 1,
3333
img: 'https://s3.metarang.com/metarang/onepage/testimg.jpg',
34-
title: 'Academy',
34+
title: findByUniqueId(mainData, 1690),
3535
description: 'Avalanche Academy is a suite of courses for developers of all experience levels to hone their skills, while the Codebase Entrepreneur Academy offers the foundational knowledge needed to launch and grow your Web3 startup on Avalanche....',
3636
buttonText: findByUniqueId(mainData, 1686),
3737
},
3838
{
3939
id: 2,
4040
img: 'https://s3.metarang.com/metarang/onepage/testimg.jpg',
41-
title: 'Academy',
41+
title: findByUniqueId(mainData, 1690),
4242
description: 'Avalanche Academy is a suite of courses for developers of all experience levels to hone their skills, while the Codebase Entrepreneur Academy offers the foundational knowledge needed to launch and grow your Web3 startup on Avalanche....',
4343
buttonText: findByUniqueId(mainData, 1686),
4444
},
4545
{
4646
id: 3,
4747
img: 'https://s3.metarang.com/metarang/onepage/testimg.jpg',
48-
title: 'Academy',
48+
title: findByUniqueId(mainData, 1690),
4949
description: 'Avalanche Academy is a suite of courses for developers of all experience levels to hone their skills, while the Codebase Entrepreneur Academy offers the foundational knowledge needed to launch and grow your Web3 startup on Avalanche....',
5050
buttonText: findByUniqueId(mainData, 1686),
5151
},
5252
{
5353
id: 4,
5454
img: 'https://s3.metarang.com/metarang/onepage/testimg.jpg',
55-
title: 'Academy',
55+
title: findByUniqueId(mainData, 1690),
5656
description: 'Avalanche Academy is a suite of courses for developers of all experience levels to hone their skills, while the Codebase Entrepreneur Academy offers the foundational knowledge needed to launch and grow your Web3 startup on Avalanche....',
5757
buttonText: findByUniqueId(mainData, 1686),
5858
},
5959
{
6060
id: 5,
6161
img: 'https://s3.metarang.com/metarang/onepage/testimg.jpg',
62-
title: 'Academy',
62+
title: findByUniqueId(mainData, 1690),
6363
description: 'Avalanche Academy is a suite of courses for developers of all experience levels to hone their skills, while the Codebase Entrepreneur Academy offers the foundational knowledge needed to launch and grow your Web3 startup on Avalanche....',
6464
buttonText: findByUniqueId(mainData, 1686),
6565
},
6666
{
6767
id: 6,
6868
img: 'https://s3.metarang.com/metarang/onepage/testimg.jpg',
69-
title: 'Academy',
69+
title: findByUniqueId(mainData, 1690),
7070
description: 'Avalanche Academy is a suite of courses for developers of all experience levels to hone their skills, while the Codebase Entrepreneur Academy offers the foundational knowledge needed to launch and grow your Web3 startup on Avalanche....',
7171
buttonText: findByUniqueId(mainData, 1686),
7272
},

src/app/[lang]/whitepaper/components/TrustedBySimple.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ export default function AvalancheTrustedProps({ params, mainData }: AvalancheTru
7272
{/* Header Section */}
7373
<div className=" ">
7474
<div className="font-bold text-start flex flex-col justify-start pt-5 pb-12 lg:py-12 px-5 lg:px-10 space-y-4">
75-
<div className='flex flex-col lg:flex-row gap-10 w-full items-center'>
76-
<div className='flex flex-col lg:flex-row items-start lg:items-center w-full lg:w-[70%]'>
75+
<div className='flex flex-col lg:flex-row gap-10 w-full items-center lg:items-start'>
76+
<div className='flex flex-col lg:flex-row items-start lg:items-start w-full lg:w-[70%]'>
7777
<div>
78-
<svg className='w-[140px] xl:w-auto' width="198" height="198" viewBox="0 0 198 198" fill="none" xmlns="http://www.w3.org/2000/svg">
78+
<svg className='w-[140px] lg:mt-[-10px] xl:w-auto' width="198" height="198" viewBox="0 0 198 198" fill="none" xmlns="http://www.w3.org/2000/svg">
7979
<path className='fill-black dark:fill-white' d="M96.1124 19.3866L52.4699 63.0291C50.8199 64.6791 50.8199 67.2366 52.4699 68.8866L63.1124 79.5291C64.7624 81.1791 67.3199 81.1791 68.9699 79.5291L96.1124 52.3866C97.7624 50.7366 100.32 50.7366 101.97 52.3866L129.112 79.5291C130.762 81.1791 133.32 81.1791 134.97 79.5291L145.612 68.8866C147.262 67.2366 147.262 64.6791 145.612 63.0291L101.97 19.3866C100.32 17.8191 97.6799 17.8191 96.1124 19.3866Z" />
8080
<path className='fill-black dark:fill-white' d="M96.1124 178.614L52.4699 134.972C50.8199 133.322 50.8199 130.764 52.4699 129.114L63.1124 118.472C64.7624 116.822 67.3199 116.822 68.9699 118.472L96.1124 145.614C97.7624 147.264 100.32 147.264 101.97 145.614L129.112 118.472C130.762 116.822 133.32 116.822 134.97 118.472L145.612 129.114C147.262 130.764 147.262 133.322 145.612 134.972L101.97 178.614C100.32 180.182 97.6799 180.182 96.1124 178.614Z" />
8181
<path className='fill-black dark:fill-white' d="M165.825 83.3241L178.53 96.0291C180.18 97.6791 180.18 100.237 178.53 101.887L165.825 114.592C164.175 116.242 161.618 116.242 159.968 114.592L147.263 101.887C145.613 100.237 145.613 97.6791 147.263 96.0291L159.968 83.3241C161.618 81.7566 164.258 81.7566 165.825 83.3241Z" />
@@ -90,7 +90,7 @@ export default function AvalancheTrustedProps({ params, mainData }: AvalancheTru
9090

9191
</div>
9292

93-
<p className="text-lg md:text-xl text-black dark:text-white lg:w-[30%] lg:pt-0 lg:mt-[-5px] pt-4">
93+
<p className="text-lg md:text-xl text-black dark:text-white lg:w-[30%] lg:pt-0 pt-4">
9494
{findByUniqueId(mainData, 1677)}
9595
</p>
9696
</div>

0 commit comments

Comments
 (0)