Skip to content

Commit

Permalink
chore: removed src dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Mazzon committed Sep 21, 2023
1 parent 350d613 commit fd2265b
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 23 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"use client";
import React, { useCallback, useEffect, useState } from "react";
import Link from "next/link";
import BondscapeLogo from "@/components/BondscapeLogo/BondscapeLogo";
import useBreakpoints from "@/hooks/useBreakpoints";
import BondscapeLogo from "./BondscapeLogo/BondscapeLogo";
import useBreakpoints from "../hooks/useBreakpoints";

const NavigationBar = () => {
const [isMobile, isMd, isLg, isXl] = useBreakpoints();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import "../../globals.css";
import DefaultSEO from "@/seo";
import DefaultSEO from "../../seo";

export const metadata = {
...DefaultSEO,
Expand Down
8 changes: 4 additions & 4 deletions src/app/creator/login/page.tsx → app/creator/login/page.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use client";
import React from "react";
import MainLayout from "@/layouts/MainLayout";
import MainLayout from "../../layouts/MainLayout";
import Image from "next/image";
import heroImage from "../../../../public/bondscape-home-bg.png";
import overlay from "../../../../public/login-overlay-bg.png";
import useBreakpoints from "@/hooks/useBreakpoints";
import heroImage from "../../../public/bondscape-home-bg.png";
import overlay from "../../../public/login-overlay-bg.png";
import useBreakpoints from "../../hooks/useBreakpoints";

export default function Login() {
const [isMobile, isMd] = useBreakpoints();
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useState } from "react";
import { useMediaQuery } from "react-responsive";
import { ContentWidth } from "@/utils/sizes";
import { ContentWidth } from "../utils/sizes";

const useBreakpoints = () => {
const [isBreakpointReady, setIsBreakpointReady] = useState(false);
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout.tsx → app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import Footer from "@/components/Footer";
import Footer from "./components/Footer";
import Head from "next/head";
import "./globals.css";

Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions src/app/layouts/MainLayout.tsx → app/layouts/MainLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from "react";
import NavigationBar from "@/components/NavigationBar";
import heroImage from "../../../public/bondscape-home-bg-masked.png";
import NavigationBar from "../components/NavigationBar";
import heroImage from "../../public/bondscape-home-bg-masked.png";
import { StaticImport } from "next/dist/shared/lib/get-img-props";
import BackgroundImage from "@/components/BackgroundImage";
import BackgroundImage from "../components/BackgroundImage";

export interface MainLayoutProps {
readonly backgroundImage?: boolean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";
import React, { useEffect, useState } from "react";
import useBreakpoints from "@/hooks/useBreakpoints";
import useBreakpoints from "../hooks/useBreakpoints";

export interface ContentBackground {
/**
Expand Down
6 changes: 3 additions & 3 deletions src/app/page.tsx → app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import MainLayout from "@/layouts/MainLayout";
import MainLayout from "./layouts/MainLayout";
import React from "react";
import Image from "next/image";
import Link from "next/link";
import mockupImage from "../../public/mockup-image-mobile.webp";
import DefaultSEO from "@/seo";
import mockupImage from "../public/mockup-image-mobile.webp";
import DefaultSEO from "./seo";

export const metadata = {
...DefaultSEO,
Expand Down
4 changes: 2 additions & 2 deletions src/app/privacy/page.tsx → app/privacy/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import MainLayout from "@/layouts/MainLayout";
import DefaultSEO from "@/seo";
import MainLayout from "../layouts/MainLayout";
import DefaultSEO from "../seo";

export const metadata = {
...DefaultSEO,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/app/terms/page.tsx → app/terms/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// pages/TermsOfService.tsx

import React from "react";
import MainLayout from "@/layouts/MainLayout";
import DefaultSEO from "@/seo";
import MainLayout from "../layouts/MainLayout";
import DefaultSEO from "../seo";

export const metadata = {
...DefaultSEO,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import type { Config } from "tailwindcss";

const config: Config = {
content: [
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
container: {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
],
"paths": {
"@/*": ["./src/app/*"]
"@/*": ["./app/*"]
}
},
// TODO: Remove public/creator.js from include when refactored into a react component
Expand Down

0 comments on commit fd2265b

Please sign in to comment.