Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit fd9c0c7

Browse files
feat: deprecated website (#1565)
1 parent c3d858b commit fd9c0c7

File tree

27 files changed

+13144
-18216
lines changed

27 files changed

+13144
-18216
lines changed

site/package-lock.json

Lines changed: 13112 additions & 17150 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -18,39 +18,39 @@
1818
"license": "AGPL-3.0-or-later",
1919
"dependencies": {
2020
"@deckdeckgo/charts": "^2.3.0",
21-
"@deckdeckgo/core": "^8.4.0",
22-
"@deckdeckgo/highlight-code": "^4.1.0",
21+
"@deckdeckgo/core": "^10.0.1",
22+
"@deckdeckgo/highlight-code": "^4.4.0",
2323
"@deckdeckgo/qrcode": "^2.1.0",
2424
"@deckdeckgo/slide-author": "^2.4.0",
2525
"@deckdeckgo/slide-poll": "^2.4.0",
2626
"@deckdeckgo/slide-split": "^2.4.0",
2727
"@deckdeckgo/slide-title": "^2.4.0",
28-
"@deckdeckgo/utils": "^2.0.1",
28+
"@deckdeckgo/utils": "^5.1.0",
2929
"@deckdeckgo/youtube": "^2.1.0",
30-
"@formatjs/intl-pluralrules": "^4.1.3",
31-
"gatsby": "^3.13.0",
30+
"@formatjs/intl-pluralrules": "^5.1.4",
31+
"gatsby": "^4.24.4",
3232
"gatsby-image": "^3.11.0",
3333
"gatsby-plugin-i18n": "^1.0.1",
34-
"gatsby-plugin-image": "^1.13.0",
35-
"gatsby-plugin-manifest": "^3.13.0",
36-
"gatsby-plugin-offline": "^4.13.0",
37-
"gatsby-plugin-react-helmet": "^4.13.0",
38-
"gatsby-plugin-robots-txt": "^1.6.10",
39-
"gatsby-plugin-sass": "^4.13.0",
40-
"gatsby-plugin-sharp": "^3.13.0",
41-
"gatsby-plugin-sitemap": "^4.9.0",
42-
"gatsby-source-filesystem": "^3.13.0",
43-
"gatsby-transformer-sharp": "^3.13.0",
44-
"node-sass": "^6.0.1",
45-
"react": "^17.0.2",
46-
"react-dom": "^17.0.2",
34+
"gatsby-plugin-image": "^2.24.0",
35+
"gatsby-plugin-manifest": "^4.24.0",
36+
"gatsby-plugin-offline": "^5.24.0",
37+
"gatsby-plugin-react-helmet": "^5.24.0",
38+
"gatsby-plugin-robots-txt": "^1.7.1",
39+
"gatsby-plugin-sass": "^5.24.0",
40+
"gatsby-plugin-sharp": "^4.24.0",
41+
"gatsby-plugin-sitemap": "^5.24.0",
42+
"gatsby-source-filesystem": "^4.24.0",
43+
"gatsby-transformer-sharp": "^4.24.0",
44+
"node-sass": "^7.0.3",
45+
"react": "^18.2.0",
46+
"react-dom": "^18.2.0",
4747
"react-helmet": "^6.1.0",
48-
"react-intl": "^5.20.10"
48+
"react-intl": "^6.2.0"
4949
},
5050
"devDependencies": {
51-
"dotenv": "^10.0.0",
51+
"dotenv": "^16.0.3",
5252
"node-fetch": "^2.6.7",
53-
"sass": "^1.39.0",
54-
"type-fest": "^0.21.3"
53+
"sass": "^1.55.0",
54+
"type-fest": "^3.1.0"
5555
}
5656
}

site/src/assets/i18n/index.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
"hero.deck.slide9.start.presentation": "Start a presentation",
1818
"hero.deck.nav.next": "Next feature",
1919
"hero.deck.nav.prev": "Previous feature",
20-
"hero.content.description.title": "DeckDeckGo is a web open source editor for presentations.",
21-
"hero.content.description.content": "It works on any devices (desktop, mobile or tablets), without any prior installation, and even makes your content editable in full screen mode.",
22-
"hero.content.description.comparison": "Unlike other presentation software, your slides are published as online applications, making them the fastest way to be shared.",
20+
"hero.content.description.title": "DeckDeckGo was a web open source editor for presentations.",
21+
"hero.content.description.content": "It used to work on any devices (desktop, mobile or tablets), without any prior installation, and even makes your content editable in full screen mode.",
22+
"hero.content.description.comparison": "Unlike other presentation software, your slides were published as online applications, making them the fastest way to be shared.",
2323
"hero.content.description.github": "Its source code is available on {githubLink}.",
2424
"hero.content.description.alt": "Demo of the editor",
2525
"hero.poll.description.title": "Live interactive audience participation",

