Herping the derp
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
const Loading = () => (
|
||||
<div>Грузится бля!</div>
|
||||
<div>Загрузка...</div>
|
||||
);
|
||||
|
||||
export default Loading;
|
@@ -1,3 +0,0 @@
|
||||
.ProjectLinkBadge
|
||||
&:not(:last-child)
|
||||
margin-right: 8px
|
5
src/ui/ProjectBadge/ProjectLinkBadge.scss
Normal file
5
src/ui/ProjectBadge/ProjectLinkBadge.scss
Normal file
@@ -0,0 +1,5 @@
|
||||
.ProjectLinkBadge {
|
||||
&:not(:last-child) {
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
@@ -1,4 +1,4 @@
|
||||
import './ProjectLinkBadge.sass';
|
||||
import './ProjectLinkBadge.scss';
|
||||
|
||||
type Props = {
|
||||
linkImage: ProjectLink
|
||||
|
@@ -1,3 +0,0 @@
|
||||
.ProjectStackBadge
|
||||
&:not(:last-child)
|
||||
margin-right: 8px
|
5
src/ui/ProjectBadge/ProjectStackBadge.scss
Normal file
5
src/ui/ProjectBadge/ProjectStackBadge.scss
Normal file
@@ -0,0 +1,5 @@
|
||||
.ProjectStackBadge {
|
||||
&:not(:last-child) {
|
||||
margin-right: 8px
|
||||
}
|
||||
}
|
@@ -1,4 +1,4 @@
|
||||
import './ProjectStackBadge.sass';
|
||||
import './ProjectStackBadge.scss';
|
||||
|
||||
type Props = {
|
||||
stack: ProjectStack
|
||||
|
@@ -1,17 +0,0 @@
|
||||
.ProjectStatus
|
||||
font-size: 16px
|
||||
font-weight: 300
|
||||
height: fit-content
|
||||
padding: 2px 6px
|
||||
|
||||
&__Development
|
||||
background-color: #ff9c1b
|
||||
|
||||
&__Release
|
||||
background-color: #ab1bff
|
||||
|
||||
&__Freeze
|
||||
background-color: #19b3a6
|
||||
|
||||
&__Dropped
|
||||
background-color: #ff1b1b
|
19
src/ui/ProjectBadge/ProjectStatusBadge.scss
Normal file
19
src/ui/ProjectBadge/ProjectStatusBadge.scss
Normal file
@@ -0,0 +1,19 @@
|
||||
.ProjectStatus {
|
||||
font-size: 16px;
|
||||
font-weight: 300;
|
||||
height: fit-content;
|
||||
padding: 2px 6px;
|
||||
|
||||
&__Development {
|
||||
background-color: #ff9c1b;
|
||||
}
|
||||
&__Release {
|
||||
background-color: #ab1bff;
|
||||
}
|
||||
&__Freeze {
|
||||
background-color: #19b3a6;
|
||||
}
|
||||
&__Dropped {
|
||||
background-color: #ff1b1b;
|
||||
}
|
||||
}
|
@@ -1,5 +1,5 @@
|
||||
import { capitalize } from "../../utils";
|
||||
import './ProjectStatusBadge.sass';
|
||||
import './ProjectStatusBadge.scss';
|
||||
|
||||
type Props = {
|
||||
status: ProjectStatus
|
||||
|
@@ -1,23 +0,0 @@
|
||||
.ProjectCard
|
||||
background-color: #333
|
||||
padding: 8px
|
||||
margin: 0 8px 8px 0
|
||||
box-sizing: border-box
|
||||
border: 2px solid var(--accent-color)
|
||||
|
||||
&__Title
|
||||
display: flex
|
||||
justify-content: space-between
|
||||
margin-bottom: 4px
|
||||
|
||||
&__Content, &__Links, &__Stack
|
||||
border-top: 1px solid #d8858d
|
||||
padding-top: 4px
|
||||
|
||||
&__Content, &__Stack
|
||||
margin-bottom: 4px
|
||||
|
||||
&__Links
|
||||
font-weight: 500
|
||||
&_Link:not(:first-child)
|
||||
margin-left: 4px
|
30
src/ui/ProjectCard/ProjectCard.scss
Normal file
30
src/ui/ProjectCard/ProjectCard.scss
Normal file
@@ -0,0 +1,30 @@
|
||||
.ProjectCard {
|
||||
background-color: #333;
|
||||
padding: 8px;
|
||||
box-sizing: border-box;
|
||||
border: 2px solid var(--accent-color);
|
||||
margin-bottom: 8px;
|
||||
|
||||
&__Title {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
&__Content, &__Links, &__Stack {
|
||||
border-top: 1px solid #d8858d;
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
&__Content, &__Stack {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
&__Links {
|
||||
font-weight: 500;
|
||||
|
||||
&_Link:not(:first-child) {
|
||||
margin-left: 4px;
|
||||
}
|
||||
}
|
||||
}
|
@@ -2,7 +2,7 @@ import React from "react";
|
||||
import ProjectLinkBadge from "../ProjectBadge/ProjectLinkBadge";
|
||||
import ProjectStackBadge from "../ProjectBadge/ProjectStackBadge";
|
||||
import ProjectStatusBadge from "../ProjectBadge/ProjectStatusBadge";
|
||||
import './ProjectCard.sass';
|
||||
import './ProjectCard.scss';
|
||||
|
||||
type Props = {
|
||||
title: string
|
||||
|
Reference in New Issue
Block a user