Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cf2021
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vojtech.pikal
cf2021
Commits
bc2f3912
Commit
bc2f3912
authored
4 years ago
by
xaralis
Browse files
Options
Downloads
Patches
Plain Diff
feat: update to styleguide 2.0.1
parent
0705ba71
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.env
+1
-1
1 addition, 1 deletion
.env
src/config.js
+0
-3
0 additions, 3 deletions
src/config.js
src/containers/GlobalStats.jsx
+1
-1
1 addition, 1 deletion
src/containers/GlobalStats.jsx
src/pages/Home.jsx
+39
-39
39 additions, 39 deletions
src/pages/Home.jsx
with
41 additions
and
44 deletions
.env
+
1
−
1
View file @
bc2f3912
REACT_APP_STYLEGUIDE_URL=https://styleguide.pir-test.eu
REACT_APP_STYLEGUIDE_URL=https://styleguide.pir-test.eu
/2.0.1
REACT_APP_API_BASE_URL=https://cf2021.pir-test.eu/api
REACT_APP_MATOMO_ID=135
REACT_APP_SENTRY_DSN=https://aa80453ff4d54b9a9c1b49e79060498a@sentry.pir-test.eu/14
This diff is collapsed.
Click to expand it.
src/config.js
deleted
100644 → 0
+
0
−
3
View file @
0705ba71
export
default
{
styleguideUrl
:
"
https://styleguide.pir-test.eu/latest
"
,
};
This diff is collapsed.
Click to expand it.
src/containers/GlobalStats.jsx
+
1
−
1
View file @
bc2f3912
...
...
@@ -30,7 +30,7 @@ const GlobalStats = () => {
<
strong
>
{
onlineUsers
}
</
strong
>
<
span
>
online celkem
</
span
>
</
div
>
{
nextProgramEntry
&&
(
<
div
className
=
"flex-grow text-right hidden sm:block"
>
<
div
className
=
"flex-grow text-right hidden sm:block
lg:hidden xl:block
"
>
Následuje:
{
"
"
}
<
Link
to
=
"/program"
className
=
"font-bold"
>
{
nextProgramEntry
.
title
}
@
{
"
"
}
...
...
This diff is collapsed.
Click to expand it.
src/pages/Home.jsx
+
39
−
39
View file @
bc2f3912
...
...
@@ -155,52 +155,52 @@ const Home = () => {
return
(
<>
<
article
className
=
"container container--wide py-8 lg:py-24 cf2021"
>
<
section
className
=
"cf2021__video"
>
<
div
className
=
"flex justify-between mb-4 lg:mb-8"
>
<
h1
className
=
"head-alt-base lg:head-alt-lg"
>
Bod č.
{
programEntry
.
number
}
:
{
programEntry
.
title
}
</
h1
>
{
displayActions
&&
(
<
DropdownMenu
right
triggerSize
=
"lg"
className
=
"pl-4 pt-1 lg:pt-5"
>
<
div
className
=
"cf2021__title flex justify-between"
>
<
h1
className
=
"head-alt-base lg:head-alt-lg"
>
Bod č.
{
programEntry
.
number
}
:
{
programEntry
.
title
}
</
h1
>
{
displayActions
&&
(
<
DropdownMenu
right
triggerSize
=
"lg"
className
=
"pl-4 pt-1 lg:pt-5"
>
<
DropdownMenuItem
onClick
=
{
()
=>
setShowProgramEditModal
(
true
)
}
icon
=
"ico--pencil"
title
=
"Přejmenovat bod programu"
titleSize
=
"base"
iconSize
=
"base"
/>
{
programEntry
.
discussionOpened
&&
(
<
DropdownMenuItem
onClick
=
{
()
=>
setShow
ProgramEditModal
(
true
)
}
icon
=
"ico--
pencil
"
title
=
"
Přejmenovat bod prog
ra
m
u"
onClick
=
{
()
=>
setShow
CloseDiscussion
(
true
)
}
icon
=
"ico--
bubbles
"
title
=
"
Ukončit rozp
ra
v
u"
titleSize
=
"base"
iconSize
=
"base"
/>
{
programEntry
.
discussionOpened
&&
(
<
DropdownMenuItem
onClick
=
{
()
=>
setShowCloseDiscussion
(
true
)
}
icon
=
"ico--bubbles"
title
=
"Ukončit rozpravu"
titleSize
=
"base"
iconSize
=
"base"
/>
)
}
{
!
programEntry
.
discussionOpened
&&
(
<
DropdownMenuItem
onClick
=
{
()
=>
setShowOpenDiscussion
(
true
)
}
icon
=
"ico--bubbles"
title
=
"Otevřít rozpravu"
titleSize
=
"base"
iconSize
=
"base"
/>
)
}
)
}
{
!
programEntry
.
discussionOpened
&&
(
<
DropdownMenuItem
onClick
=
{
()
=>
setShow
EndProgramPoint
(
true
)
}
icon
=
"ico--
switch
"
title
=
"
Ukončit bod prog
ra
m
u"
onClick
=
{
()
=>
setShow
OpenDiscussion
(
true
)
}
icon
=
"ico--
bubbles
"
title
=
"
Otevřít rozp
ra
v
u"
titleSize
=
"base"
iconSize
=
"base"
/>
</
DropdownMenu
>
)
}
</
div
>
)
}
<
DropdownMenuItem
onClick
=
{
()
=>
setShowEndProgramPoint
(
true
)
}
icon
=
"ico--switch"
title
=
"Ukončit bod programu"
titleSize
=
"base"
iconSize
=
"base"
/>
</
DropdownMenu
>
)
}
</
div
>
<
section
className
=
"cf2021__video"
>
<
div
className
=
"container-padding--zero md:container-padding--auto"
>
{
streamUrl
&&
(
...
...
@@ -243,7 +243,7 @@ const Home = () => {
<
span
>
Příspěvky v rozpravě
</
span
>
{
!
programEntry
.
discussionOpened
&&
(
<
i
className
=
"ico--lock text-black ml-
1
opacity-50 hover:opacity-100 transition duration-500 text-xl"
className
=
"ico--lock text-black ml-
2
opacity-50 hover:opacity-100 transition duration-500 text-xl"
title
=
"Rozprava je uzavřena"
/>
)
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment