diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2018-02-09 15:37:08 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-09 15:37:08 +0530 |
commit | f95ac598fdade5da5f15037407025d8a9ea81195 (patch) | |
tree | 9de7f72233743dde3f0899cc0f886257ff3cf007 | |
parent | de7147a206796f7d10a4d183291f470889dd6ccc (diff) |
Add files via upload
-rw-r--r-- | app.css | 101 | ||||
-rw-r--r-- | assets/backpack.png | bin | 0 -> 1180056 bytes | |||
-rw-r--r-- | assets/beachball.png | bin | 0 -> 488604 bytes | |||
-rw-r--r-- | assets/chucks.png | bin | 0 -> 534667 bytes | |||
-rw-r--r-- | assets/clock.png | bin | 0 -> 622968 bytes | |||
-rw-r--r-- | assets/diamond.svg | 13 | ||||
-rw-r--r-- | assets/fishbowl.png | bin | 0 -> 740149 bytes | |||
-rw-r--r-- | assets/logo.png | bin | 0 -> 17372 bytes | |||
-rw-r--r-- | assets/sunnies.png | bin | 0 -> 471728 bytes | |||
-rw-r--r-- | package.json | 12 | ||||
-rw-r--r-- | projects.html | 106 |
11 files changed, 232 insertions, 0 deletions
@@ -0,0 +1,101 @@ +/* stylelint-disable */ + +html, body { + height: 100%; + background-color: #f2f2f2; +} + +.shrine-product-card { + width: 320px; + border-radius: 4px; + margin-bottom: 8px; + background-color: white; +} + +.shrine-product-card__price { + display: block; + text-align: right; +} + +.shrine-product-card__image { + margin: 0 auto; +} + +#shrine-header { + background-color: var(--mdc-theme-background); + color: var(--mdc-theme-text-primary-on-background); +} + +#shrine-header .mdc-toolbar__section { + overflow: visible; +} + +#shrine-logo { + background: url(assets/logo.png) left center no-repeat; + background-size: contain; + width: 100%; + height: 100%; +} + +/* Hide actual text for screen readers */ +#shrine-logo > span { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0,0,0,0); + border: 0; +} + +#shrine-nav-icon { + width: 24px; + height: 24px; + margin-right: 40px; + text-decoration: none; +} + +#shrine-nav-icon:visited, +#shrine-nav-icon:active, +#shrine-nav-icon:focus { + color: var(--mdc-theme-text-primary-on-background); +} + +#shrine-nav-menu { + text-transform: uppercase; + padding-left: 16px; +} + +#shrine-nav-menu .mdc-temporary-drawer__drawer { + background-color: #fafafa; +} + +#shrine-nav-menu .mdc-temporary-drawer__header { + background: url(assets/logo.png) 32px 32px no-repeat; + background-size: 30%; +} + +#shrine-nav-menu .mdc-temporary-drawer__header::before { + padding-top: 30%; +} + +#shrine-nav-menu .mdc-temporary-drawer__content { + background: url(assets/diamond.svg) -32px bottom no-repeat; + background-size: 50%; +} + +#shrine-nav-menu .mdc-list-item { + height: 32px; + padding-left: 32px; + letter-spacing: .2em; +} + +#shrine-products { + --mdc-layout-grid-gutter: 8px; +} + +#shrine-products .mdc-layout-grid__cell { + display: flex; + justify-content: center; +} diff --git a/assets/backpack.png b/assets/backpack.png Binary files differnew file mode 100644 index 0000000..c6d3c11 --- /dev/null +++ b/assets/backpack.png diff --git a/assets/beachball.png b/assets/beachball.png Binary files differnew file mode 100644 index 0000000..22248fc --- /dev/null +++ b/assets/beachball.png diff --git a/assets/chucks.png b/assets/chucks.png Binary files differnew file mode 100644 index 0000000..9a893f6 --- /dev/null +++ b/assets/chucks.png diff --git a/assets/clock.png b/assets/clock.png Binary files differnew file mode 100644 index 0000000..3fb14fc --- /dev/null +++ b/assets/clock.png diff --git a/assets/diamond.svg b/assets/diamond.svg new file mode 100644 index 0000000..cfc0dc8 --- /dev/null +++ b/assets/diamond.svg @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 185 185" style="enable-background:new 0 0 185 185;" xml:space="preserve">
+<style type="text/css">
+ .st0{fill:#BCC8CE;}
+</style>
+<g id="XMLID_2814_">
+ <path id="XMLID_2815_" class="st0" d="M138.6,0.5H46.5L0.5,43l92.1,141.7L184.7,43L138.6,0.5z M134,15l29.1,26.9H134V15z
+ M51.9,14.3h68.3v27.6H22L51.9,14.3z M85.7,148.7l-30.5-46.9h30.5V148.7z M85.7,88H46.2l-21-32.2h60.4V88z M134,95.5 M99.5,148.7
+ V55.7h60.4L99.5,148.7z"/>
+</g>
+</svg>
diff --git a/assets/fishbowl.png b/assets/fishbowl.png Binary files differnew file mode 100644 index 0000000..34d22f4 --- /dev/null +++ b/assets/fishbowl.png diff --git a/assets/logo.png b/assets/logo.png Binary files differnew file mode 100644 index 0000000..7ab896f --- /dev/null +++ b/assets/logo.png diff --git a/assets/sunnies.png b/assets/sunnies.png Binary files differnew file mode 100644 index 0000000..771c609 --- /dev/null +++ b/assets/sunnies.png diff --git a/package.json b/package.json new file mode 100644 index 0000000..343e3ad --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "name": "projects-by-navanchauhan", + "private": true, + "version": "0.0.0", + "scripts": { + "dev": "live-server" + }, + "license": "Apache-2.0", + "devDependencies": { + "live-server": "^1.2.0" + } +} diff --git a/projects.html b/projects.html new file mode 100644 index 0000000..3af34b7 --- /dev/null +++ b/projects.html @@ -0,0 +1,106 @@ +<!doctype html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <meta http-equiv="x-ua-compatible" content="ie=edge"> + <title>Projects by Navan</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="icon" sizes="192x192" href="https://material.io/static/images/simple-lp/favicons/components-192x192.png"> + <link rel="shortcut icon" href="https://material.io/static/images/simple-lp/favicons/components-72x72.png"> + + <link rel="stylesheet" + href="https://cdnjs.cloudflare.com/ajax/libs/normalize/6.0.0/normalize.min.css"> + <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet"> + <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> + <link rel="stylesheet" + href="https://unpkg.com/material-components-web@0.9.1/dist/material-components-web.min.css"> + <link rel="stylesheet" href="app.css"> +</head> +<body class="mdc-typography"> + <header id="shrine-header" + class="mdc-toolbar mdc-toolbar--fixed mdc-theme--text-primary-on-background"> + <div class="mdc-toolbar__row"> + <section class="mdc-toolbar__section mdc-toolbar__section--align-start"> + <a id="shrine-nav-icon" class="material-icons mdc-ripple-surface" href="#" + aria-label="Click to show the navigation menu" + aria-controls="shrine-nav-menu" + data-mdc-auto-init="MDCRipple" + data-mdc-ripple-is-unbounded>menu</a> + <h1 id="shrine-logo" class="mdc-toolbar__title"><span>Navan Chauhan</span></h1> + </section> + </div> + </header> + + <aside id="shrine-nav-menu" class="mdc-temporary-drawer" data-mdc-auto-init="MDCTemporaryDrawer"> + <nav class="mdc-temporary-drawer__drawer"> + <header class="mdc-temporary-drawer__header"></header> + <nav class="mdc-temporary-drawer__content mdc-list"> + <a class="mdc-list-item" href="https://navanchauhan.github.io">Home</a> + <a class="mdc-list-item" href="#">Projects</a> + <a class="mdc-list-item" href="#">Contact Me</a> + </nav> + </nav> + </aside> + + <main id="shrine-products" class="mdc-layout-grid mdc-toolbar-fixed-adjust"> + <div class="mdc-layout-grid__cell"> + <div class="mdc-card shrine-product-card"> + <section class="mdc-card__primary"> + <span class="mdc-card__title shrine-product-card__price">Mjölnir</span> + </section> + <img class="shrine-product-card__image" width="240" height="240" alt="Sunglasses" src="assets/sunnies.png"> + </div> + </div> + <div class="mdc-layout-grid__cell"> + <div class="mdc-card shrine-product-card"> + <section class="mdc-card__primary"> + <span class="mdc-card__title shrine-product-card__price">GYGB</span> + </section> + <img class="shrine-product-card__image" width="240" height="240" alt="Shoes" src="assets/chucks.png"> + </div> + </div> + <div class="mdc-layout-grid__cell"> + <div class="mdc-card shrine-product-card"> + <section class="mdc-card__primary"> + <span class="mdc-card__title shrine-product-card__price">John Doe</span> + </section> + <img class="shrine-product-card__image" width="240" height="240" alt="Beach ball" src="assets/beachball.png"> + </div> + </div> + <div class="mdc-layout-grid__cell"> + <div class="mdc-card shrine-product-card"> + <section class="mdc-card__primary"> + <span class="mdc-card__title shrine-product-card__price">Pwned</span> + </section> + <img class="shrine-product-card__image" width="240" height="240" alt="Backpack" src="assets/backpack.png"> + </div> + </div> + <div class="mdc-layout-grid__cell"> + <div class="mdc-card shrine-product-card"> + <section class="mdc-card__primary"> + <span class="mdc-card__title shrine-product-card__price">Kamikaze</span> + </section> + <img class="shrine-product-card__image" width="240" height="240" alt="Clock" src="assets/clock.png"> + </div> + </div> + <div class="mdc-layout-grid__cell"> + <div class="mdc-card shrine-product-card"> + <section class="mdc-card__primary"> + <span class="mdc-card__title shrine-product-card__price">Shodown</span> + </section> + <img class="shrine-product-card__image" width="240" height="240" alt="Fish bowl" src="assets/fishbowl.png"> + </div> + </div> + </main> + <script + src="https://unpkg.com/material-components-web@0.9.1/dist/material-components-web.min.js"> + </script> + <script> + mdc.autoInit() + document.getElementById('shrine-nav-icon').addEventListener('click', function(evt) { + evt.preventDefault(); + document.getElementById('shrine-nav-menu').MDCTemporaryDrawer.open = true; + }); + </script> +</body> +</html> |