Skip to content

Commit

Permalink
Merge pull request #31 from prgrms-fe-devcourse/feat-6-header-1-로고
Browse files Browse the repository at this point in the history
✨ Feat: 로고 컨텐츠 제작 완료
  • Loading branch information
djm06294 authored Nov 13, 2024
2 parents 65535dc + daf2f35 commit 2f8e458
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
Binary file added public/petFriendLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 10 additions & 3 deletions src/App.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
import { render, screen } from '@testing-library/react';
import App from './App';
import { render, screen } from "@testing-library/react";
import App from "./App";

test('renders learn react link', () => {
test("renders learn react link", () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});

// 로고
test("로고 제작 완료", () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
Expand Down
7 changes: 7 additions & 0 deletions src/components/logo/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default function Index() {
return (
<>
<img src="/petFriendLogo.png" />
</>
);
}

0 comments on commit 2f8e458

Please sign in to comment.