Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bc60a5ec07 | |||
| 7926a580db |
@@ -7,7 +7,8 @@ const manrope = Manrope({
|
|||||||
});
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "FitPro Toronto - Personal Training", description: "Professional personal training in Toronto tailored to your unique goals."};
|
title: "FitPro Toronto - Personal Training", description: "Professional personal training in Toronto tailored to your unique goals."
|
||||||
|
};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export default function LandingPage() {
|
|||||||
const totalWidth = itemWidth * itemCount;
|
const totalWidth = itemWidth * itemCount;
|
||||||
|
|
||||||
const animateScroll = () => {
|
const animateScroll = () => {
|
||||||
scrollPosition += 1;
|
scrollPosition += 0.5;
|
||||||
if (scrollPosition >= totalWidth / 2) {
|
if (scrollPosition >= totalWidth / 2) {
|
||||||
scrollPosition = 0;
|
scrollPosition = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user