To reflect the composition of the website with two distinct parts (those being `Main` and `Infos`) That way, it's much clearer what component belongs where
19 lines
363 B
TypeScript
19 lines
363 B
TypeScript
import React from "react";
|
|
import Info from "../Info.js";
|
|
import GitHub from "./GitHub.js";
|
|
import GitLab from "./GitLab.js";
|
|
|
|
export default function Coding() {
|
|
const github = <GitHub key={"github"}/>;
|
|
const gitlab = <GitLab key={"gitlab"}/>;
|
|
|
|
return (
|
|
<Info
|
|
type="Coding"
|
|
websites={[
|
|
github,
|
|
gitlab,
|
|
]}
|
|
/>
|
|
);
|
|
}
|