Skip to content

Commit

Permalink
update classes in more templates
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed May 9, 2023
1 parent c5bf981 commit 87e80bc
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion code/frameworks/nextjs/template/cli/js/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import './header.css';

export const Header = ({ user, onLogin, onLogout, onCreateAccount }) => (
<header>
<div className="wrapper">
<div className="storybook-header">
<div>
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fillRule="evenodd">
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/nextjs/template/cli/js/Page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const Page = () => {
onLogout={() => setUser(undefined)}
onCreateAccount={() => setUser({ name: 'Jane Doe' })}
/>
<section class="storybook-page">
<section className="storybook-page">
<h2>Pages in Storybook</h2>
<p>
We recommend building UIs with a{' '}
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/nextjs/template/cli/ts-3-8/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface HeaderProps {

export const Header = ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => (
<header>
<div className="wrapper">
<div className="storybook-header">
<div>
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fillRule="evenodd">
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/nextjs/template/cli/ts-3-8/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Page: React.FC = () => {
onCreateAccount={() => setUser({ name: 'Jane Doe' })}
/>

<section>
<section className="storybook-page">
<h2>Pages in Storybook</h2>
<p>
We recommend building UIs with a{' '}
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/nextjs/template/cli/ts/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface HeaderProps {

export const Header = ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => (
<header>
<div className="wrapper">
<div className="storybook-header">
<div>
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fillRule="evenodd">
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/nextjs/template/cli/ts/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Page: React.FC = () => {
onCreateAccount={() => setUser({ name: 'Jane Doe' })}
/>

<section>
<section className="storybook-page">
<h2>Pages in Storybook</h2>
<p>
We recommend building UIs with a{' '}
Expand Down
2 changes: 1 addition & 1 deletion code/renderers/html/template/cli/ts-4-9/Header.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const createHeader = ({ user, onLogout, onLogin, onCreateAccount }: Heade
const header = document.createElement('header');

const wrapper = document.createElement('div');
wrapper.className = 'wrapper';
wrapper.className = 'storybook-header';

const logo = `<div>
<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
Expand Down
2 changes: 1 addition & 1 deletion code/renderers/html/template/cli/ts-4-9/Page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const createPage = () => {
article.appendChild(header);

const section = `
<section>
<section class="storybook-page">
<h2>Pages in Storybook</h2>
<p>
We recommend building UIs with a
Expand Down
2 changes: 1 addition & 1 deletion code/renderers/web-components/template/cli/js/Page.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const Page = ({ user, onLogin, onLogout, onCreateAccount }) => html`
onCreateAccount,
})}
<section className="storybook-page">
<section class="storybook-page">
<h2>Pages in Storybook</h2>
<p>
We recommend building UIs with a
Expand Down

0 comments on commit 87e80bc

Please sign in to comment.