Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4 added fixes and new features #234

Merged
merged 56 commits into from
Feb 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
ad79d8f
added the Youtube API
VHromyk Dec 12, 2022
02561bd
remove one of the node
dev-smart-ui Dec 12, 2022
270d342
fix
dev-smart-ui Dec 12, 2022
7070e30
added a and b
dev-smart-ui Dec 12, 2022
ba2a316
added new nodes
dev-smart-ui Dec 12, 2022
592af0c
added data to MDX provider
dev-smart-ui Dec 13, 2022
8cd630b
link for youtube chanel
dev-smart-ui Dec 13, 2022
5ab3900
added the swiper to the videos page
dev-smart-ui Dec 14, 2022
651412a
slider
viktormoskalev07 Dec 14, 2022
df69c66
added button for the swiper
dev-smart-ui Dec 14, 2022
eb7ad3f
added the colections of video for tutorial page
dev-smart-ui Dec 15, 2022
bedcbae
addde slider buttons
dev-smart-ui Dec 15, 2022
76b3c11
added data for comunity page
dev-smart-ui Dec 15, 2022
fdb8882
update slides
viktormoskalev07 Dec 15, 2022
17e4243
Merge branch '1-added-videos-from-youtube-API' of github.com:dev-smar…
viktormoskalev07 Dec 15, 2022
d8a9d89
update slider
viktormoskalev07 Dec 15, 2022
a040189
rewrite node-config
dev-smart-ui Dec 15, 2022
1a42919
remove unused code
dev-smart-ui Dec 15, 2022
7d4f3e9
added lists for community
dev-smart-ui Dec 15, 2022
36fc180
fix bug
dev-smart-ui Dec 15, 2022
5498c66
remove unused packege
viktormoskalev07 Dec 15, 2022
35182c8
install axios
viktormoskalev07 Dec 15, 2022
0abd800
removed files and fix linter bugs
dev-smart-ui Dec 16, 2022
40191f2
added files to the env
dev-smart-ui Dec 16, 2022
bffa045
add dotenv
dev-smart-ui Dec 16, 2022
c4d10ac
added fix linter
dev-smart-ui Dec 16, 2022
fb0718b
triger rbuild
viktormoskalev07 Dec 16, 2022
f381d92
Merge branch 'main' into 1-added-videos-from-youtube-API
dennyglee Dec 16, 2022
ff67f84
resolve conflicts
dev-smart-ui Dec 29, 2022
9685c53
Merge branch 'delta-io:main' into main
dev-smart-ui Jan 6, 2023
66e09b6
update data
dev-smart-ui Jan 6, 2023
bc6b752
resolve conflicts
dev-smart-ui Feb 9, 2023
42a6a75
adedd descriptions for the playlists, positioned thumbnail on the cen…
dev-smart-ui Feb 9, 2023
7e5a02c
test thumbnail for linkedIn
dev-smart-ui Feb 9, 2023
cc2b24d
test seo
dev-smart-ui Feb 9, 2023
e6f039e
added hubspot script
dev-smart-ui Feb 9, 2023
4a86eeb
added the correct tracker for hubspot chat
dev-smart-ui Feb 9, 2023
ca663de
added the contributors profile
dev-smart-ui Feb 10, 2023
397c970
test-1
dev-smart-ui Feb 11, 2023
e85d7c8
fix
dev-smart-ui Feb 11, 2023
e70ddf4
test-2
dev-smart-ui Feb 11, 2023
754c8a2
resolve problem with thumbnail
dev-smart-ui Feb 11, 2023
50e9dfc
createt own youtube channel for test scheduled video
dev-smart-ui Feb 12, 2023
17aa75d
adedd changes
dev-smart-ui Feb 12, 2023
dd5c118
added logo
dev-smart-ui Feb 12, 2023
6369c84
added slider for personal references
dev-smart-ui Feb 13, 2023
84e5d26
added form.html as static file
dev-smart-ui Feb 13, 2023
c82b35d
removed the old form
dev-smart-ui Feb 13, 2023
a40818c
add modal for the references into the personal profile page
dev-smart-ui Feb 13, 2023
d4648f9
Merge branch '4.5-add-form-as-html-page' into 4-added-fixes-and-new-f…
dev-smart-ui Feb 13, 2023
f3747ee
check error on the community page when scheduled video was created
dev-smart-ui Feb 14, 2023
464a2e7
Merge branch '4-added-fixes-and-new-features' into 4-1-test-youtube-s…
dev-smart-ui Feb 14, 2023
3d57158
fix renge
dev-smart-ui Feb 14, 2023
0876706
added https protocol
dev-smart-ui Feb 14, 2023
3c48caa
remove the logo from the front page, added the right logo, increase t…
dev-smart-ui Feb 21, 2023
c4a5fbe
Merge branch 'main' into 4-added-fixes-and-new-features
dev-smart-ui Feb 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ const matchedArrByPlaylistId = (arr1, arr2) => {
};

