Skip to content

Commit

Permalink
구글 애드센스 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
pej4303 committed Aug 26, 2024
1 parent f8acc62 commit 2dff0ef
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 26 deletions.
1 change: 0 additions & 1 deletion src/components/layout/page-component/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import styled, { ThemeProvider } from "styled-components";
import PageContent from "../page-content";
import PageFooter from "../page-footer";
import PageNavigator from "../page-navigator";
import ThemeSwitch from "../../theme-switch";
import { getValueFromLocalStorage } from "../../../utils/localStorage";
import { DARK_THEME_COLORS, LIGHT_THEME_COLORS } from "../../../constants/themeConstants";
import GlobalStyle from "../../../styles";
Expand Down
18 changes: 0 additions & 18 deletions src/components/layout/page-navigator/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,6 @@ import styled, { keyframes } from "styled-components";
import AsideMenuBar from "../../menu-bar/aside";
import HeaderMenuBar from "../../menu-bar/header";

const slideIn = keyframes`
from {
transform: translateX(-100%);
}
to {
transform: translateX(0);
}
`;

const slideOut = keyframes`
from {
transform: translateX(0);
}
to {
transform: translateX(-100%);
}
`;

const PageNavigator = () => {
const [showHaonBlog, setShowHaonBlog] = useState(true);
const [showSideMenu, setShowSideMenu] = useState(true);
Expand Down
1 change: 0 additions & 1 deletion src/components/menu-bar/header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Link } from "gatsby";
import React from "react"
import styled from "styled-components";
import { useLocation } from "@reach/router";
import { MdOutlineDarkMode } from "react-icons/md";
import { siteMetadata } from "../../../../gatsby-config";
import { IoSearch } from "react-icons/io5";
import { FaBook } from "react-icons/fa";
Expand Down
1 change: 0 additions & 1 deletion src/components/post/post-content/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import styled from "styled-components"
import TableOfContents from "../../toc";
import { ContentWrapper, HtmlWrapper } from "./post-style";
import CodeHighLight from "./code-highlight";
Expand Down
1 change: 0 additions & 1 deletion src/components/search/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useState } from "react";
import styled from 'styled-components';
import { IoIosSearch } from "react-icons/io";

const Search = ({ onChange, placeholder, count }) => {
const [isFocused, setIsFocused] = useState(false);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tags.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react"
import { Link, graphql } from "gatsby"
import { graphql } from "gatsby"
import PageLayout from "../components/layout/page-component"
import styled from "styled-components"
import AllTagList from "../components/tags"
Expand Down
4 changes: 2 additions & 2 deletions src/templates/Post.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import React from "react";
import { Link, graphql } from "gatsby";
import { graphql } from "gatsby";
import Post from "../components/post/post-component";
import PageLayout from "../components/layout/page-component";
import PostContent from "../components/post/post-content";
import Utterances from "../components/utterances";
import Seo from "../components/seo";
import styled from "styled-components";

export default ({ data, location }) => {
export default ({ data }) => {
const { previous, next } = data;
const post = data.markdownRemark;
const { title, date, description, isPrivate } = post.frontmatter;
Expand Down
2 changes: 1 addition & 1 deletion src/templates/tag.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react"
import { Link, graphql } from "gatsby"
import { graphql } from "gatsby"
import PageLayout from "../components/layout/page-component"
import Tags from "../components/tag/tag-component"
import TagsContent from "../components/tag/tag-content"
Expand Down
1 change: 1 addition & 0 deletions static/Ads.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google.com, pub-9127237138926489, DIRECT, f08c47fec0942fa0

0 comments on commit 2dff0ef

Please sign in to comment.