Skip to content

Commit

Permalink
refactor: ♻️ major components folder structure refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelemedici committed Mar 7, 2024
1 parent c4c6a37 commit 6710d37
Show file tree
Hide file tree
Showing 14 changed files with 7 additions and 28 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/homepage/above-the-fold/above-the-fold.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { component$, useVisibleTask$ } from "@builder.io/qwik";
import AltraBellaSignoraImg from "~/assets/images/homepage/altrabellasignora.png?jsx";
import BellaSignoraImg from "~/assets/images/homepage/bellasignora.png?jsx";
import Title from "~/components/title/title";
import Title from "~/components/homepage/title/title";
import { initHomepageAnimations } from "~/lib/constants/animation/home-page";

export default component$(() => {
Expand Down
File renamed without changes.
21 changes: 0 additions & 21 deletions src/components/search/SearchResults.tsx

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
ServiceWorkerRegister,
} from "@builder.io/qwik-city";

import { RouterHead } from "./components/router-head/router-head";
import { RouterHead } from "./components/uikit/router-head/router-head";

import "./global.css";

Expand Down
4 changes: 2 additions & 2 deletions src/routes/festival/[slug]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import type {
StaticGenerateHandler,
} from "@builder.io/qwik-city";
import { routeLoader$ } from "@builder.io/qwik-city";
import { Carousel } from "~/components/carousel/carousel";
import { Carousel } from "~/components/festival-detail/carousel/carousel";
import { ContactCard } from "~/components/festival-detail/contact.card";
import { DetailCard } from "~/components/festival-detail/detail-card";
import { FestivalDetailBanner } from "~/components/festival-detail/festival-detail-banner";
import { MapCard } from "~/components/festival-detail/map-card";
import { MenuCard } from "~/components/festival-detail/menu-card";
import { PdfViewer } from "~/components/pdf-viewer/pdf-viewer";
import { PdfViewer } from "~/components/festival-detail/pdf-viewer/pdf-viewer";
import {
GET_ALL_FESTIVAL_SLUGS,
GET_SINGLE_FESTIVAL,
Expand Down
4 changes: 2 additions & 2 deletions src/routes/search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { routeLoader$, type DocumentHead } from "@builder.io/qwik-city";
import type { InitialValues, SubmitHandler } from "@modular-forms/qwik";

import { reset, useForm } from "@modular-forms/qwik";
import { SearchInput } from "~/components/input/search-input/search-input";
import { SearchCard } from "~/components/search-card/search-card";
import { SearchCard } from "~/components/search/search-card/search-card";
import { SearchInput } from "~/components/search/search-input/search-input";
import { searchFestival } from "~/lib/api/queries";
import { TAGS_OPTIONS } from "~/lib/constants/api/cms";
import { DEFAULT_RADIUS } from "~/lib/constants/generics";
Expand Down
2 changes: 1 addition & 1 deletion src/routes/search/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { component$, Slot } from "@builder.io/qwik";
import type { RequestHandler } from "@builder.io/qwik-city";
import { Navbar } from "~/components/navbar/navbar";
import { Navbar } from "~/components/uikit/navbar/navbar";

export const onGet: RequestHandler = async ({ cacheControl }) => {
// Control caching for this request for best performance and to reduce hosting costs:
Expand Down

0 comments on commit 6710d37

Please sign in to comment.