Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagina Home #1

Open
serenasensini opened this issue Jan 31, 2025 · 4 comments
Open

Pagina Home #1

serenasensini opened this issue Jan 31, 2025 · 4 comments
Assignees

Comments

@serenasensini
Copy link
Contributor

Aggiungere riferimenti a YouTube, Twitch e Telegram su footer

@serenasensini serenasensini self-assigned this Jan 31, 2025
@serenasensini
Copy link
Contributor Author

Quando ci saranno gli speaker, ripristinare il file featured-speaker.html con il seguente contenuto:

{{ $input := . }}


<div class="section-container">
    <section
        class="section section--long featured-speakers"
        {{ with T "featured_speakers_section.heading" }}
            aria-label="{{ . }}"
        {{ end }}>
        <h1 class="heading heading--highlighted heading--centered">
            {{ T "featured_speakers_section.heading" }}
        </h1>
        <h2 class="heading heading--2 heading--centered">
            {{ T "featured_speakers_section.subheading" }}
        </h2>
        <ul
            class="featured-speakers__menu"
            {{- with (T "featured_speakers_section.heading") }}
                aria-label="{{ . }}"
            {{- end }}>
            {{- range $index, $speaker := $input.speakers }}
                <li aria-label="{{ $speaker.name }}">
                    {{- partial "speaker-card.html" (
                        dict
                        "profileUrl" $speaker.profileUrl
                        "avatarResource" $speaker.avatarResource
                        "name" $speaker.name
                        "description" $speaker.description
                        "linkedinUrl" $speaker.linkedinUrl
                        "xUrl" $speaker.xUrl
                        "companyUrl" $speaker.companyUrl
                        )
                    }}
                </li>
            {{- end }}
        </ul>

        {{- with $input.speakersUrl }}
            <a href="{{ . }}" class="button button--outlined">
                {{ T "featured_speakers_section.action" }}
            </a>
        {{- end }}
    </section>
</div>

@serenasensini
Copy link
Contributor Author

Ripristinare nel file conference-tracks.html l'elenco dinamico:

 <ol class="conference-tracks-section__list">
            {{- range $input.tracks }}
                <li class="conference-tracks-section__list-item">
                    #{{ . | upper }}
                </li>
            {{- end }}
        </ol>

@serenasensini
Copy link
Contributor Author

Ripristinare pagina event-highlights.html con il seguente:

{{ $input := . }}


<div class="section-container">
    <section class="section section--long event-highlights-section">
        <header class="event-highlights-section__header">
            {{- with resources.Get $input.logo }}
                <img
                    class="event-highlights-section__logo"
                    src="{{ .RelPermalink }}"
                    {{ if not (eq .MediaType.SubType "svg") }}
                        width="{{ .Width }}" height="{{ .Height }}"
                    {{ end }} />
            {{ end }}
            <article class="event-highlights-section__description">
                <h1 class="heading heading--highlighted">
                    {{ $input.title }}
                </h1>
                <h2 class="heading heading--2">
                    {{ $input.subtitle }}
                </h2>

                <p class="paragraph event-highlights-section__paragraph">{{ $input.description | markdownify }}</p>
            </article>
        </header>

        <article class="event-highlights-section__figures">
            {{- if $input.numberOfSpeakers }}
                {{ partial "highlight-figure.html" (
                    dict
                    "icon" "icons/speaker.svg"
                    "caption" (T "event_highlights_section.number_of_speakers" $input.numberOfSpeakers)
                    )
                }}
            {{- end }}
            {{- if $input.numberOfSessions }}
                {{- partial "highlight-figure.html" (
                    dict "icon" "icons/session.svg"
                    "caption" (T "event_highlights_section.number_of_sessions" $input.numberOfSessions)
                    )
                }}
            {{- end }}
            {{- if $input.numberOfDays }}
                {{- partial "highlight-figure.html" (
                    dict "icon" "icons/calendar.svg"
                    "caption" (T "event_highlights_section.number_of_days" $input.numberOfDays)
                    )
                }}
            {{- end }}
            {{- if $input.location }}
                {{- partial "highlight-figure.html" (
                    dict "icon" "icons/location.svg"
                    "caption" $input.location
                    )
                }}
            {{- end }}
        </article>
    </section>
</div>

@serenasensini
Copy link
Contributor Author

Rivedere file banner.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant