Skip to content

Commit

Permalink
🧹 Chore: Move files under src and rename non-app folders
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbakas committed Dec 7, 2023
1 parent 890778f commit 1fd554e
Show file tree
Hide file tree
Showing 25 changed files with 11 additions and 11 deletions.
File renamed without changes
File renamed without changes.
File renamed without changes
4 changes: 2 additions & 2 deletions app/layout.jsx β†’ src/app/layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import "bootstrap/dist/css/bootstrap.min.css";
import React from "react";
//* Local Imports
import { getMetadata } from "./_logic/metadata/service";
import StateManager from "./_logic/state/manager";
import { getMetadata } from "../logic/metadata/service";
import StateManager from "../logic/state/manager";


//* Main
Expand Down
2 changes: 1 addition & 1 deletion app/layout.test.jsx β†’ src/app/layout.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ vi.mock("@inrupt/solid-ui-react", () => ({
}));

// Mocking the getMetadata function
vi.mock("./_logic/metadata/service", () => ({
vi.mock("./logic/metadata/service", () => ({
getMetadata: vi.fn().mockResolvedValue({ /* mock metadata object */ })
}));

Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes.
4 changes: 2 additions & 2 deletions app/page.jsx β†’ src/app/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import React from "react";
//* Local Imports
import "./page.css";
import Footer from "./_components/molecules/footer/component";
import AuthButton from "./_components/atoms/authButton";
import Footer from "../components/molecules/footer/component";
import AuthButton from "../components/atoms/authButton";


//* Main
Expand Down
File renamed without changes
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import React, { useEffect, useState } from "react";
import { LoginButton as SolidLoginButton } from "@inrupt/solid-ui-react";
import { Button } from "react-bootstrap";
//* Local imports
import { getOptions } from "../../_logic/auth/service";
import { getOptions } from "../../logic/auth/service";


//* Main
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//* Imports
import Link from "next/link";
//* Local Imports
import useData from "../../../_logic/data/hook";
import useData from "../../../logic/data/hook";
import FooterLayout from "./layout";


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/

//* Imports
import { CLIENT_ID, POD_PROVIDER_URI } from "../../_services/app/nodes";
import { CLIENT_ID, POD_PROVIDER_URI } from "../../services/app/nodes";

export async function getOptions() {
// Logic
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions app/_logic/data/service.js β†’ src/logic/data/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
//* Imports

//* Local Imports
import { APP_WEBID, APP_WEBID_DOC } from "../../_services/app/nodes";
import { getProperties, getThing } from "../../_services/solid/service";
import { appShape } from "../../_services/app/shape";
import { APP_WEBID, APP_WEBID_DOC } from "../../services/app/nodes";
import { getProperties, getThing } from "../../services/solid/service";
import { appShape } from "../../services/app/shape";


//* Main
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1fd554e

Please sign in to comment.