Skip to content

Commit

Permalink
creator clash logo
Browse files Browse the repository at this point in the history
  • Loading branch information
cysabi committed Apr 4, 2024
1 parent 2220998 commit 2a2a0f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/break.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import render from "./render"
import background from "./background.png"
import { animateText, logo, measureText, useAnimatedTextMap } from "./utils.js"
import { animateText, measureText, useAnimatedTextMap } from "./utils.js"
import {
useCurrentBlock,
useCurrentBreakScreen,
Expand All @@ -14,6 +14,7 @@ import {
import { useRef, useEffect, useState } from "preact/hooks"
import anime from "animejs"
import { forwardRef } from "preact/compat"
import logo from "./logo.png"

function App() {
const [breakScreen] = useCurrentBreakScreen()
Expand Down Expand Up @@ -278,9 +279,7 @@ const RosterList = ({ roster, row = "flex-row" }) => (
<>
{roster.map((data) => (
<div class={`flex items-center justify-between gap-6 ${row}`}>
<p class="truncate">
{data.splashtag.split("#")[0]}
</p>
<p class="truncate">{data.splashtag.split("#")[0]}</p>
<div class="flex items-center shrink-0">
{data.weapons.map((w) => {
console.log(w)
Expand Down
Binary file added src/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import { useEffect } from "preact/hooks"
* When adding new maps, please refer to it.
*/

export const logo = "https://assets.otd.ink/idtga/logo-nobg.svg"

export const animateText = (targets, stageA, add) => {
let tl = anime
.timeline({
Expand Down

0 comments on commit 2a2a0f7

Please sign in to comment.