Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
adebiyikobo committed Aug 20, 2020
1 parent 14f6228 commit c4735ca
Show file tree
Hide file tree
Showing 21 changed files with 99 additions and 208 deletions.
Empty file added .babelrc
Empty file.
11 changes: 11 additions & 0 deletions components/BookFive.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// components/BookFive.js
export default function BookFive() {
return (
<div className="book-five">
<div className="book-info">
<p className="title">there was a country</p>
<p className="author">Chinua Achebe</p>
</div>
</div>
);
}
11 changes: 11 additions & 0 deletions components/BookFour.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// components/BookFour.js
export default function BookFour() {
return (
<div className="book-four">
<div className="book-info">
<p className="title">the man died</p>
<p className="author">wole soyinka</p>
</div>
</div>
);
}
16 changes: 16 additions & 0 deletions components/BookOne.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// components/BookOne.js
export default function BookOne() {
return (
<div className="book-one">
<div className="book-info">
<p className="title">the godfather</p>
<p className="author">Mario Puzo</p>
</div>
</div>
);
}





10 changes: 10 additions & 0 deletions components/BookSix.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export default function BookSix() {
return (
<div className="book-six">
<div className="book-info">
<p className="title">purple hibiscus</p>
<p className="author">chimamanda ngozi adichie</p>
</div>
</div>
);
}
11 changes: 11 additions & 0 deletions components/BookThree.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// components/BookThree.js
export default function BookThree() {
return (
<div className="book-three">
<div className="book-info">
<p className="title">the revolt of the public</p>
<p className="author">Martin Gurri</p>
</div>
</div>
);
}
16 changes: 16 additions & 0 deletions components/BookTwo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// components/BookTwo.js
export default function BookTwo() {
return (
<div className="book-two">
<div className="book-info">
<p className="title">the sicilian</p>
<p className="author">Mario Puzo</p>
</div>
</div>
);
}





8 changes: 4 additions & 4 deletions pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import '../styles/globals.css'
import "../styles/global/globals.css";

function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
function MyApp({Component, pageProps}) {
return <Component {...pageProps} />;
}

export default MyApp
export default MyApp;
Empty file added pages/_document.js
Empty file.
6 changes: 0 additions & 6 deletions pages/api/hello.js

This file was deleted.

79 changes: 20 additions & 59 deletions pages/index.js
Original file line number Diff line number Diff line change
@@ -1,65 +1,26 @@
import Head from 'next/head'
import styles from '../styles/Home.module.css'
// pages/index.js
import BookFive from "../components/BookFive";
import BookFour from "../components/BookFour";
import BookOne from "../components/BookOne";
import BookSix from "../components/BookSix";
import BookThree from "../components/BookThree";
import BookTwo from "../components/BookTwo";

export default function Home() {
return (
<div className={styles.container}>
<Head>
<title>Create Next App</title>
<link rel="icon" href="/favicon.ico" />
</Head>

<main className={styles.main}>
<h1 className={styles.title}>
Welcome to <a href="https://nextjs.org">Next.js!</a>
</h1>

<p className={styles.description}>
Get started by editing{' '}
<code className={styles.code}>pages/index.js</code>
</p>

<div className={styles.grid}>
<a href="https://nextjs.org/docs" className={styles.card}>
<h3>Documentation &rarr;</h3>
<p>Find in-depth information about Next.js features and API.</p>
</a>

<a href="https://nextjs.org/learn" className={styles.card}>
<h3>Learn &rarr;</h3>
<p>Learn about Next.js in an interactive course with quizzes!</p>
</a>

<a
href="https://github.com/vercel/next.js/tree/master/examples"
className={styles.card}
>
<h3>Examples &rarr;</h3>
<p>Discover and deploy boilerplate example Next.js projects.</p>
</a>

<a
href="https://vercel.com/import?filter=next.js&utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
className={styles.card}
>
<h3>Deploy &rarr;</h3>
<p>
Instantly deploy your Next.js site to a public URL with Vercel.
</p>
</a>
<div className="home">
<div className="the-bookshelf">
<div className="bookshelf-wrap">
<div className="bookshelf">
<BookOne />
<BookTwo />
<BookThree />
<BookFour />
<BookFive />
<BookSix />
</div>
</div>
</main>

<footer className={styles.footer}>
<a
href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
Powered by{' '}
<img src="/vercel.svg" alt="Vercel Logo" className={styles.logo} />
</a>
</footer>
</div>
</div>
)
);
}
123 changes: 0 additions & 123 deletions styles/Home.module.css

This file was deleted.

Empty file.
Empty file added styles/global/globals.css
Empty file.
16 changes: 0 additions & 16 deletions styles/globals.css

This file was deleted.

Empty file.
Empty file added styles/sass/bookone.sass
Empty file.
Empty file added styles/sass/booktwo.sass
Empty file.
Empty file added styles/scss/bookshelf.scss
Empty file.
Empty file.
Empty file.

0 comments on commit c4735ca

Please sign in to comment.