site/src/components/core/footer/footer.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ import {Links} from '../links/links';
1010
export const Footer = ({action = true, lang}) => {
1111
return (
1212
<footer className={`${footer} ${action ? 'action' : ''}`}>
13-
{renderAction()}
14-
1513
<Links lang={lang} action={action}></Links>
1614
</footer>
1715
);

site/src/components/core/footer/footer.module.scss

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,5 @@
88

99
background: var(--color-light);
1010

11-
padding: 2.75rem 0 1.45rem;
12-
13-
&:global(.action) {
14-
padding: 5.75rem 0 1.45rem;
15-
}
11+
padding: 0.75rem 0;
1612
}

site/src/components/core/links/links.js

Lines changed: 0 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -8,94 +8,6 @@ import {links, sectionTitle, social} from './links.module.scss';
88
export const Links = ({lang, action, display = 'grid'}) => {
99
return (
1010
<div className={`${links} ${action ? 'action' : ''} ${display}`}>
11-
<section>
12-
{display === 'grid' ? <p className={sectionTitle}>DeckDeckGo</p> : undefined}
13-
14-
<Link to={`/${lang}/about`}>
15-
<FormattedMessage id="footer.link.about" />
16-
</Link>
17-
18-
<Link to={`/${lang}/team`}>
19-
<FormattedMessage id="footer.link.team" />
20-
</Link>
21-
22-
<Link to={`/${lang}/newsletter`}>
23-
<FormattedMessage id="footer.link.newsletter" />
24-
</Link>
25-
26-
<Link to={`/${lang}/contact`}>
27-
<FormattedMessage id="footer.link.contact" />
28-
</Link>
29-
30-
<Link to={`/${lang}/press`}>
31-
<FormattedMessage id="footer.link.press" />
32-
</Link>
33-
34-
<Link to={`/${lang}/faq`}>
35-
<FormattedMessage id="footer.link.faq" />
36-
</Link>
37-
</section>
38-
39-
{display === 'grid' ? (
40-
<section>
41-
<p className={sectionTitle}>
42-
<FormattedMessage id="footer.link.title.product" />
43-
</p>
44-
45-
<Link to={`/${lang}/features`}>
46-
<FormattedMessage id="footer.link.features" />
47-
</Link>
48-
49-
<Link to={`/${lang}/discover`}>
50-
<FormattedMessage id="footer.link.discover" />
51-
</Link>
52-
53-
<Link to={`/${lang}/pricing`}>
54-
<FormattedMessage id="footer.link.pricing" />
55-
</Link>
56-
57-
<Link to={`/${lang}/enterprise`}>
58-
<FormattedMessage id="footer.link.enterprise" />
59-
</Link>
60-
</section>
61-
) : undefined}
62-
63-
<section>
64-
{display === 'grid' ? (
65-
<p className={sectionTitle}>
66-
<FormattedMessage id="footer.link.title.developers" />
67-
</p>
68-
) : undefined}
69-
70-
<Link to={`/${lang}/opensource`}>
71-
<FormattedMessage id="footer.link.opensource" />
72-
</Link>
73-
74-
<Link to={`/${lang}/services`}>
75-
<FormattedMessage id="footer.link.services" />
76-
</Link>
77-
78-
<Link to={`/${lang}/developer`}>
79-
<FormattedMessage id="footer.link.developer" />
80-
</Link>
81-
</section>
82-
83-
<section>
84-
{display === 'grid' ? (
85-
<p className={sectionTitle}>
86-
<FormattedMessage id="footer.link.title.legal" />
87-
</p>
88-
) : undefined}
89-
90-
<Link to={`/terms`}>
91-
<FormattedMessage id="footer.link.terms" />
92-
</Link>
93-
94-
<Link to={`/privacy`}>
95-
<FormattedMessage id="footer.link.privacy" />
96-
</Link>
97-
</section>
98-
9911
<div className={social}>
10012
<a href="https://twitter.com/deckdeckgo" rel="noopener norefferer" aria-label="Twitter">
10113
<img
@@ -115,18 +27,6 @@ export const Links = ({lang, action, display = 'grid'}) => {
11527
style={{width: '2rem', padding: '0.45rem'}}
11628
/>
11729
</a>
118-
<a
119-
href="https://join.slack.com/t/deckdeckgo/shared_invite/enQtNzM0NjMwOTc3NTI0LTBlNmFhODNhYmRkMWUxZmU4ZTQ2MDJiNjlmYWZiODNjMDU5OGRjYThlZmZjMTc5YmQ3MzUzMDlhMzk0ZDgzMDY"
120-
rel="noopener noreferrer"
121-
aria-label="Slack">
122-
<img
123-
loading="lazy"
124-
src="/assets/icons/ionicons/slack.svg"
125-
aria-hidden="true"
126-
alt=""
127-
style={{width: '2rem', padding: '0.45rem'}}
128-
/>
129-
</a>
13030
</div>
13131
</div>
13232
);

site/src/components/core/links/links.module.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@
1717
max-width: 720px;
1818
}
1919

20-
&:global(.action) {
21-
margin: 5.75rem 0 0.25rem;
22-
}
23-
24-
@media (max-width: 768px) {
25-
margin: 2.25rem 0 0.25rem;
26-
}
27-
2820
:global(section) {
2921
width: inherit;
3022

site/src/components/core/navigation/navigation.js

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ const Navigation = ({data, fix, lang, navTheme}) => {
5050
return (
5151
<>
5252
<header className={`${header} ` + (fix ? `${fixStyle}` : scrolled ? `${fixStyle} animated` : '') + `${theme}`}>
53-
<Announcement></Announcement>
54-
5553
<nav className={nav}>
5654
<button className={menu} aria-label={intl.formatMessage({id: 'nav.menu'})} onClick={() => openMenu()}>
5755
<img
@@ -66,29 +64,8 @@ const Navigation = ({data, fix, lang, navTheme}) => {
6664
<div className={start}>
6765
{renderDeckDeckGo()}
6866

69-
<Link to={`/${lang}/features`}>
70-
<FormattedMessage id="nav.features" />
71-
</Link>
72-
73-
<Link to={`/${lang}/discover`}>
74-
<FormattedMessage id="nav.discover" />
75-
</Link>
76-
77-
<Link to={`/${lang}/pricing`}>
78-
<FormattedMessage id="nav.pricing" />
79-
</Link>
8067
</div>
8168

82-
<div className={end}>
83-
<a href="https://app.deckdeckgo.com/signin" rel="noopener noreferrer">
84-
<FormattedMessage id="nav.signin" />
85-
</a>
86-
87-
<LinkButton
88-
targetUrl="https://app.deckdeckgo.com"
89-
msgId="nav.write.presentation"
90-
color={(navTheme === 'features' || navTheme === 'pricing') && !scrolled ? 'light' : 'primary'}></LinkButton>
91-
</div>
9269
</nav>
9370
</header>
9471

site/src/components/landing/content/landing-content.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,6 @@ export const LandingContent = () => {
133133
{renderDescription()}
134134
</div>
135135
</section>
136-
137-
<LandingPoll />
138-
139-
<section>
140-
<div className={`${main} ${remote}`}>{renderRemote()}</div>
141-
</section>
142136
</>
143137
);
144138

site/src/components/landing/deck/landing-deck.js

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -76,26 +76,20 @@ export const LandingDeck = () => {
7676
'--color': 'var(--color-primary-contrast)'
7777
}}>
7878
<h2 slot="title" style={{fontSize: 'var(--font-size-h1)', lineHeight: 'var(--line-height-h1)'}}>
79-
<FormattedMessage id="hero.deck.slide1.title" />
79+
That was a title 😃
8080
</h2>
8181
<div slot="content">
8282
<div>
83-
<FormattedMessage id="hero.deck.slide1.content" />
83+
And a subtitle
8484
</div>
85-
86-
<LinkButton
87-
style={{marginTop: '1.25rem'}}
88-
targetUrl="https://app.deckdeckgo.com"
89-
msgId="hero.deck.slide1.get.started"
90-
color="light"></LinkButton>
9185
</div>
9286

9387
{renderSlideBackground()}
9488
</deckgo-slide-title>
9589

9690
<deckgo-slide-title>
9791
<h2 slot="title">
98-
<FormattedMessage id="hero.deck.slide2.title" />
92+
It used to work on all devices
9993
</h2>
10094
<div slot="content" style={{display: 'flex', justifyContent: 'center', alignItems: 'center', maxWidth: '100%'}}>
10195
<img data-src="/assets/img/landing/mobile-light.svg" aria-hidden="true" alt="" style={{width: '2rem', padding: '0.45rem'}} />
@@ -217,19 +211,8 @@ function Example() {
217211

218212
<deckgo-slide-title style={{'--background': 'var(--color-dark)', '--color': 'var(--color-dark-contrast)'}}>
219213
<h2 slot="title">
220-
<FormattedMessage id="hero.deck.slide9.title" />
214+
<FormattedMessage id="hero.deck.slide9.title" />.
221215
</h2>
222-
<div slot="content" style={{marginBottom: '48px'}}>
223-
<h3 style={{fontWeight: '300'}}>
224-
<FormattedMessage id="hero.deck.slide9.content" />
225-
</h3>
226-
227-
<LinkButton
228-
style={{marginTop: '1.25rem'}}
229-
targetUrl="https://app.deckdeckgo.com"
230-
msgId="hero.deck.slide9.start.presentation"
231-
color="light"></LinkButton>
232-
</div>
233216

234217
{renderSlideBackground()}
235218
</deckgo-slide-title>

0 commit comments

Comments
 (0)