Skip to content

Commit

Permalink
refactor: move components from components/solid/* to components/*
Browse files Browse the repository at this point in the history
  • Loading branch information
vighnesh153 committed Dec 15, 2024
1 parent 032312b commit 1fa831a
Show file tree
Hide file tree
Showing 43 changed files with 14 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"kind":"identitytoolkit#DownloadAccountResponse","users":[{"localId":"ekAHm4gvpTBjoSmvINUnt638btaM","createdAt":"1734187406426","lastLoginAt":"1734276869465","displayName":"Vighnesh Raut","photoUrl":"https://i.imgur.com/npqtdBu.png","providerUserInfo":[{"providerId":"google.com","rawId":"5762999240917570257694699278672391745578","federatedId":"5762999240917570257694699278672391745578","displayName":"Vighnesh Raut","photoUrl":"https://i.imgur.com/npqtdBu.png","email":"vighnesh.raut13@gmail.com","screenName":"vighnesh153"}],"validSince":"1734278671","email":"vighnesh.raut13@gmail.com","emailVerified":true,"disabled":false}]}
{"kind":"identitytoolkit#DownloadAccountResponse","users":[{"localId":"ekAHm4gvpTBjoSmvINUnt638btaM","createdAt":"1734187406426","lastLoginAt":"1734276869465","displayName":"Vighnesh Raut","photoUrl":"https://i.imgur.com/npqtdBu.png","providerUserInfo":[{"providerId":"google.com","rawId":"5762999240917570257694699278672391745578","federatedId":"5762999240917570257694699278672391745578","displayName":"Vighnesh Raut","photoUrl":"https://i.imgur.com/npqtdBu.png","email":"vighnesh.raut13@gmail.com","screenName":"vighnesh153"}],"validSince":"1734279393","email":"vighnesh.raut13@gmail.com","emailVerified":true,"disabled":false}]}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { RvLogoIcon } from "@/icons";
import HamburgerIcon from "@/icons/HamburgerIcon.astro";
import { CloseIcon } from "@/icons/CloseIcon.tsx";
import { AuthIndicator } from "@/components/solid/index.ts";
import { AuthIndicator } from "@/components/AuthIndicator.tsx";
import { classes, hashTags, type NavItem } from "@/utils/index.ts";
import NavigationItems from "./NavigationItems.astro";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
GridPathFinderGameManager,
} from "@vighnesh153/tools-browser/graphics_programming";

import { Button } from "@/components/solid/buttons/Button.tsx";
import { Button } from "@/components/buttons/Button.tsx";

export function GridPathFinderRoot() {
const cellSize = 15;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
SierpinskisTriangleGameManager,
} from "@vighnesh153/tools-browser/graphics_programming";

import { Button } from "@/components/solid/buttons/index.ts";
import { Button } from "@/components/buttons/index.ts";
import { createSnackbar } from "@/store/snackbar.ts";

export function SierpinskisTriangleRoot() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
TowerOfHanoiGameManager,
} from "@vighnesh153/tools-browser/graphics_programming";

import { Button } from "@/components/solid/buttons/index.ts";
import { Button } from "@/components/buttons/index.ts";

export function TowerOfHanoiRoot() {
let canvasElement!: HTMLCanvasElement;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
TreePathFinderGame,
} from "@vighnesh153/tools-browser/graphics_programming";

import { Button } from "@/components/solid/buttons/index.ts";
import { Button } from "@/components/buttons/index.ts";

export function TreePathFinderRoot() {
let canvasElement!: HTMLCanvasElement;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createSignal, type JSX } from "solid-js";

import { Button } from "@/components/solid/buttons/index.ts";
import { Button } from "@/components/buttons/index.ts";
import { isPrime, not } from "@vighnesh153/tools";

export function FindPreviousAndNextPrime(): JSX.Element {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createSignal, type JSX, Show } from "solid-js";

import { Button } from "@/components/solid/buttons/index.ts";
import { Button } from "@/components/buttons/index.ts";
import { isPrime, Queue } from "@vighnesh153/tools";

export function FindPrimesInRange(): JSX.Element {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createSignal, For, type JSX, Show } from "solid-js";

import { Button } from "@/components/solid/buttons/index.ts";
import { Button } from "@/components/buttons/index.ts";
import {
isPrime,
primeFactorize,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { type JSX, Match, Switch } from "solid-js";
import { assert } from "@std/assert";
import { type FileUploadState } from "@vighnesh153/tools/file_upload";

import { Spinner } from "@/components/solid/Spinner.tsx";
import { Spinner } from "@/components/Spinner";
import { CheckIcon, FileIcon } from "@/icons";
import { createSnackbar } from "@/store/snackbar.ts";
import { classes, copyToClipboard } from "@/utils/index.ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import "@/styles/base.scss";
import { SnackbarHost } from "@/components/solid/index.ts";
import { SnackbarHost } from "@/components/snackbar/index.ts";
export interface Props {
title: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags: ['software engineering', 'best practices']
live: true
---

import { Note } from '@/components/solid/index.ts';
import { Note } from '@/components/note/index.ts';

export function ListItemTitle({ children, message }) {
return <span class="text-accent font-bold italic">{children ?? message}</span>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
import ContentLayout from "@/layouts/ContentLayout.astro";
import {
// CodeViewer,
UploadInputBoxWithStats,
} from "@/components/solid/index.ts";
import { UploadInputBoxWithStats } from "@/components/uploader";
// import { CodeViewer } from "@/components/code_viewer/index.ts";
import { classes } from "@/utils/index.ts";
---

Expand Down

0 comments on commit 1fa831a

Please sign in to comment.