Skip to content

Commit

Permalink
rename files
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschonti committed Dec 16, 2023
1 parent c65068b commit f918f47
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Image from 'next/image';

import { metadata } from '@/app/layout';
import { SocialButtons } from '@/components/footer/social-buttons';
import { ModalContent } from '@/components/newsletter/ModalContent';
import { NewsletterModals } from '@/components/newsletter/newsletter-modals';

import konfLogo from '../../public/img/konf.svg';

Expand All @@ -20,7 +20,7 @@ export default function Landing() {
<p className='font-semibold text-2xl sm:text-6xl'>24. 03. 19.</p>
<div className='flex md:hidden flex-col items-center gap-10 mt-10'>
<SocialButtons />
<ModalContent />
<NewsletterModals />
</div>
</div>
</>
Expand Down
4 changes: 2 additions & 2 deletions src/components/footer/desktop-footer.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import Image from 'next/image';
import Link from 'next/link';

import { ModalContent } from '../newsletter/ModalContent';
import { NewsletterModals } from '../newsletter/newsletter-modals';
import { SocialButtons } from './social-buttons';

export function DesktopFooter() {
return (
<footer className='hidden md:flex p-10 justify-between items-center gap-10 flex-row'>
<SocialButtons />
<div className='absolute left-1/2 -translate-x-1/2'>
<ModalContent />
<NewsletterModals />
</div>
<div className='flex items-center gap-10'>
<Link href='https://schdesign.hu' className='brand-link' target='blank'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { FaCheckCircle, FaTimes } from 'react-icons/fa';

import { addToGroup } from '@/app/actions';

import { WhiteButton } from '../WhiteButton';
import { WhiteButton } from '../white-button';

export function ModalContent() {
export function NewsletterModals() {
const [isSubscribeOpen, setIsSubscribeOpen] = useState(false);
const [isSuccessOpen, setIsSuccessOpen] = useState(false);
const [isLoading, setIsLoading] = useState(false);
Expand Down Expand Up @@ -54,7 +54,7 @@ export function ModalContent() {
<div className='fixed inset-0 flex w-screen items-center justify-center p-4'>
<Dialog.Panel className='mx-auto max-w-lg rounded bg-[#0f181c] p-8'>
<div className='flex justify-between items-center mb-5'>
<Dialog.Title className='font-bold text-2xl '>Feliratkozás a hírlevélre</Dialog.Title>
<Dialog.Title className='font-bold text-2xl '>Hírlevél</Dialog.Title>
<div className='hover:text-gray-400 hover:cursor-pointer text-xl' onClick={onSubscribeClose}>
<FaTimes />
</div>
Expand Down
File renamed without changes.

0 comments on commit f918f47

Please sign in to comment.