const createListIdForEachSection = async () => {
const list = await getSectionLists();
const playlistsDividedBySection = await getSectionLists();

const arr = list
const arr = playlistsDividedBySection
?.filter((el) => el.contentDetails)
.map((item) => ({
type: item.snippet.type,
Expand All @@ -98,6 +98,7 @@ const createListIdForEachSection = async () => {
.filter((item) => item.sectionTitle === "Techniques and Tutorials")
.map((el) => el.playlists)
.flat();

const videosPlaylist = arr
.filter((el) => el.type === "singleplaylist")
.map((item) => item.playlists)
Expand All @@ -110,9 +111,20 @@ const createListIdForEachSection = async () => {
};

const dataForSeparatedSection = async (playListsAll, playlistType) => {
const promisesList = playlistType.map((playlistId) =>
videoListByPlayListId(playlistId)
);
// if we do not have dividing for section and do not have playlistType

let promisesList;

if (playlistType.length > 0) {
promisesList = playlistType.map((playlistId) =>
videoListByPlayListId(playlistId)
);
} else {
promisesList = playListsAll
.map((item) => item.playlistId)
.map((playlistId) => videoListByPlayListId(playlistId));
}

const [...data] = await Promise.all(promisesList);

const collectionVideos = data.map((item) => item.data.items);
Expand Down Expand Up @@ -147,6 +159,7 @@ const getVideoListPromise = async () => {
playListsAll,
playlistForSection.videosPlaylist
);

const tutorialsList = dataForSeparatedSection(
playListsAll,
playlistForSection.tutorialPlaylists
Expand Down
2 changes: 1 addition & 1 deletion src/blog/2022-12-13-sagemaker-emr-delta-lake/index.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Building a more efficient data infrastructure for machine learning with Open Source using Delta Lake, Amazon SageMaker, and EMR
description: In this blog, we’ll explore how connecting Delta Lake, Amazon SageMaker Studio, and Amazon EMR can simplify the end-to-end workflow required to support data engineering and data science projects.
thumbnail: ./image0.png
thumbnail: ./thumbnail.png
author: Vedant Jain, Denny Lee
---

Expand Down
Binary file not shown.
238 changes: 0 additions & 238 deletions src/blog/2023-01-03-delta-lake-vacuum-command/index.mdx

This file was deleted.

Binary file not shown.
16 changes: 16 additions & 0 deletions src/components/Logo.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { StaticImage } from "gatsby-plugin-image";
import * as React from "react";
import styled from "styled-components";

const LogoWrapper = styled.div`
margin: 0 auto 1.2rem;
width: 150px;
`;

const Logo = () => (
<LogoWrapper>
<StaticImage src="../images/delta-lake-logo.png" alt="logo" />
</LogoWrapper>
);

export default Logo;
31 changes: 16 additions & 15 deletions src/components/SEO.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,34 @@ const query = graphql`
`;

const SEO = (props) => {
const { title, description, thumbnailPath, pageIndex, children } = props;
const { title, description, thumbnailPath, pageIndex, children, slug } =
props;

const { site } = useStaticQuery(query);

const documentTitle = `${
pageIndex > 1 ? `${title} - Page ${pageIndex}` : title
} | ${site.siteMetadata.title}`;

const image = `${site.siteMetadata.siteUrl}${thumbnailPath}`;
const url = `${site.siteMetadata.siteUrl}${slug}`;

return (
<>
<title>{documentTitle}</title>
<meta name="name" content={documentTitle} />
<meta
name="image"
property="og:image"
content={`${site.siteMetadata.siteUrl}${thumbnailPath}`}
/>
{description && <meta name="description" content={description} />}
<meta name="description" content={description} />
<meta name="image" content={image} />
<meta property="og:title" content={title} />
{description && <meta property="og:description" content={description} />}
<meta name="og:type" property="website" />
<meta property="og:description" content={description} />
<meta name="image" property="og:image" content={image} />
<meta property="og:url" content={url} />
<meta name="og:type" property="article" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:creator" content={site.siteMetadata.twitter} />
<meta name="twitter:image" content={image} />
<meta name="twitter:url" content={url} />
<meta name="twitter:title" content={title} />
<meta
name="twitter:image"
content={`${site.siteMetadata.siteUrl}${thumbnailPath}`}
/>
{description && <meta name="twitter:description" content={description} />}
<meta name="twitter:description" content={description} />
{children}
</>
);
Expand All @@ -54,13 +53,15 @@ SEO.defaultProps = {
pageIndex: 0,
description: "",
thumbnailPath: undefined,
slug: "",
};

SEO.propTypes = {
title: string.isRequired,
description: string,
thumbnailPath: string,
pageIndex: number,
slug: string,
};

export default SEO;
Loading