Skip to content

Commit

Permalink
Merge pull request #56 from MikeCheek/dev
Browse files Browse the repository at this point in the history
Added program banner
  • Loading branch information
MikeCheek authored Jul 24, 2024
2 parents 3d2b428 + 86b5641 commit fc382bb
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
19 changes: 10 additions & 9 deletions src/components/atoms/Banner/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,17 @@
}
}

:nth-child(1) {
font-size: 60px;
margin: 10px 0;
@media screen and (min-width: '768px') {
font-size: 96px;
margin: initial;
}
}
// :nth-child(1) {
// font-size: 60px;
// margin: 10px 0;
// @media screen and (min-width: '768px') {
// font-size: 96px;
// margin: initial;
// }
// }

:nth-child(2) {
// :nth-child(2) {
:nth-child(1) {
font-size: 40px;
margin: 10px 0;
@media screen and (min-width: '768px') {
Expand Down
4 changes: 2 additions & 2 deletions src/components/atoms/Banner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { BannerProps } from './index.types';
const Index = ({ text }: BannerProps) => {
return (
<div className={styles.banner}>
<h2>ALT!</h2>
{/* <h2>ALT!</h2> */}
<h2>{text}</h2>
<Hand width={160} height={218} strokeWidth={10} />
{/* <Hand width={160} height={218} strokeWidth={10} /> */}
</div>
);
};
Expand Down
1 change: 0 additions & 1 deletion src/components/molecules/Program/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const Index = () => {
return (
<div className={styles.wrap}>
<Heading text="CRONOPROGRAMMA" showOnView={false} />
{/* <Banner text="IL PROGRAMMA NON È STATO RILASCIATO" /> */}
<p>
L'evento avrà luogo a Grottole (MT) presso <Link to="/#quando-e-dove">Bosco Coste</Link>.
</p>
Expand Down
3 changes: 3 additions & 0 deletions src/components/organisms/Guests/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Heading from '../../atoms/Heading';
import GuestCard from '../../atoms/GuestCard';
import { GatsbyImage } from 'gatsby-plugin-image';
import ImageTemp from '../../atoms/ImageTemp';
import Banner from '../../atoms/Banner';

const Index = () => {
const talkGuests = guests.filter((e) => e.type === GUEST_TYPE.TALK);
Expand Down Expand Up @@ -41,6 +42,8 @@ const Index = () => {

return (
<div className={styles.wrap}>
<Banner text="IL PROGRAMMA È ANCORA IN AGGIORNAMENTO" />

<Heading text="Performers" />
<div className={styles.guests}>{musicGuests.map((guest, key) => Card(guest, key))}</div>

Expand Down

0 comments on commit fc382bb

Please sign in to comment.