integrate into git
continuous-integration/drone Build is passing

This commit is contained in:
2022-03-07 11:02:16 +01:00
parent e164316466
commit 2c4f05aebf
82 changed files with 63754 additions and 386 deletions
+42
View File
@@ -0,0 +1,42 @@
import React from "react";
import Head from "next/head";
import Image from "next/image";
import ProjectCard from "../ProjectCard";
import styles from "./GitGallery.module.sass";
export function GitGallery(props) {
var links = [];
props.publicGiteaRepos.forEach((repo) => {
links.push(
<ProjectCard
classNames={styles.card_gitea}
url={repo.html_url}
fullName={repo.full_name}
name={repo.name}
description={repo.description}
avatarUrl={repo.avatar_url}
/>
);
});
props.publicGithubRepos.forEach((repo) => {
links.push(
<ProjectCard
classNames={styles.card_github}
url={repo.html_url}
fullName={repo.full_name}
name={repo.name}
description={repo.description}
avatarUrl={repo.avatar_url}
/>
);
});
return (
<div className={styles.cardContainer}>
<h2>These are my public repositories:</h2>
{links}
</div>
);
}
@@ -0,0 +1,11 @@
.cardContainer
// border: 1px solid gray
width: 90vw
max-width: 1000px
display: flex
flex-wrap: wrap
justify-content: center
h2
width: 100%
text-align: center
+3
View File
@@ -0,0 +1,3 @@
import { GitGallery } from "./GitGallery";
export default GitGallery;