Skip to content

Commit b5e4329

Browse files
committed
feat: update homepage title and description; adjust InfiniteMovingCards animation speed and styles; remove unused quote from personas data
1 parent 7d8cc75 commit b5e4329

File tree

3 files changed

+9
-20
lines changed

3 files changed

+9
-20
lines changed

src/app/page.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ export default function Home() {
4040
<div className="relative z-20 flex flex-col items-center justify-center h-full">
4141
<div className="text-center mb-16">
4242
<h1 className="text-4xl md:text-6xl font-bold text-neutral-900 dark:text-neutral-100 mb-6">
43-
Atlas
43+
RUIXEN
4444
</h1>
4545
<p className="text-xl md:text-2xl text-neutral-600 dark:text-neutral-400 max-w-3xl mx-auto">
46-
Where history's greatest minds meet tomorrow's intelligence
46+
The bridge between past wisdom and future intelligence
4747
</p>
4848
</div>
4949

@@ -53,12 +53,6 @@ export default function Home() {
5353
items={quotes}
5454
direction="right"
5555
speed="slow"
56-
className="mb-8"
57-
/>
58-
<InfiniteMovingCards
59-
items={quotes.slice().reverse()}
60-
direction="left"
61-
speed="normal"
6256
/>
6357
</div>
6458
</div>

src/components/ui/infinite-moving-cards.tsx

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ export const InfiniteMovingCards = ({
6565
const getSpeed = () => {
6666
if (containerRef.current) {
6767
if (speed === "fast") {
68-
containerRef.current.style.setProperty("--animation-duration", "20s");
68+
containerRef.current.style.setProperty("--animation-duration", "300s");
6969
} else if (speed === "normal") {
70-
containerRef.current.style.setProperty("--animation-duration", "40s");
70+
containerRef.current.style.setProperty("--animation-duration", "450s");
7171
} else {
72-
containerRef.current.style.setProperty("--animation-duration", "80s");
72+
containerRef.current.style.setProperty("--animation-duration", "600s");
7373
}
7474
}
7575
};
@@ -92,27 +92,23 @@ export const InfiniteMovingCards = ({
9292
>
9393
{items.map((item, idx) => (
9494
<li
95-
className="w-[350px] max-w-full relative rounded-2xl border border-b-0 flex-shrink-0 border-slate-700 px-8 py-6 md:w-[450px]"
96-
style={{
97-
background:
98-
"linear-gradient(180deg, var(--slate-800), var(--slate-900))",
99-
}}
95+
className="w-[350px] max-w-full relative rounded-2xl border border-b-0 flex-shrink-0 border-neutral-300 dark:border-slate-700 px-8 py-6 md:w-[450px] bg-neutral-800 dark:bg-slate-800"
10096
key={idx}
10197
>
10298
<blockquote>
10399
<div
104100
aria-hidden="true"
105101
className="user-select-none -z-1 pointer-events-none absolute -left-0.5 -top-0.5 h-[calc(100%_+_4px)] w-[calc(100%_+_4px)]"
106102
></div>
107-
<span className="relative z-20 text-sm leading-[1.6] text-gray-100 font-normal">
103+
<span className="relative z-20 text-sm leading-[1.6] text-white dark:text-gray-100 font-normal">
108104
"{item.quote}"
109105
</span>
110106
<div className="relative z-20 mt-6 flex flex-row items-center">
111107
<span className="flex flex-col gap-1">
112-
<span className="text-sm leading-[1.6] text-gray-400 font-normal">
108+
<span className="text-sm leading-[1.6] text-neutral-300 dark:text-gray-400 font-normal">
113109
{item.name}
114110
</span>
115-
<span className="text-sm leading-[1.6] text-gray-400 font-normal">
111+
<span className="text-sm leading-[1.6] text-neutral-300 dark:text-gray-400 font-normal">
116112
{item.title}
117113
</span>
118114
</span>

src/data/personas.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,6 @@ export const personas: Persona[] = [
726726
"Computational philosophy exploration"
727727
],
728728
famousQuotes: [
729-
"Better to be safe than sorry.",
730729
"The bridge between past wisdom and future intelligence."
731730
],
732731
expertise: ["Software Development", "AI Systems", "Digital Philosophy", "Content Curation"],

0 commit comments

Comments
 (0)