From f19a885a81a4bed7fc857e18ba2ed989e8d48cb7 Mon Sep 17 00:00:00 2001 From: David Marom Date: Sat, 16 Jul 2022 07:52:41 +0300 Subject: [PATCH 1/2] 71-first-commit-to-branch --- components/layout/navbar/navbar.tsx | 36 +++++++++++++++++++++-------- pages/videos.tsx | 20 ++++++++++++++++ styles/Videos.module.scss | 15 ++++++++++++ 3 files changed, 62 insertions(+), 9 deletions(-) create mode 100644 pages/videos.tsx create mode 100644 styles/Videos.module.scss diff --git a/components/layout/navbar/navbar.tsx b/components/layout/navbar/navbar.tsx index b3051d3..ff64eb0 100644 --- a/components/layout/navbar/navbar.tsx +++ b/components/layout/navbar/navbar.tsx @@ -1,7 +1,7 @@ import Link from 'next/link'; import Img from 'next/image'; import { useMediaQuery } from 'react-responsive'; -import { mdiGithub } from '@mdi/js'; +import { mdiGithub, mdiAudioVideo } from '@mdi/js'; import Icon from '@mdi/react'; import { useTheme } from 'next-themes'; import BasicButton from '../../buttons/basicButton'; @@ -75,17 +75,35 @@ const Navbar = ({ DesHeight }) => { )} + {!isMobile && } - - - {addMeTranslate}{' '} - + + + + + {addMeTranslate}{' '} + + - + + + + + + Videos{' '} + + + + + diff --git a/pages/videos.tsx b/pages/videos.tsx new file mode 100644 index 0000000..9eb1b60 --- /dev/null +++ b/pages/videos.tsx @@ -0,0 +1,20 @@ +import React from 'react'; +import { AppProps } from 'next/dist/shared/lib/router/router'; +import Layout from '../components/layout/layout'; +import styles from '../styles/Videos.module.scss'; +import Head from 'next/head'; + +export default function videos({ Component, pageProps }: AppProps) { + const description = <>הרצאות של חברי פול-ריקוסט; + + return ( + <> + + Videos + + +
+
+ + ); +} diff --git a/styles/Videos.module.scss b/styles/Videos.module.scss new file mode 100644 index 0000000..4565028 --- /dev/null +++ b/styles/Videos.module.scss @@ -0,0 +1,15 @@ +@import "media"; + +.container { + width: 80%; +} + +@media screen and (max-width: 600px) { + .container { + width: 100%; + + .cards__wrapper { + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + } + } +} From 48c5e8a2746961c8a8b2e6d2c4cfb6d8f3f64b4b Mon Sep 17 00:00:00 2001 From: David Marom Date: Sat, 16 Jul 2022 20:43:22 +0300 Subject: [PATCH 2/2] 71 - fix ci cd errors --- components/layout/navbar/navbar.tsx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/components/layout/navbar/navbar.tsx b/components/layout/navbar/navbar.tsx index ff64eb0..29301c5 100644 --- a/components/layout/navbar/navbar.tsx +++ b/components/layout/navbar/navbar.tsx @@ -78,11 +78,8 @@ const Navbar = ({ DesHeight }) => { {!isMobile && } - -
+ + {addMeTranslate}{' '} @@ -90,8 +87,8 @@ const Navbar = ({ DesHeight }) => { - - + + Videos{' '}