Skip to content

Commit

Permalink
change names of files
Browse files Browse the repository at this point in the history
  • Loading branch information
GiannisTsagkaropoulos committed Feb 29, 2024
1 parent 14a335c commit 9f212ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/components/NewsLetterModal/ModalNewsLetter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import React, { useState, useEffect } from "react";
import Modal from "./Modal";
import NewsLetter from "./NewsLetter";
import Newsletter from "./Newsletter";

const ModalNewsLetter = ({ isModalOpenFlag, setIsModalOpenFlag }) => {
const ModalNewsletter = ({ isModalOpenFlag, setIsModalOpenFlag }) => {
const [isModalOpen, setIsModalOpen] = useState(true);

// useEffect(() => {
Expand All @@ -25,11 +25,11 @@ const ModalNewsLetter = ({ isModalOpenFlag, setIsModalOpenFlag }) => {
setIsModalOpenFlag && setIsModalOpenFlag(false);
}}
>
<NewsLetter />
<Newsletter />
</Modal>
)}
</>
);
};

export default ModalNewsLetter;
export default ModalNewsletter;
4 changes: 2 additions & 2 deletions src/components/NewsLetterModal/NewsLetter.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import InputForm2 from "./InputForm/InputForm2";

import classes from "./NewsLetterTitle.module.css";

const NewsLetter = () => {
const Newsletter = () => {
return (
<div className="flex flex-col items-center justify-center text-center gap-6 4xl:gap-12 w-[90%] mx-auto">
<div className="text-center mx-auto font-serif font-extrabold text-3xl md:text-5xl 4xl:text-7xl mt-6">
Expand Down Expand Up @@ -62,4 +62,4 @@ const NewsLetter = () => {
);
};

export default NewsLetter;
export default Newsletter;

0 comments on commit 9f212ac

Please sign in to comment.