Update special days
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 61 KiB |
BIN
public/birthday.png
Normal file
BIN
public/birthday.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
@@ -21,6 +21,7 @@
|
||||
if( today.getMonth() === 9 && today.getDate() === 31){
|
||||
specialDay = 'halloween'
|
||||
}
|
||||
specialDay = 'anniversary' // For testing
|
||||
let iconAnimation = 0
|
||||
let clicks = 0
|
||||
let score = 0
|
||||
@@ -64,54 +65,8 @@ You've had:
|
||||
}
|
||||
}
|
||||
|
||||
let aprilFoolButtonClicked = false
|
||||
|
||||
</script>
|
||||
|
||||
{#if specialDay === 'aprilFool'}
|
||||
<button class="bg-red-600 w-full p-2 mt-4 mb-4 rounded-md max-w-2xl border-4 border-red-800 flex flex-col text-white" on:click={() => {
|
||||
sideBarStore.set(false)
|
||||
aprilFoolButtonClicked = true
|
||||
}}>
|
||||
<h1 class="font-bold text-2xl">🔥🔥 RisuLLM Released! 🔥🔥</h1>
|
||||
<div class="text-gray-200">Click here to get the latest news!</div>
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
{#if aprilFoolButtonClicked}
|
||||
|
||||
<div class="bg-black bg-opacity-45 fixed top-0 bottom-0 w-full h-full z-50 flex items-center justify-center">
|
||||
<div class="w-3xl max-w-full bg-darkbg rounded-md p-6 flex flex-col transition-shadow shadow-inner prose prose-invert mt-2 my-2 max-h-full overflow-y-auto">
|
||||
<h1 class="font-bold text-2xl">RisuLLM Released!
|
||||
|
||||
<button class="float-right" on:click={() => {
|
||||
aprilFoolButtonClicked = false
|
||||
}}>✖</button>
|
||||
</h1>
|
||||
<p>
|
||||
After a long time of development, we are proud to announce the release of RisuLLM! RisuLLM is a new open LLM, focused on providing the best experience for all users. We have worked hard to make RisuLLM the best LLM in the world, and we are confident that you will love it.
|
||||
</p>
|
||||
<p>
|
||||
Please note that RisuLLM is still in beta, so there may be some bugs and issues. We are working hard to fix these issues, and we appreciate your patience and understanding. We hope you enjoy using RisuLLM, and we look forward to your feedback.
|
||||
</p>
|
||||
<p>
|
||||
RisuLLM scored 3.14 in HellaSwag, and 400.1 in MMLU. making the most accurate and intelligent LLM in the world over other competitors including open source and commercial LLMs.
|
||||
</p>
|
||||
<p>
|
||||
Also, RisuLLM also provides a new technique called "Yuju". This technique makes characters more realistic and intelligent, using the latest AI technology. With RStar, characters can understand and respond to your questions and commands in a more natural and human-like way.
|
||||
</p>
|
||||
<p>
|
||||
Last but not least, RisuLLM is also the first LLM to support 3D holographic projection and 3d printing as output, which allows you to interact with your characters in a whole new way.
|
||||
</p>
|
||||
<p>
|
||||
<!-- svelte-ignore a11y-missing-attribute -->
|
||||
For more information, please visit our <a class="cursor-pointer" on:click={() => {
|
||||
openURL("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
|
||||
}}>official website for RisuLLM</a>. Or, you can join our discord server to get the latest news and updates. Once again, thank you for your support. Let us know if you have any questions or feedback.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
|
||||
<h2 class="text-4xl text-textcolor mb-0 mt-6 font-black relative" class:text-bordered={specialDay === 'newYear'} on:click={onClick}>RisuAI
|
||||
{#if specialDay === 'christmas'}
|
||||
@@ -130,6 +85,15 @@ You've had:
|
||||
>
|
||||
{/if}
|
||||
{/if}
|
||||
{#if specialDay === 'anniversary'}
|
||||
<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
|
||||
{#if clicks < 5}
|
||||
<img src="./birthday.png" alt="birthday" class="absolute logo-top"
|
||||
style:top={(-28 + iconAnimation).toFixed(0) + 'px'}
|
||||
style:right={'-30px'}
|
||||
>
|
||||
{/if}
|
||||
{/if}
|
||||
{#if specialDay === 'newYear'}
|
||||
<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
|
||||
<img src="./sun.webp" alt="sun" class="absolute -z-10"
|
||||
@@ -140,6 +104,13 @@ You've had:
|
||||
{/if}
|
||||
</h2>
|
||||
|
||||
{#if specialDay === 'anniversary'}
|
||||
<h1>
|
||||
<span class="text-2xl font-extralight italic text-amber-400 hover:text-amber-600 cursor-pointer transition" on:click={() => {
|
||||
openURL('https://risuai.net')
|
||||
}}>Happy 1st Anniversary!</span>
|
||||
</h1>
|
||||
{/if}
|
||||
{#if clicks >= 5}
|
||||
<div class="bg-black w-full p-3 mt-4 mb-4 rounded-md max-w-2xl" id="minigame-div">
|
||||
<span class="font-semibold text-lg">Score: {score}</span><br>
|
||||
|
||||
Reference in New Issue
Block a user