Skip to content

Commit

Permalink
[Update] lintfix
Browse files Browse the repository at this point in the history
  • Loading branch information
AsagaKosho committed Mar 23, 2020
1 parent cba0a51 commit 9535e5e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"files.eol": "\n"
}
4 changes: 2 additions & 2 deletions src/components/header.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Link } from "gatsby"
import PropTypes from "prop-types"
import React from "react"
import Image from "../components/image"
import Logo from "../components/logo"
// import Image from "../components/image"
// import Logo from "../components/logo"

const Header = ({ siteTitle }) => (
<header>
Expand Down
18 changes: 13 additions & 5 deletions src/components/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,27 @@ const Layout = ({ children }) => {
<main>{children}</main>
</div>
<footer>
<div id="footerContainer" >
<div id="footerContainer">
<div class="row">
<div class="half">
<Link to={/about/} >このサイトについて</Link>
<Link to={/about/}>このサイトについて</Link>
</div>
<div class="half" style={{textAlign: `right`}}>
<img src="https://drive.google.com/uc?id=1ReaOXbZz2mHy2CKZ7cQONvot6vp3S02m" alt={`筑波大学`} id={`footerLogo`}/>
<div class="half" style={{ textAlign: `right` }}>
<img
src="https://drive.google.com/uc?id=1ReaOXbZz2mHy2CKZ7cQONvot6vp3S02m"
alt={`筑波大学`}
id={`footerLogo`}
/>
</div>
</div>
<div>
<p id="copyright">
© {new Date().getFullYear()},{` `}
<a href="https://www.stb.tsukuba.ac.jp/~webgaku/" target="_blank">
<a
href="https://www.stb.tsukuba.ac.jp/~webgaku/"
target="_blank"
rel="noopener noreferrer"
>
筑波大学Webページ学生委員会
</a>
</p>
Expand Down
5 changes: 2 additions & 3 deletions src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import React from "react"
import { Link } from "gatsby"
// import { Link } from "gatsby"

import Layout from "../components/layout"
import Image from "../components/image"
// import Image from "../components/image"
import SEO from "../components/seo"

const IndexPage = () => (
<Layout>
<SEO title="ホーム" />

</Layout>
)

Expand Down

0 comments on commit 9535e5e

Please sign in to comment.