Links added.
This commit is contained in:
parent
4afa6c3476
commit
d06085dc6b
@ -14,7 +14,7 @@ const Header = () => {
|
|||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<Link href="/">
|
<Link href="/tasks">
|
||||||
<a><FontAwesomeIcon icon={faTasks} /> Zadania</a>
|
<a><FontAwesomeIcon icon={faTasks} /> Zadania</a>
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import Link from 'next/link';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||||
import { faTasks, faCloud } from '@fortawesome/free-solid-svg-icons';
|
import { faTasks, faCloud } from '@fortawesome/free-solid-svg-icons';
|
||||||
|
|
||||||
@ -6,11 +7,15 @@ const RecentTask = () => {
|
|||||||
return (
|
return (
|
||||||
<div className="recent-task">
|
<div className="recent-task">
|
||||||
<span><FontAwesomeIcon icon={faTasks} /></span>
|
<span><FontAwesomeIcon icon={faTasks} /></span>
|
||||||
<span className="recent-task-description">
|
<Link href="/">
|
||||||
<span>Sortowanie bąbelkowe</span>
|
<span className="recent-task-description">
|
||||||
<span>Napisać algorytm sortowania bąbelkowego z implementacją…</span>
|
<span>Sortowanie bąbelkowe</span>
|
||||||
</span>
|
<span>Napisać algorytm sortowania bąbelkowego z implementacją…</span>
|
||||||
<span><FontAwesomeIcon icon={faCloud} /></span>
|
</span>
|
||||||
|
</Link>
|
||||||
|
<Link href="/new-solution-add">
|
||||||
|
<span><FontAwesomeIcon icon={faCloud} /></span>
|
||||||
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import Link from 'next/link';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||||
import { faLightbulb, faCommentAlt, faThumbsUp, faCloudUploadAlt, faPaperPlane } from '@fortawesome/free-solid-svg-icons';
|
import { faLightbulb, faCommentAlt, faThumbsUp, faCloudUploadAlt, faPaperPlane } from '@fortawesome/free-solid-svg-icons';
|
||||||
|
|
||||||
@ -41,8 +42,12 @@ const TaskDescription = () => {
|
|||||||
<div className="actions">
|
<div className="actions">
|
||||||
<span>Możliwe akcje</span>
|
<span>Możliwe akcje</span>
|
||||||
<span>
|
<span>
|
||||||
<FontAwesomeIcon icon={faCloudUploadAlt} />
|
<Link href="/new-solution-add">
|
||||||
<FontAwesomeIcon icon={faPaperPlane} />
|
<FontAwesomeIcon icon={faCloudUploadAlt} />
|
||||||
|
</Link>
|
||||||
|
<Link href="/new-solution-add">
|
||||||
|
<FontAwesomeIcon icon={faPaperPlane} />
|
||||||
|
</Link>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="task-description-details">
|
<div className="task-description-details">
|
||||||
|
76
style.css
76
style.css
@ -1,6 +1,14 @@
|
|||||||
:root {
|
:root {
|
||||||
--navbar-text-color: #B5BDFB;
|
--navbar-text-color: #B5BDFB;
|
||||||
--sidebar-border: 1px solid #E6EBF1;
|
--sidebar-border: 1px solid #E6EBF1;
|
||||||
|
--button-green: #39C3797E;
|
||||||
|
--button-green-hover: #39C379;
|
||||||
|
--button-purple: #ad14c4;
|
||||||
|
--button-purple-hover: #712aa3;
|
||||||
|
--button-orange: #EB9771 ;
|
||||||
|
--button-orange-hover: #FF7325;
|
||||||
|
--button-blue: #4457F3;
|
||||||
|
--button-blue-hover: #5D6CED;
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
@ -129,14 +137,23 @@ h1 {
|
|||||||
max-width: 300px;
|
max-width: 300px;
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
border-radius: 2%;
|
border-radius: 2%;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.developer-account {
|
.developer-account {
|
||||||
background-color: #4457F3;
|
background-color: var(--button-blue-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
.developer-account:hover {
|
||||||
|
background-color: var(--button-blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
.company-account {
|
.company-account {
|
||||||
background-color: #FF733F;
|
background-color: var(--button-orange);
|
||||||
|
}
|
||||||
|
|
||||||
|
.company-account:hover {
|
||||||
|
background-color: var(--button-orange-hover);
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-area span {
|
.login-area span {
|
||||||
@ -218,19 +235,19 @@ form button:first-of-type {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.login-button {
|
.login-button {
|
||||||
background-color: #39C3797E;
|
background-color: var(--button-green);
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-button:hover {
|
.login-button:hover {
|
||||||
background-color: #39C379;
|
background-color: var(--button-green-hover);
|
||||||
}
|
}
|
||||||
|
|
||||||
.enter-code-stage-button {
|
.enter-code-stage-button {
|
||||||
background-color: #9536d9;
|
background-color: var(--button-purple);
|
||||||
}
|
}
|
||||||
|
|
||||||
.enter-code-stage-button:hover {
|
.enter-code-stage-button:hover {
|
||||||
background-color: #712aa3;
|
background-color: var(--button-purple-hover);
|
||||||
}
|
}
|
||||||
|
|
||||||
form button:last-of-type {
|
form button:last-of-type {
|
||||||
@ -368,13 +385,18 @@ div.task-description {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.actions span:first-of-type {
|
.actions span:first-of-type {
|
||||||
background: #465DEF;
|
background: var(--button-blue);
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.actions svg {
|
.actions svg {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
color: #838DAC;
|
color: #838DAC;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.actions svg:hover {
|
||||||
|
color: var(--button-purple-hover);
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-description h2 {
|
.task-description h2 {
|
||||||
@ -452,11 +474,21 @@ div.task-description {
|
|||||||
.recent-task-description {
|
.recent-task-description {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.recent-task-description:hover {
|
||||||
|
color: var(--button-purple-hover);
|
||||||
}
|
}
|
||||||
|
|
||||||
.recent-task > span:last-of-type {
|
.recent-task > span:last-of-type {
|
||||||
align-self: center;
|
align-self: center;
|
||||||
color: #838EAB;
|
color: #838EAB;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.recent-task > span:last-of-type:hover {
|
||||||
|
color: var(--button-purple-hover);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* active task */
|
/* active task */
|
||||||
@ -509,7 +541,7 @@ div.task-description {
|
|||||||
.active-task > div:last-of-type span:last-of-type {
|
.active-task > div:last-of-type span:last-of-type {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
background: #4457F3;
|
background: var(--button-blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* active tasks */
|
/* active tasks */
|
||||||
@ -522,18 +554,18 @@ div.task-description {
|
|||||||
|
|
||||||
/* solution add */
|
/* solution add */
|
||||||
|
|
||||||
main.solution-add .task-description {
|
/* main.solution-add .task-description {
|
||||||
/* width: 90%; */
|
width: 90%;
|
||||||
/* height: 100%; */
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.solution-add-area {
|
div.solution-add-area {
|
||||||
/* display: flex; */
|
display: flex;
|
||||||
/* flex-direction: column; */
|
flex-direction: column;
|
||||||
/* justify-content: space-between; */
|
justify-content: space-between;
|
||||||
/* width: 100%; */
|
width: 100%;
|
||||||
/* height: 400px; */
|
height: 400px;
|
||||||
}
|
} */
|
||||||
|
|
||||||
.solution-add-message {
|
.solution-add-message {
|
||||||
margin: 2rem 4rem;
|
margin: 2rem 4rem;
|
||||||
@ -541,7 +573,7 @@ div.solution-add-area {
|
|||||||
|
|
||||||
.solution-add-message-top {
|
.solution-add-message-top {
|
||||||
display: flex;
|
display: flex;
|
||||||
background: #4457F3;
|
background: var(--button-blue);
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -576,7 +608,7 @@ div.solution-add-area {
|
|||||||
padding: .6rem;
|
padding: .6rem;
|
||||||
margin: 1.5rem;
|
margin: 1.5rem;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: #4457F3;
|
background: var(--button-blue);
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
@ -617,6 +649,10 @@ form.solution-add-area > div:last-of-type {
|
|||||||
|
|
||||||
form.solution-add-area > div:last-of-type button {
|
form.solution-add-area > div:last-of-type button {
|
||||||
margin: 1rem;
|
margin: 1rem;
|
||||||
background: #39C379;
|
background: var(--button-green);
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
form.solution-add-area > div:last-of-type button:hover {
|
||||||
|
background-color: var(--button-green-hover);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user