Skip to content

Commit e801d5f

Browse files
authored
Merge pull request #4562 from serlo/staging
Deployment
2 parents feefc60 + 860b4a7 commit e801d5f

File tree

205 files changed

+1130
-2776
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+1130
-2776
lines changed

.github/workflows/sync-to-gitlab.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Sync to GitLab
2+
on:
3+
push:
4+
branches:
5+
- staging
6+
- production
7+
8+
jobs:
9+
sync:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Sync to GitLab
13+
uses: kulla/sync-to-gitlab@v1
14+
with:
15+
owner: stephan_kulla
16+
repository_name: serlo-frontend
17+
token: ${{ secrets.GITLAB_TOKEN }}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

apps/web/package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
"show-unused-exports": "ts-unused-exports tsconfig.json --excludePathsFromReport=src/pages/ --excludePathsFromReport=src/fetcher/graphql-types/operations.ts --allowUnusedTypes",
2727
"start": "next start"
2828
},
29-
"resolutions": {
30-
"@serlo/katex-styles": "1.0.1"
31-
},
3229
"dependencies": {
3330
"@cortex-js/compute-engine": "^0.22.0",
3431
"@fortawesome/fontawesome-svg-core": "6.7.2",
@@ -45,7 +42,6 @@
4542
"@radix-ui/react-navigation-menu": "^1.2.1",
4643
"@serlo/authorization": "^0.60.0",
4744
"@serlo/editor": "workspace:*",
48-
"@serlo/katex-styles": "1.0.1",
4945
"@tippyjs/react": "^4.2.6",
5046
"@vidstack/react": "next",
5147
"array-move": "^4.0.0",
@@ -62,7 +58,6 @@
6258
"isomorphic-dompurify": "^2.22.0",
6359
"js-cookie": "^3.0.5",
6460
"json-diff": "^1.0.6",
65-
"katex": "^0.16.21",
6661
"mathjs": "^13.2.2",
6762
"mathlive": "^0.104.0",
6863
"next": "^14.2.26",
@@ -102,7 +97,6 @@
10297
"@types/iframe-resizer": "^3.5.13",
10398
"@types/js-cookie": "^3.0.6",
10499
"@types/json-diff": "^1.0.3",
105-
"@types/katex": "^0.16.7",
106100
"@types/node": "^20.17.6",
107101
"@types/nprogress": "^0.2.3",
108102
"@types/qrcode.react": "^1.0.5",
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

apps/web/src/assets-webkit/fonts/katex/katex.css

Lines changed: 0 additions & 199 deletions
This file was deleted.

apps/web/src/assets-webkit/fonts/katex/readme.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

apps/web/src/assets-webkit/styles/serlo-tailwind.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
@import 'tailwindcss/base';
33
@import 'tailwindcss/components';
44

5-
@import '../../../../../packages/editor/src/tailwind/components.css';
6-
@import '../../../../../packages/editor/src/tailwind/utilities.css';
5+
@import '../../../../../packages/editor/src/assets/tailwind/components.css';
6+
@import '../../../../../packages/editor/src/assets/tailwind/utilities.css';
77
@import './components.css';
88

99
@import 'tailwindcss/utilities';

apps/web/src/components/entity/entity-base.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { Breadcrumbs } from '../navigation/breadcrumbs'
1111
import { MaxWidthDiv } from '../navigation/max-width-div'
1212
import { SecondaryMenu } from '../navigation/secondary-menu'
1313
import { NewsletterPopup } from '../scripts/newsletter-popup'
14-
import type { DonationsBannerProps } from '@/components/content/donations-banner-experiment/donations-banner'
1514
import {
1615
type EntityPageBase,
1716
type SingleEntityPage,
@@ -31,12 +30,6 @@ const CommentAreaEntity = dynamic<CommentAreaEntityProps>(() =>
3130
)
3231
)
3332

34-
const DonationsBanner = dynamic<DonationsBannerProps>(() =>
35-
import(
36-
'@/components/content/donations-banner-experiment/donations-banner'
37-
).then((mod) => mod.DonationsBanner)
38-
)
39-
4033
export function EntityBase({ children, page, entityId }: EntityBaseProps) {
4134
const noComments =
4235
page.kind === 'single-entity' &&
@@ -70,11 +63,6 @@ export function EntityBase({ children, page, entityId }: EntityBaseProps) {
7063
/>
7164
<main id="content">{children}</main>
7265

73-
{/* Temporary donations banner trial */}
74-
{page.kind === 'single-entity' ? (
75-
<DonationsBanner id={entityId} entityData={page.entityData} />
76-
) : null}
77-
7866
<div id="comment-area-begin-scrollpoint" />
7967
{!noComments && (
8068
<>

apps/web/src/components/equations-app/equation-task.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,13 +401,13 @@ export function EquationTask({ data, onSolve, onBack }: EquationTaskProps) {
401401
<div className="mx-auto max-w-[1024px]">
402402
<div className="flex justify-center">
403403
{renderButton(
404-
<span style={{ fontFamily: 'KaTeX_Main' }} className="italic">
404+
<span style={{ fontFamily: 'Fira Math' }} className="italic">
405405
x
406406
</span>,
407407
['insert', 'x']
408408
)}
409409
{renderButton(
410-
<span style={{ fontFamily: 'KaTeX_Main' }} className="italic">
410+
<span style={{ fontFamily: 'Fira Math' }} className="italic">
411411
y
412412
</span>,
413413
['insert', 'y']
@@ -431,13 +431,13 @@ export function EquationTask({ data, onSolve, onBack }: EquationTaskProps) {
431431
</div>
432432
<div className="flex justify-center">
433433
{renderButton(
434-
<span style={{ fontFamily: 'KaTeX_Main' }} className="italic">
434+
<span style={{ fontFamily: 'Fira Math' }} className="italic">
435435
a
436436
</span>,
437437
['insert', 'a']
438438
)}
439439
{renderButton(
440-
<span style={{ fontFamily: 'KaTeX_Main' }} className="italic">
440+
<span style={{ fontFamily: 'Fira Math' }} className="italic">
441441
b
442442
</span>,
443443
['insert', 'b']

apps/web/src/components/landing/rework/footer-nav-new.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ export function FooterNavNew() {
2626
>
2727
Mitmachen
2828
</Link>
29-
<Link
29+
{/* <Link
3030
className="serlo-new-landing-button !text-white md:mx-0"
3131
href="/spenden"
3232
>
3333
Spenden
34-
</Link>
34+
</Link> */}
3535
</div>
3636
</div>
3737
<Separator className="md:hidden" />

apps/web/src/components/navigation/footer.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
} from '@fortawesome/free-solid-svg-icons'
55

66
import { FaIcon } from '../fa-icon'
7-
import DonateIcon from '@/assets-webkit/img/footer-donate.svg'
87
import ParticipateIcon from '@/assets-webkit/img/footer-participate.svg'
98
import { Link } from '@/components/content/link'
109
import { FooterNav } from '@/components/navigation/footer-nav'
@@ -64,15 +63,15 @@ function About() {
6463
{strings.footer.participate}
6564
</div>
6665
</Link>
67-
<Link
66+
{/* <Link
6867
href={footerData.donationHref}
6968
className="group flex flex-col items-center hover:no-underline"
7069
>
7170
<DonateIcon className="w-14" />
7271
<div className="serlo-button-learner mt-2 py-0.5 text-white hover:bg-brand group-hover:bg-brand">
7372
{strings.footer.donate}
7473
</div>
75-
</Link>
74+
</Link> */}
7675
</div>
7776
</div>
7877
</div>

0 commit comments

Comments
 (0)