Skip to content

Commit

Permalink
Merge pull request #3996 from serlo/editor-page-rework
Browse files Browse the repository at this point in the history
feat: editor page rework with videos and editable examples
  • Loading branch information
elbotho authored Jul 29, 2024
2 parents a19b56d + 7f9c157 commit 2f95d76
Show file tree
Hide file tree
Showing 34 changed files with 259 additions and 105 deletions.
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.
2 changes: 1 addition & 1 deletion apps/web/src/components/pages/editor/editor-features.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const features = [
description: 'What authors see looks just like what learners see',
},
{
title: '17+ Content Elements',
title: '17+ Features',
icon: faCubesStacked,
description: 'Including many especially designed for supporting education',
},
Expand Down
43 changes: 24 additions & 19 deletions apps/web/src/components/pages/editor/editor-presentation.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { editorRenderers } from '@editor/plugin/helpers/editor-renderer'
import { EditorPluginType } from '@editor/types/editor-plugin-type'
import dynamic from 'next/dynamic'

import { EditorContact } from './editor-contact'
import { EditorFeatures } from './editor-features'
import { EditorPartnerList, partners } from './editor-partner-list'
import { EditorRoadmap } from './editor-roadmap'
import { EditorTeam, teamDataVicky } from './editor-team'
import { EducationPlugins } from './education-plugins'
import { Lazy } from '@/components/content/lazy'
import { Link } from '@/components/content/link'
import { HeadTags } from '@/components/head-tags'
import { Logo } from '@/components/navigation/header/logo'
Expand All @@ -15,6 +16,9 @@ import { cn } from '@/helper/cn'
import { createRenderers } from '@/serlo-editor-integration/create-renderers'
import { VideoSerloStaticRenderer } from '@/serlo-editor-integration/serlo-plugin-wrappers/video-serlo-static-renderer'

const EducationPlugins = dynamic(() =>
import('./education-plugins').then((mod) => mod.EducationPlugins)
)
const h2Class =
'text-center text-4xl leading-cozy tracking-tight font-extrabold'
const h3Class = 'text-gray-700 text-[1.3rem] font-extrabold'
Expand All @@ -39,7 +43,7 @@ export function EditorPresentation() {
md:text-left
`)}
>
<section className="mt-32 px-4 text-center font-bold">
<section className="mt-20 px-4 text-center font-bold">
<h1
className={cn(`
mx-auto mt-3
Expand Down Expand Up @@ -74,9 +78,9 @@ export function EditorPresentation() {
<b className="tracking-tight">open source and free of charge</b>
.
</p>
<p className="mt-8 text-center md:text-left">
{/* <p className="mt-8 text-center md:text-left">
{renderStayInTouch()}
</p>
</p> */}
</div>
<div className="-mx-side mt-8 pl-2 sm:max-w-[32rem] sm:flex-1">
<VideoSerloStaticRenderer
Expand All @@ -90,18 +94,6 @@ export function EditorPresentation() {
</div>
</section>

<section className="mb-20 mt-12 bg-orangeBow bg-100% px-4 !pt-20 pb-20">
<div className="mx-auto max-w-7xl">
<EditorFeatures />
</div>
</section>

<section className="-mb-6 px-4">
<div className="mx-auto mb-28 max-w-7xl">
<EducationPlugins />
</div>
</section>

<section className="mb-20 mt-0 bg-orangeBow bg-100% px-2 !pt-16">
<div className="mx-auto mt-2 max-w-4xl px-4 pb-16 text-center text-xl sm:flex">
<div className="mt-5 flex-1">
Expand All @@ -110,7 +102,7 @@ export function EditorPresentation() {
Educational resources have been created with the Serlo Editor
</div>
<div className="mt-5 flex-1">
<b className="font-handwritten text-4xl text-brand">~1 Mio</b>
<b className="font-handwritten text-4xl text-brand">750 000+</b>
<br />
Students and teachers per month use Serlo Editor content
</div>
Expand All @@ -123,6 +115,20 @@ export function EditorPresentation() {
</div>
</section>

<section className="-mb-6 px-4">
<div className="mx-auto mb-28 max-w-7xl">
<Lazy>
<EducationPlugins />
</Lazy>
</div>
</section>

<section className="mb-20 mt-12 bg-orangeBow bg-100% px-4 !pt-20 pb-20">
<div className="mx-auto max-w-7xl">
<EditorFeatures />
</div>
</section>

<section id="roadmap" className={cn('mt-24 pb-16')}>
<div className="mx-auto max-w-4xl text-center text-3xl leading-cozy">
<h2 className={cn(h2Class, 'mb-4')}>Roadmap</h2>
Expand All @@ -140,8 +146,7 @@ export function EditorPresentation() {
Those might include:
</p>
<ul className="serlo-ul text-xl">
<li>JavaScript library</li>
<li>Docker container</li>
<li>JavaScript/Typescript over NPM library</li>
<li>Plugins for the most popular LMS (Moodle & Edu-Sharing)</li>
<li>Software as a service</li>
</ul>
Expand Down
11 changes: 9 additions & 2 deletions apps/web/src/components/pages/editor/editor-roadmap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const roadmapData = [
{
title: 'Latest Releases',
steps: [
'Improve Image plugin, easier uploads',
'Fill-in-the-gap exercise (new plugin)',
'Drag & Drop image exercise (fill-in-the-blanks)',
'Exercise generation with AI ✨',
'Copy & Paste content across plugins',
'Web Component release',
Expand All @@ -13,14 +15,16 @@ const roadmapData = [
{
title: 'Next up',
steps: [
'Improve Image plugin, easier uploads',
'Drag & Drop image exercise (fill-in-the-gap)',
'AI supported input exercises',
'Image Galleries',
'Easier exercise creation',
],
},
{
title: 'Soon',
steps: [
'Improved onboarding & help',
'Interactive Videos',
'Better keyboard navigation',
'Asset upload for Editor integrations',
],
Expand All @@ -30,6 +34,9 @@ const roadmapData = [
steps: [
'Better support for LMS integrations',
'Automated OER license management',
'Learning method library',
'Individual learning path creation',
'Slides',
],
},
]
Expand Down
Loading

0 comments on commit 2f95d76

Please sign in to comment.