Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Commit

Permalink
Kuote simple landing implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
brain545 committed Jan 30, 2021
1 parent 6a6544f commit c24b8ad
Show file tree
Hide file tree
Showing 15 changed files with 544 additions and 231 deletions.
460 changes: 447 additions & 13 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
"start": "next start"
},
"dependencies": {
"autoprefixer": "^10.2.4",
"next": "10.0.6",
"postcss": "^8.2.4",
"react": "17.0.1",
"react-dom": "17.0.1"
"react-dom": "17.0.1",
"tailwindcss": "^2.0.2"
}
}
50 changes: 45 additions & 5 deletions pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,47 @@
import '../styles/globals.css'
import Image from "next/image";
import "tailwindcss/tailwind.css";

function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
}
const Preview = () => (
<div className="min-h-screen flex flex-col items-center justify-center bg-pink-100">
<div className="text-2xl text-gray-700 m-7">
Beautiful pictures with quotes of great people
</div>
<div className="flex flex-row flex-wrap justify-center md:space-x-4">
<div>
<Image
className="rounded-lg"
src="/preview1.png"
width={300}
height={540}
/>
</div>
<div>
<Image
className="rounded-lg"
src="/preview2.png"
width={300}
height={540}
/>
</div>
<div>
<Image
className="rounded-lg"
src="/preview3.png"
width={300}
height={540}
/>
</div>
</div>

export default MyApp
<div className="max-w-xs">
<a href="https://play.google.com/store/apps/details?id=space.bytedeal.kuote">
<img
alt="Get it on Google Play"
src="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png"
/>
</a>
</div>
</div>
);

export default Preview;
28 changes: 28 additions & 0 deletions pages/_document.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import Document, { Html, Head, Main, NextScript } from "next/document";

class MyDocument extends Document {
static async getInitialProps(ctx) {
const initialProps = await Document.getInitialProps(ctx);
return { ...initialProps };
}

render() {
return (
<Html>
<Head>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap"
rel="stylesheet"
/>
</Head>
<body>
<Main />
<NextScript />
</body>
</Html>
);
}
}

export default MyDocument;
5 changes: 0 additions & 5 deletions pages/api/hello.js

This file was deleted.

65 changes: 0 additions & 65 deletions pages/index.js

This file was deleted.

6 changes: 6 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {}
}
};
Binary file modified public/favicon.ico
Binary file not shown.
Binary file added public/preview1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/preview2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/preview3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions public/vercel.svg

This file was deleted.

122 changes: 0 additions & 122 deletions styles/Home.module.css

This file was deleted.

16 changes: 0 additions & 16 deletions styles/globals.css

This file was deleted.

14 changes: 14 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
purge: ["./pages/**/*.{js,ts,jsx,tsx}"],
darkMode: false,
theme: {
extend: {},
fontFamily: {
sans: ["Montserrat"]
}
},
variants: {
extend: {}
},
plugins: []
};

0 comments on commit c24b8ad

Please sign in to comment.