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

Feature/cgd 36 #5

Merged
merged 23 commits into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
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
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { frontend } from "./fixtures/TechStackCard";
import { frontend } from "./fixtures/TechStack";
import { Avatar } from "@/components";

interface TechStackCardProps {
title: string
title: string;
}

export default function TechStackCard({ title }: TechStackCardProps) {
Expand Down
16 changes: 16 additions & 0 deletions src/app/TechStack/components/TechStackContainer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { cards } from "./fixtures/TechStack";
import { TechStackCard } from ".";

export default function TechStackContainer() {
return (
<div className="card w-tech-card-container bg-primary p-10">
<ul className="grid grid-cols-3 gap-y-20">
{cards.map((element) => (
<li className="mx-auto" key={element}>
<TechStackCard title={element} />
</li>
))}
</ul>
</div>
);
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
export const cards = [
"Frontend",
"CSS Library",
"Backend",
"Project Management",
"Server-Side",
Dan-Y-Ko marked this conversation as resolved.
Show resolved Hide resolved
"Hoisting",
];

export const frontend = [
{ id: 1, value: "JavaScript", users: ["Tim", "John"] },
{ id: 2, value: "React", users: ["John"] },
Expand Down
2 changes: 2 additions & 0 deletions src/app/TechStack/components/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default as TechStackCard } from "./TechStackCard";
export { default as TechStackContainer } from "./TechStackContainer";
1 change: 0 additions & 1 deletion src/app/feature/components/index.ts

This file was deleted.

4 changes: 3 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ module.exports = {
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {},
extend: {width: {
'tech-card-container': '85.5625rem',
},},
},
plugins: [require("daisyui")],
};