Skip to content

Commit

Permalink
[FEAT][FE] Footer title ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
leedongyull committed Nov 11, 2024
1 parent 698e99f commit d89350f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions frontend/src/component/Layout/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React from 'react';

interface IFooterProps {
title: string;
title?: string;
onClick?: () => void;
active?: boolean;
}

export const Footer: React.FC<IFooterProps> = ({ title, onClick, active }) => {
const shadow = active ? 'shadow-float' : 'shadow-basic';
const fontColor = active ? 'text-gray-900' : 'text-gray-100';
const fontColor = active ? 'text-gray-900' : 'text-gray-400';

return (
<footer className="absolute bottom-5 w-[95%] h-[6%]">
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/component/Layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ interface ILayoutProps {

export const Layout: React.FC<ILayoutProps> = ({
children,
headerTitle = '์‚ฌ์šฉ์ž 1์— ๋Œ€ํ•œ ๊ฒฝ๋กœ ์„ค์ •',
footerTitle = '์ถœ๋ฐœ์ง€์  ์„ ํƒ',
headerTitle,
footerTitle,
isHeaderTransparent = false,
footerActive = true,
headerButton,
footerOnClick,
}) => (
<div className="flex flex-col items-center w-full h-full">
<div className="flex flex-col items-center w-full h-full bg-gray-400">
{/* Header */}
<Header title={headerTitle} isTransparency={isHeaderTransparent} buttonElement={headerButton} />

Expand Down

0 comments on commit d89350f

Please sign in to comment.