This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const BLurredIceBackground = () => { | |
| return ( | |
| <mesh scale={[10, 10, 1]} position={[0, 0, 1]}> | |
| <planeGeometry args={[2, 2]} /> | |
| <MeshTransmissionMaterial | |
| samples={1} | |
| resolution={16} | |
| anisotropicBlur={0.1} | |
| thickness={0.1} | |
| roughness={0.4} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const MovingBlobsBackground = () => { | |
| const shaderRef = useRef<ShaderMaterial>(null!) | |
| useFrame((state) => { | |
| if (shaderRef.current) { | |
| shaderRef.current.uniforms.uTime.value = state.clock.elapsedTime | |
| } | |
| }) | |
| return ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use client'; | |
| import clsx from 'clsx'; | |
| import { | |
| ChangeEvent, | |
| InputHTMLAttributes, | |
| forwardRef, | |
| useEffect, | |
| useState, | |
| } from 'react'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import { | |
| Collapsible, | |
| CollapsibleContent, | |
| CollapsibleTrigger, | |
| } from "@/components/ui/collapsible"; | |
| import { cn } from "@/lib/utils"; | |
| import { Maximize, Minimize } from "lucide-react"; | |
| import React, { useState } from "react"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export type Modify<T, R> = Omit<T, keyof R> & R; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| openapi: | |
| curl http://localhost:3000/api-docs-json > ./libs/api/src/openapi.json | |
| rm -rf ./libs/api/src/openapi-config | |
| rm -rf ./libs/api/src/openapi-schemas | |
| npx orval --config ./libs/api/orval.config.ts | |
| npx prettier --write ./libs/api/src | |
| rm ./libs/api/src/openapi.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import { cltm } from "@57hours-frontend/utils"; | |
| import { FC, useEffect, useState } from "react"; | |
| interface PaginateProps { | |
| pageCount: number; | |
| onPageChange: (selectedItem: { selected: number }) => void; | |
| previousLabel: string | JSX.Element; | |
| nextLabel: string | JSX.Element; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { clsx } from "clsx"; | |
| import { ClassNameValue, extendTailwindMerge } from "tailwind-merge"; | |
| const extendedTwMerge = extendTailwindMerge({}); | |
| // used for merging tailwind classes with clsx | |
| export function cltm(...args: ClassNameValue[]) { | |
| return extendedTwMerge(clsx(args)); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import firebaseConfig from '@/store/Config/fbConfig'; | |
| import { FirebaseApp, initializeApp } from 'firebase/app'; | |
| import { Auth, connectAuthEmulator, getAuth } from 'firebase/auth'; | |
| import { | |
| Firestore, | |
| connectFirestoreEmulator, | |
| getFirestore, | |
| } from 'firebase/firestore'; | |
| import { | |
| Functions, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { | |
| PropsDefs, | |
| PropsDocument, | |
| PropsG, | |
| PropsImage, | |
| PropsLine, | |
| PropsLinearGradient, | |
| PropsLink, | |
| PropsPage, | |
| PropsPath, |
NewerOlder