Skip to content

Commit

Permalink
refactor: reorganized contact-us-page related files into the pages/co…
Browse files Browse the repository at this point in the history
…ntact directory
  • Loading branch information
Anas-Rehberlik committed Oct 15, 2024
1 parent 340ed7d commit 0f99ec3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Modal from './Modal';
import Services from "./Pages/Services/Services";
import Blogs from "./Pages/Blogs/Blogs";
import BlogPost from "./Pages/Blogs/BlogPost";
import Contact from './Contact';
import Contact from './Pages/Contact/Contact';



Expand Down
4 changes: 2 additions & 2 deletions src/Contact.js → src/Pages/Contact/Contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import React from "react";
import ContactInfo from "./ContactInfo";
import DirectorInfo from "./DirectorInfo";
import ContactForm from "./ContactForm";
import Navbar from "./Navbar";
import styles from "./Contact.module.css";
import Navbar from "../../Navbar";
import styles from "../Contact/Contact.module.css";


function Contact() {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/ContactForm.js → src/Pages/Contact/ContactForm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import styles from "./Contact.module.css";
import styles from "../Contact/Contact.module.css";

function ContactForm() {
const formFields = [
Expand Down
2 changes: 1 addition & 1 deletion src/ContactInfo.js → src/Pages/Contact/ContactInfo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import styles from "./Contact.module.css";
import styles from "../Contact/Contact.module.css";

function ContactInfo() {
const contactDetails = [
Expand Down
4 changes: 2 additions & 2 deletions src/DirectorInfo.js → src/Pages/Contact/DirectorInfo.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import styles from "./Contact.module.css";
import directorimage from "../src/images/directorimage.png";
import styles from "../Contact/Contact.module.css";
import directorimage from "../../images/directorimage.png";

function DirectorInfo() {
return (
Expand Down

0 comments on commit 0f99ec3

Please sign in to comment.