Skip to content

Commit

Permalink
Explanations intro
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmaguitar committed Aug 30, 2024
1 parent 89d6538 commit e401f21
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 15 deletions.
21 changes: 21 additions & 0 deletions _app/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,27 @@
</head>
<body>
<noscript>Habilita JavaScript para usares esta app.</noscript>
<div class="intro">
<p class="main">
Dynamic table of examples at
<a
href="https://github.com/WordPress/block-development-examples"
>
WordPress/block-development-examples
</a>
</p>
<p>
In <code>list</code> layout, click on any example to see its
demo (powered by
<a href="https://wordpress.org/playground/"
>WordPress Playground</a
>) on the right side
</p>
<p>
Filters applied by <code>tags</code> generate a unique link that
can be bookmarked or shared
</p>
</div>
<div id="root"></div>
</body>
</html>
12 changes: 0 additions & 12 deletions _app/src/HomePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,18 +205,6 @@ const Examples = () => {

return (
<>
<div className="intro">
<p>
Dynamic table of examples at
<a
href={
'https://github.com/WordPress/block-development-examples'
}
>
WordPress/block-development-examples
</a>
</p>
</div>
{ activeLayout === 'list' ? (
<div className="viewsContainer">
<div className="dataViewsContainer">
Expand Down
14 changes: 11 additions & 3 deletions _app/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,18 @@ body {

.intro {
padding: 0 50px;
font-weight: 700;

a {
margin: 0 5px;
.main {
font-weight: 700;

a {
margin: 0 5px;
}
}

code {
background-color: rgb(239, 235, 235);
padding: 2px;
}
}

Expand Down

0 comments on commit e401f21

Please sign in to comment.