Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
basePath: process.env.NODE_ENV === "production" ? "" : "",
assetPrefix: process.env.NODE_ENV === "production" ? "/" : "",
images: {
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "npx serve@latest out -p 3000",
"serve": "npx serve@latest out",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
Expand Down
7 changes: 6 additions & 1 deletion src/components/ui/lottie-down-splash.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
"use client";

import { useRef, useEffect } from "react";
import { Player } from "@lottiefiles/react-lottie-player";
import dynamic from "next/dynamic";

const Player = dynamic(
() => import("@lottiefiles/react-lottie-player").then((mod) => mod.Player),
{ ssr: false }
);
import lottieDownSplash from "/public/downward-splash-lottie";

export default function LottieDownSplash() {
Expand Down
7 changes: 6 additions & 1 deletion src/components/ui/lottie-paint.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
"use client";

import { useRef, useEffect } from "react";
import { Player } from "@lottiefiles/react-lottie-player";
import dynamic from "next/dynamic";

const Player = dynamic(
() => import("@lottiefiles/react-lottie-player").then((mod) => mod.Player),
{ ssr: false }
);
import lottiePaint from "/public/paint-lottie";

export default function LottiePaint() {
Expand Down
7 changes: 6 additions & 1 deletion src/components/ui/lottie-splash.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
"use client";

import { useRef, useEffect } from "react";
import { Player } from "@lottiefiles/react-lottie-player";
import dynamic from "next/dynamic";

const Player = dynamic(
() => import("@lottiefiles/react-lottie-player").then((mod) => mod.Player),
{ ssr: false }
);
import lottieSplash from "/public/splash-lottie";
import pinkSplash from "/public/pink-splash-lottie";
import purpleSplash from "/public/purple-splash-lottie";
Expand Down
44 changes: 0 additions & 44 deletions vercel.json

This file was deleted.