Skip to content

Commit 407ecd9

Browse files
committed
Fixes stylig
1 parent d6ab3d8 commit 407ecd9

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

src/pages/index.tsx

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,49 @@ export default function Home() {
5959
<Link to="https://masterflutterweb.carrd.co/" target="_blank" className="mt-6 hover:text-white hover:no-underline px-6 py-4 text-lg font-semibold text-white transition-all bg-sky-700 border-none rounded outline-none cursor-pointer ring-transparent focus:ring-purple-500 ring hover:bg-[#444] active:scale-90">
6060
<Translate id="index.main.likeUs">Master Stacked on the Web</Translate>
6161
</Link>
62-
<p className="max-w-[50ch] text-center py-2 text-1xl text-gray-500">Featured on the Official Flutter channel 👇</p>
63-
<iframe width="560" height="315" src="https://www.youtube.com/embed/06vVccZvGuo?si=T86bVSE92gWlMk5m" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
62+
6463
</motion.div>
6564
</main>
6665

6766

6867
<div className="bg-gray-50">
68+
<section className="container text-center md:text-left flex gap-4 flex-col-reverse md:flex-row-reverse justify-evenly items-center min-h-[35vh] mx-auto py-16">
69+
<div>
70+
<motion.div
71+
initial={{ opacity: 0 }}
72+
whileInView={{ opacity: 1 }}
73+
transition={{ delay: 0.4 }}
74+
className="flex justify-center md:justify-start"
75+
>
76+
77+
</motion.div>
78+
<motion.h3
79+
initial={{ y: 100, opacity: 0 }}
80+
whileInView={{ y: 0, opacity: 1 }}
81+
transition={{
82+
duration: 0.6,
83+
type: "spring",
84+
bounce: 0.5,
85+
}}
86+
className="text-4xl"
87+
>
88+
<Translate id="index.forms.title">Featured on Official Flutter Channel</Translate>
89+
</motion.h3>
90+
<motion.p
91+
initial={{ opacity: 0 }}
92+
whileInView={{ opacity: 1 }}
93+
transition={{ delay: 0.05 }}
94+
className="max-w-md text-xl"
95+
>
96+
<Translate id="index.forms.description">Learn everything about Stacked by creating an app with Dane (creator) and Craig (Flutter DevRel Lead) in this live stream on the left.</Translate>
97+
<Link to="/docs/getting-started/form-basics" className="block mt-2">
98+
</Link>
99+
</motion.p>
100+
</div>
101+
<motion.div>
102+
<iframe width="560" height="315" src="https://www.youtube.com/embed/06vVccZvGuo?si=T86bVSE92gWlMk5m" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
103+
</motion.div>
104+
</section>
69105
<section className="container text-center md:text-left flex gap-4 flex-col-reverse md:flex-row justify-evenly items-center min-h-[35vh] mx-auto py-16">
70106
<div>
71107
<motion.div

0 commit comments

Comments
 (0)