From 3c68e8f3cfb98e2f9879be9d36fb07fe7cc6c3a6 Mon Sep 17 00:00:00 2001 From: James Purser Date: Sun, 5 Sep 2021 16:12:45 +1000 Subject: [PATCH] Latest changes --- .gitignore | 2 + Dockerfile | 0 components/audioplayer.js | 0 components/css/styles.css | 53 +- components/episodepager.js | 0 components/featureimage.js | 9 +- components/footer.js | 9 + components/header.js | 14 +- components/latestepisodes.js | 0 components/main.js | 4 +- components/navbar.js | 11 +- components/showlist.js | 0 components/showsidebar.js | 0 components/sidebar.js | 0 components/storypager.js | 0 components/storysidebar.js | 0 lib/gtag.js | 0 lib/usePageTracking.js | 0 next.config.js | 14 +- package-lock.json | 5723 ++++++++------------------ package.json | 19 +- pages/_app.js | 9 +- pages/_document.js | 4 +- pages/index.js | 6 +- pages/news.js | 2 - pages/news/[slug].js | 8 +- pages/podcasts/archived.js | 7 +- pages/podcasts/current.js | 7 +- pages/podcasts/shows/[...episode].js | 31 +- pages/podcasts/shows/[podcast].js | 0 pages/sections/[page].js | 0 31 files changed, 1854 insertions(+), 4078 deletions(-) mode change 100644 => 100755 .gitignore mode change 100644 => 100755 Dockerfile mode change 100644 => 100755 components/audioplayer.js mode change 100644 => 100755 components/css/styles.css mode change 100644 => 100755 components/episodepager.js mode change 100644 => 100755 components/featureimage.js mode change 100644 => 100755 components/footer.js mode change 100644 => 100755 components/header.js mode change 100644 => 100755 components/latestepisodes.js mode change 100644 => 100755 components/main.js mode change 100644 => 100755 components/navbar.js mode change 100644 => 100755 components/showlist.js mode change 100644 => 100755 components/showsidebar.js mode change 100644 => 100755 components/sidebar.js mode change 100644 => 100755 components/storypager.js mode change 100644 => 100755 components/storysidebar.js mode change 100644 => 100755 lib/gtag.js mode change 100644 => 100755 lib/usePageTracking.js mode change 100644 => 100755 next.config.js mode change 100644 => 100755 package-lock.json mode change 100644 => 100755 package.json mode change 100644 => 100755 pages/_app.js mode change 100644 => 100755 pages/_document.js mode change 100644 => 100755 pages/index.js mode change 100644 => 100755 pages/news.js mode change 100644 => 100755 pages/news/[slug].js mode change 100644 => 100755 pages/podcasts/archived.js mode change 100644 => 100755 pages/podcasts/current.js mode change 100644 => 100755 pages/podcasts/shows/[...episode].js mode change 100644 => 100755 pages/podcasts/shows/[podcast].js mode change 100644 => 100755 pages/sections/[page].js diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 index c41264a..6884a8b --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ yarn-debug.log* yarn-error.log* #VSCode .vscode/ +#ideaj +.idea/ diff --git a/Dockerfile b/Dockerfile old mode 100644 new mode 100755 diff --git a/components/audioplayer.js b/components/audioplayer.js old mode 100644 new mode 100755 diff --git a/components/css/styles.css b/components/css/styles.css old mode 100644 new mode 100755 index 49c850f..6956ad7 --- a/components/css/styles.css +++ b/components/css/styles.css @@ -1,15 +1,15 @@ body{ font-family: Jaldi; - font-size: 1.5em; + font-size: 2em; margin: 0; padding: 0; text-align: center; font-display: swap; } - - div #header { - text-align: center; - padding-top: 1em; + + html { + font-size: 10px; + margin-bottom: 60px } .menu{ @@ -20,10 +20,6 @@ display: inline-block } - h1 { - - } - .header_image { margin-bottom: 10px; } @@ -65,7 +61,7 @@ } div .ep-title{ - font-size: 1.5em; + font-size: 2em; font-weight: bold; } @@ -88,8 +84,7 @@ .show_block{ *display: inline; zoom: 1; - width: 340px; - height: 200px; + height: 100%; padding: 5px; margin: 5px; border-style: solid; @@ -171,13 +166,6 @@ margin: 10px; } - footer { - position: absolute; - bottom: 0; - width: 100%; - background-color: #c7c2c2; - } - div .show_list ul li div { display: inline-block; text-align: justify; @@ -237,10 +225,37 @@ width: 75%; float: left } + + div #header { + text-align: center; + padding-top: 12rem; + padding-bottom: 12rem; + background-color: lightgray; + } } @media screen and (min-width: 1200px) { .col-lg-4 { width: 33.33333333%; } + } + + .navbar .dropdown-menu a{ + font-size: 2em !important + } + + div .footer { + height: 2rem; + background-color: black; + } + + .container { + min-height: 100vh; + position: relative; + } + + footer { + position: absolute; + bottom: 0; + left: 0; } \ No newline at end of file diff --git a/components/episodepager.js b/components/episodepager.js old mode 100644 new mode 100755 diff --git a/components/featureimage.js b/components/featureimage.js old mode 100644 new mode 100755 index 5b11345..2b23044 --- a/components/featureimage.js +++ b/components/featureimage.js @@ -1,11 +1,12 @@ import Image from 'next/image'; -const FeatureImage = ({ imagedata }) => ( +const FeatureImage = ({ imagedata, basepath }) => (
); diff --git a/components/footer.js b/components/footer.js old mode 100644 new mode 100755 index e69de29..8d4b757 --- a/components/footer.js +++ b/components/footer.js @@ -0,0 +1,9 @@ +//components/Footer.js + +const Footer = () => ( + +) + +export default Footer; \ No newline at end of file diff --git a/components/header.js b/components/header.js old mode 100644 new mode 100755 index ae4308b..d0e9ebc --- a/components/header.js +++ b/components/header.js @@ -9,17 +9,11 @@ const headerStyle = { const Header = () => ( ) diff --git a/components/navbar.js b/components/navbar.js old mode 100644 new mode 100755 index 53d409c..ae7c544 --- a/components/navbar.js +++ b/components/navbar.js @@ -11,21 +11,21 @@ const NavBar = (props, sections) => { const toggle = () => setIsOpen(prevState => !prevState); return ( - + -