Compare commits

...
Author SHA1 Message Date
Lncvrt 180f567670 battlepass 2026-04-01 11:18:40 -07:00
Lncvrt 3de9a091e5 Unpurchase 2026-04-01 11:11:03 -07:00
Lncvrt 1d62103a84 Add lncvrt games premium 2026-04-01 11:04:58 -07:00
3 changed files with 142 additions and 6 deletions

No files matched your search

+7 -6
View File
@@ -1,8 +1,6 @@
import Image from 'next/image' import Image from 'next/image'
import Link from 'next/link' import Link from 'next/link'
import { Metadata } from 'next' import { Metadata } from 'next'
import { DiscordButton } from '../components/DiscordButton'
import { AccountButton } from '../components/AccountButton'
export const metadata: Metadata = { export const metadata: Metadata = {
title: 'Lncvrt Games - Home', title: 'Lncvrt Games - Home',
@@ -12,12 +10,15 @@ export const metadata: Metadata = {
export default function Home () { export default function Home () {
return ( return (
<div className='box'> <div className='box'>
<AccountButton />
<DiscordButton />
<p className='text-center text-4xl'>Lncvrt Games</p> <p className='text-center text-4xl'>Lncvrt Games</p>
<p className='text-center text-[18px] mb-4'> <p className='text-center text-[18px] mb-4'>
A collection of games made by Lncvrt and others A collection of games made by Lncvrt and others
</p> </p>
<div className='flex justify-center'>
<Link href='/premium' draggable={false} className='button'>
INTRODUCING LNCVRT GAMES PREMIUM!
</Link>
</div>
<p className='text-center text-xl mt-2'>Main Games</p> <p className='text-center text-xl mt-2'>Main Games</p>
<div className='games-grid'> <div className='games-grid'>
<Link href='/game/berry-dash' draggable={false}> <Link href='/game/berry-dash' draggable={false}>
@@ -130,8 +131,8 @@ export default function Home () {
Looking for launcher downloads? Looking for launcher downloads?
</p> </p>
<div className='downloads'> <div className='downloads'>
<Link href='/download' draggable={false}> <Link href='/premium' draggable={false}>
Download for Windows, macOS, or Linux You need premium for that, buy here!
</Link> </Link>
</div> </div>
</div> </div>
+106
View File
@@ -0,0 +1,106 @@
'use client'
import './styles.css'
import { HomeButton } from '@/components/HomeButton'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import {
faDownload,
faGamepad,
faMoneyBill,
faPlus
} from '@fortawesome/free-solid-svg-icons'
import { faUser } from '@fortawesome/free-regular-svg-icons'
import { useEffect, useState } from 'react'
export default function PremiumPageHome () {
const [purchased, setPurchased] = useState<boolean>(false)
useEffect(() => {
document.title = 'Lncvrt Games - Premium'
}, [])
return (
<div className='box'>
<HomeButton />
<p className='text-center text-4xl'>
Lncvrt Games <span className='rainbow-text'>PREMIUM</span>
</p>
{!purchased ? (
<>
<p className='text-center text-[18px] mb-4'>
The premium package for Lncvrt Games, with Lncvrt Games Premium you
get access to:
</p>
<div className='flex flex-row gap-2 justify-center'>
<div className='sub-box flex flex-col gap-2 justify-center items-center'>
<FontAwesomeIcon
icon={faDownload}
width={48}
height={48}
className='bg-(--col4) border border-(--col6) rounded-lg p-2'
/>
<p className='max-w-80 text-center'>
Download manager, AKA Lncvrt Games Launcher
</p>
</div>
<div className='sub-box flex flex-col gap-2 justify-center items-center'>
<FontAwesomeIcon
icon={faGamepad}
width={48}
height={48}
className='bg-(--col4) border border-(--col6) rounded-lg p-2'
/>
<p className='max-w-80 text-center'>
Additional Games, like Fruit Dashy, Geometry Dash, Team Fortress
2 (all aquired by Lncvrt) and more!
</p>
</div>
<div className='sub-box flex flex-col gap-2 justify-center items-center'>
<FontAwesomeIcon
icon={faUser}
width={48}
height={48}
className='bg-(--col4) border border-(--col6) rounded-lg p-2'
/>
<p className='max-w-80 text-center'>Accounts & Leaderboards</p>
</div>
<div className='sub-box flex flex-col gap-2 justify-center items-center'>
<FontAwesomeIcon
icon={faPlus}
width={48}
height={48}
className='bg-(--col4) border border-(--col6) rounded-lg p-2'
/>
<p className='max-w-80 text-center'>And much, much more!</p>
</div>
<div className='sub-box flex flex-col gap-2 justify-center items-center'>
<FontAwesomeIcon
icon={faMoneyBill}
width={48}
height={48}
className='bg-(--col4) border border-(--col6) rounded-lg p-2'
/>
<p className='max-w-80 text-center'>
Battle pass, there will be 3 teirs: Basic, Pro and Ultimate. You
will need Pro for accounts.
</p>
</div>
</div>
</>
) : (
<iframe
className='mt-2'
width='1280'
height='720'
src='https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1'
allow='autoplay'
></iframe>
)}
<div className='flex justify-center mt-2'>
<button className='button' onClick={() => setPurchased(!purchased)}>
{purchased ? 'Unpurchase' : 'Purchase'}
</button>
</div>
</div>
)
}
+29
View File
@@ -0,0 +1,29 @@
@import "tailwindcss";
@keyframes rainbow-shift {
0%,
100% {
background-position: 0% center;
}
50% {
background-position: 100% center;
}
}
@layer utilities {
.rainbow-text {
@apply text-transparent bg-clip-text;
background-image: linear-gradient(
90deg,
red,
orange,
yellow,
green,
blue,
indigo,
violet
);
background-size: 300% 100%;
animation: rainbow-shift 2s ease-in-out infinite;
}
}