Skip to content

Commit

Permalink
rename directory to lowercase (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanSmiths committed Dec 1, 2024
1 parent 0237acc commit 1685b7f
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions app/blog/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { blogMetadata } from "../../utils/metadata/blogMetadata";
import Header from "../components/crafts/Header";
import Footer from "../components/global/Footer/Footer";
import Navbar, { Position } from "../components/global/Navbar/Navbar";
import Blog from "../components/home/Blog/Blog";
import BlogNew from "../components/home/Blog/BlogNew";

export const metadata = blogMetadata;

Expand All @@ -23,7 +23,7 @@ export default async function BlogPage() {
paragraph={headerProps.paragraph}
/>
<Navbar position={Position.Fixed} />
<Blog />
<BlogNew />
<Footer />
<script
type="application/ld+json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type RowElement = {
id: string;
};

const About = () => {
const AboutNew = () => {
const containerRef = useRef<HTMLDivElement | null>(null);
const triggerRef = useRef<HTMLDivElement | null>(null);
const dotRef = useRef<HTMLDivElement | null>(null);
Expand Down Expand Up @@ -150,4 +150,4 @@ const About = () => {
);
};

export default About;
export default AboutNew;
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Link from "next/link";
import { FC } from "react";
import { getBlogPosts, Posts } from "../../../../utils/getPosts";

const Blog: FC = () => {
const BlogNew: FC = () => {
const posts: Posts[] = getBlogPosts();
return (
<div data-testid="homeBlogSection" className="my-medium grid">
Expand Down Expand Up @@ -69,4 +69,4 @@ const Blog: FC = () => {
);
};

export default Blog;
export default BlogNew;
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { AccordionItem, accordionItems } from "./AccordionItems";
import useHorizontalScroll from "../../../../utils/hooks/useHorizontalScroll";
import { bebas_neue } from "../../../../utils/fonts";

const Expertise = () => {
const ExpertiseNew = () => {
const containerRef = useRef<HTMLDivElement | null>(null);
const triggerRef = useRef<HTMLDivElement | null>(null);

Expand Down Expand Up @@ -34,4 +34,4 @@ const Expertise = () => {
);
};

export default Expertise;
export default ExpertiseNew;
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import NavbarWrapper from "../Navbar/NavbarWrapper";
import Showreel from "./Showreel";
import ShowreelMobile from "./ShowreelMobile";

const Hero: FC = () => {
const HeroNew: FC = () => {
return (
<>
<div data-testid="homeHeroSection" className="flex h-[100vh] flex-col">
Expand All @@ -23,4 +23,4 @@ const Hero: FC = () => {
);
};

export default Hero;
export default HeroNew;
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { FC, useEffect, useRef } from "react";
import { useAnimationStore, useOverlayStore } from "../../../../utils/store";
import Header from "../Hero/Header";

const Loader: FC = () => {
const LoaderNew: FC = () => {
const containerRef = useRef<HTMLDivElement | null>(null);
const faderRef = useRef<HTMLDivElement | null>(null);
const imageRef = useRef<HTMLDivElement | null>(null);
Expand Down Expand Up @@ -76,4 +76,4 @@ const Loader: FC = () => {
);
};

export default Loader;
export default LoaderNew;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"use client";

import { FC, useEffect, useState } from "react";
import Loader from "./Loader";
import LoaderNew from "./LoaderNew";

const LoaderWrapper: FC = () => {
const LoaderWrapperNew: FC = () => {
const [loader, setLoader] = useState<boolean>(false);

useEffect(() => {
Expand All @@ -16,7 +16,7 @@ const LoaderWrapper: FC = () => {
}
}, []);

return <>{loader && <Loader />}</>;
return <>{loader && <LoaderNew />}</>;
};

export default LoaderWrapper;
export default LoaderWrapperNew;
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import React, { FC } from "react";
import { useOverlayStore } from "../../../../utils/store";

const Overlay: FC = () => {
const OverlayNew: FC = () => {
const { isHidden } = useOverlayStore();
return (
<div
Expand All @@ -12,4 +12,4 @@ const Overlay: FC = () => {
);
};

export default Overlay;
export default OverlayNew;
20 changes: 10 additions & 10 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import { Works } from "../utils/graphql/graphqlTypes";
import { homeMetadata } from "../utils/metadata/homeMetadata";
import { homeSchema } from "../utils/metadata/Schemas";
import Footer from "./components/global/Footer/Footer";
import Hero from "./components/home/Hero/Hero";
import Overlay from "./components/home/Loader/Overlay";
import LoaderWrapper from "./components/home/Loader/LoaderWrapper";
import About from "./components/home/About/About";
import HeroNew from "./components/home/Hero/HeroNew";
import OverlayNew from "./components/home/Loader/OverlayNew";
import LoaderWrapperNew from "./components/home/Loader/LoaderWrapperNew";
import AboutNew from "./components/home/About/AboutNew";
import WorksSection from "./components/home/Works/WorksSection";
import Expertise from "./components/home/Expertise/Expertise";
import ExpertiseNew from "./components/home/Expertise/ExpertiseNew";

export const metadata: Metadata = homeMetadata;

Expand All @@ -18,12 +18,12 @@ const Home = async () => {

return (
<>
<Hero />
<Overlay />
<LoaderWrapper />
<About />
<HeroNew />
<OverlayNew />
<LoaderWrapperNew />
<AboutNew />
<WorksSection works={works} />
<Expertise />
<ExpertiseNew />
<Footer />
<script
type="application/ld+json"
Expand Down

0 comments on commit 1685b7f

Please sign in to comment.