Skip to content

Commit

Permalink
色々
Browse files Browse the repository at this point in the history
  • Loading branch information
koma0504 committed Jun 14, 2021
1 parent 06b4232 commit 60059ee
Show file tree
Hide file tree
Showing 20 changed files with 3,855 additions and 191 deletions.
11 changes: 11 additions & 0 deletions components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from "react";

export function Footer() {
return (
<React.Fragment>
<footer className="footer">
<p>フッター</p>
</footer>
</React.Fragment>
);
}
48 changes: 48 additions & 0 deletions components/Header/Header.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import Link from "next/link";
import Head from "next/head";
import React from "react";
import { Swiper, SwiperSlide } from "swiper/react";
export function Header({ title }) {
return (
<React.Fragment>
<Head>
<title>ratio-observer{title}</title>
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
<meta name="description" content="ポートフォリオサイトです" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Open+Sans&family=Raleway:wght@100;200;300;400;500;600;700;800;900&family=Roboto&display=swap"
rel="stylesheet"
></link>
</Head>
<header className="header">
<h1 className="logo">RATIO OBSERVER</h1>
<nav className="nav">
<ul className="menu">
<li>
<Link href="/about">
<a>ABOUT</a>
</Link>
</li>
<li>
<Link href="/about">
<a>CONTACT</a>
</Link>
</li>
</ul>
</nav>
<Swiper
spaceBetween={50}
slidesPerView={3}
onSlideChange={() => console.log("slide change")}
onSwiper={(swiper) => console.log(swiper)}
>
<SwiperSlide>Slide 1</SwiperSlide>
<SwiperSlide>Slide 2</SwiperSlide>
<SwiperSlide>Slide 3</SwiperSlide>
<SwiperSlide>Slide 4</SwiperSlide>
</Swiper>
</header>
</React.Fragment>
);
}
9 changes: 9 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
images: {
domains: ["images.microcms-assets.io"],
loader: "default",
},
experimental: {
optimizeFonts: true,
},
};
8 changes: 0 additions & 8 deletions next.conig.js

This file was deleted.

Loading

1 comment on commit 60059ee

@vercel
Copy link

@vercel vercel bot commented on 60059ee Jun 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.