mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 23:57:55 -05:00
Merge pull request #6662 from kchadha/conference-page-date-updates
Update date and time for conference and padding around 'stay tuned'
This commit is contained in:
commit
8cf70efe8e
2 changed files with 12 additions and 9 deletions
|
@ -10,6 +10,13 @@ const TitleBanner = require('../../../../components/title-banner/title-banner.js
|
||||||
require('../../../../components/forms/button.scss');
|
require('../../../../components/forms/button.scss');
|
||||||
require('./index.scss');
|
require('./index.scss');
|
||||||
|
|
||||||
|
const conferenceDate = (<FormattedDate
|
||||||
|
day="2-digit"
|
||||||
|
month="long"
|
||||||
|
value={new Date(2022, 6, 21)}
|
||||||
|
year="numeric"
|
||||||
|
/>);
|
||||||
|
|
||||||
const ConferenceSplash = () => (
|
const ConferenceSplash = () => (
|
||||||
<div className="index mod-2022">
|
<div className="index mod-2022">
|
||||||
<TitleBanner className="mod-conference mod-2022">
|
<TitleBanner className="mod-conference mod-2022">
|
||||||
|
@ -20,7 +27,7 @@ const ConferenceSplash = () => (
|
||||||
</center>
|
</center>
|
||||||
</h1>
|
</h1>
|
||||||
<h3 className="title-banner-h3 mod-2022">
|
<h3 className="title-banner-h3 mod-2022">
|
||||||
<FormattedMessage id="conference-2022.dateDesc" />
|
{conferenceDate}
|
||||||
</h3>
|
</h3>
|
||||||
</TitleBanner>
|
</TitleBanner>
|
||||||
<div className="inner">
|
<div className="inner">
|
||||||
|
@ -44,12 +51,8 @@ const ConferenceSplash = () => (
|
||||||
</td>
|
</td>
|
||||||
<td><FormattedMessage id="conference-2022.date" /></td>
|
<td><FormattedMessage id="conference-2022.date" /></td>
|
||||||
<td>
|
<td>
|
||||||
<FormattedDate
|
{conferenceDate}{' '}
|
||||||
day="2-digit"
|
<FormattedMessage id="conference-2022.eventTime" />
|
||||||
month="long"
|
|
||||||
value={new Date(2022, 6, 22)}
|
|
||||||
year="numeric"
|
|
||||||
/>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr className="conf2022-panel-row">
|
<tr className="conf2022-panel-row">
|
||||||
|
@ -65,6 +68,7 @@ const ConferenceSplash = () => (
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<br />
|
||||||
<center>
|
<center>
|
||||||
<FormattedMessage id="conference-2022.register" />
|
<FormattedMessage id="conference-2022.register" />
|
||||||
</center>
|
</center>
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
{
|
{
|
||||||
"conference-2022.title": "Scratch Conference 2022",
|
"conference-2022.title": "Scratch Conference 2022",
|
||||||
"conference-2022.subtitle": "An Online Conference",
|
|
||||||
"conference-2022.dateDesc": "July 21, 2022",
|
|
||||||
"conference-2022.locationDetails": "Online",
|
"conference-2022.locationDetails": "Online",
|
||||||
|
|
||||||
"conference-2022.date": "When:",
|
"conference-2022.date": "When:",
|
||||||
"conference-2022.location": "Where:",
|
"conference-2022.location": "Where:",
|
||||||
|
"conference-2022.eventTime": "10 AM - 4 PM ET",
|
||||||
|
|
||||||
"conference-2022.desc1": "Join us for Scratch Conference 2022, an online gathering for educators interested in creative learning with Scratch! This year's theme will be \"What will you create?\"",
|
"conference-2022.desc1": "Join us for Scratch Conference 2022, an online gathering for educators interested in creative learning with Scratch! This year's theme will be \"What will you create?\"",
|
||||||
"conference-2022.desc1a": "Although we are not able to meet in person this year, we are excited to find ways to connect and share with others in the global Scratch educator community.",
|
"conference-2022.desc1a": "Although we are not able to meet in person this year, we are excited to find ways to connect and share with others in the global Scratch educator community.",
|
||||||
|
|
Loading…
Reference in a new issue