Skip to content

Commit 449f847

Browse files
committed
+
1 parent 1a9cc63 commit 449f847

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+577
-597
lines changed

src/components/LandingPage/Developers/Developers.astro

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ import homenko from './Images/team/homenko.jpg'
1515
import artem from './Images/team/artem.jpg'
1616
import vitalii from './Images/team/vitalii.jpg'
1717
import shippingData from '../../../data/shipping.yaml';
18-
import getMonthLabel from "../../../utils/getMonthLabel";
1918
import ProgressBar from "./ProgressBar.astro";
20-
import fillMonthsGaps from "../../../utils/fillMonthsGaps";
2119
import progress from "../../../data/progress";
22-
import addNofollowToExternalLinks from "../../../utils/addNofollowToExternalLinks";
20+
import { addNofollowToExternalLinks, fillMonthsGaps, getMonthLabel } from "@/utils";
2321
import type { ImageMetadata } from "astro";
2422
2523
const drizzleTeam: { name: string, photo: ImageMetadata, url?: string}[] = [

src/components/LandingPage/SponsorsLine/SponsorsLine.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454
</a>
5555
</template>
5656
<script>
57-
import sponsorsHandler from "@/utils/sponsorsHandler";
57+
import { sponsorsHandler } from "@/utils-client";
5858
import sponsorTypes from "@/data/sponsor-types";
59-
import { ImageType } from "@/types/Sponsors";
59+
import { ImageType } from "@/types";
6060
import type { CSSProperties } from "react";
6161

6262
document.addEventListener("astro:page-load", async () => {

src/components/LandingPage/Supporting/Databases.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ISupportingElement } from "@/types/Supporting";
1+
import type { ISupportingElement } from "@/types";
22

33
const Databases: {
44
[key: string]: ISupportingElement;

src/components/LandingPage/Supporting/Runtimes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type ISupportingElement } from "@/types/Supporting";
1+
import { type ISupportingElement } from "@/types";
22

33
const Runtimes: {
44
[key: string]: ISupportingElement;

src/components/LandingPage/Supporting/Supporting.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
import { Image } from "astro:assets";
3-
import type { ISupportingElement } from '@/types/Supporting';
3+
import type { ISupportingElement } from '@/types';
44
import LiveOnTheEdge from "./Images/LiveOnTheEdgeDark.webp";
55
import ConnectEverywhere from "./Images/ConnectEverywhereDark.webp";
66
import SupportingElement from "./SupportingElement/SupportingElement.astro";

src/components/LandingPage/Supporting/SupportingElement/SupportingElement.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
2-
import type { SVGProps } from '@/types/SVGTypes';
3-
import type { ISupportingElement } from '@/types/Supporting';
2+
import type { ISupportingElement, SVGProps } from '@/types';
43
54
interface Props {
65
item: ISupportingElement;

src/components/layout/AsideAstro.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import type { IHeading, TreeNode } from "../../types/astro";
2+
import type { IHeading, TreeNode } from "@/types";
33
import CollapseToggleButton from "./DocsSidebar/CollapseToggleButton.astro";
44
55
interface Props {
@@ -297,8 +297,8 @@ let i = 0;
297297
</div>
298298
<script>
299299
import throttle from "lodash.throttle";
300-
import handleAnchorHighlighting from "@/utils/handleAnchorHighlighting";
301-
import updateDialectLinks from "@/utils/updateDialectLinks";
300+
import { handleAnchorHighlighting } from "@/utils-client";
301+
import { updateDialectLinks } from "@/utils-client";
302302

303303
document.addEventListener("astro:after-swap", () => {
304304
let expandedSections: string[] = JSON.parse(localStorage.getItem('expandedSections') || '[]');

src/components/layout/DialectTab.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import type { ICard } from "@/types/SVGTypes";
2+
import type { ICard } from "@/types";
33
interface Props {
44
card: ICard;
55
}

src/components/layout/DialectTabs.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ const getLinkWithDialect = (dialect: string) => {
146146
}
147147
</style>
148148
<script>
149-
import updateDialectLinks from "@/utils/updateDialectLinks";
149+
import { updateDialectLinks } from "@/utils-client";
150150

151151
const typeSelectorBtn = document.querySelector(
152152
".dialect-tabs__tab--active",

src/components/layout/DocsSidebar/DocsSidebar.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import type { IHeading, TreeNode } from "../../../types/astro";
2+
import type { IHeading, TreeNode } from "@/types";
33
import AsideSocials from "../AsideSocials.astro";
44
import SidebarContentWrap from "../SidebarContentWrap.astro";
55
import ThemeSelectorMobile from "../ThemeSelectorMobile.astro";

0 commit comments

Comments
 (0)