Giter Site home page Giter Site logo

Comments (14)

saurabhburade avatar saurabhburade commented on August 21, 2024 1

Hey @konopkja, I'm interested in working on this issue

from ethereum-org-website.

konopkja avatar konopkja commented on August 21, 2024 1

Hi @saurabhburade, thats exciting! I will assign you the issue then! :) Thank you

from ethereum-org-website.

saurabhburade avatar saurabhburade commented on August 21, 2024 1

I have rough preview ready as of now
Screenshot 2024-07-10 at 11 02 24 PM

from ethereum-org-website.

konopkja avatar konopkja commented on August 21, 2024 1

So this needs to be figured out, which event to promote at top, or maybe have a separate metadata

ok since items are pulled from other sources as well, for now i think lets ship MVP without editor's choice functionality

@saurabhburade

from ethereum-org-website.

saurabhburade avatar saurabhburade commented on August 21, 2024 1

As a workaround, I'm using import { Image } from "@chakra-ui/react"

from ethereum-org-website.

saurabhburade avatar saurabhburade commented on August 21, 2024

@konopkja Thank you for assigning the issue, I wanted to know what's the Editors choice, maybe I can add the first event on the list available.

from ethereum-org-website.

wackerow avatar wackerow commented on August 21, 2024

Thanks @saurabhburade!

Many of our events are pulled from an external spreadsheet. The details of the logic can be found inside src/scripts/events/ethereum-events-import.ts... The EthereumEventsImport() function is called inside src/scripts/events-import.ts and results assigned to ethereumEvents... These objects here should have an imageUrl property which we're currently not doing anything with... This is not the case for events added separately to this API import, but I would start there and we can figure out a process to get images for other events separately.

from ethereum-org-website.

konopkja avatar konopkja commented on August 21, 2024

@konopkja Thank you for assigning the issue, I wanted to know what's the Editors choice, maybe I can add the first event on the list available.

its an idea for new type of event that should be more promoted, for example devcon or devconnect. You would have to create new metadata field for it i assume.

from ethereum-org-website.

konopkja avatar konopkja commented on August 21, 2024

@konopkja Thank you for assigning the issue, I wanted to know what's the Editors choice, maybe I can add the first event on the list available.

its an idea for new type of event that should be more promoted, for example devcon or devconnect. You would have to create new metadata field for it i assume.

do not add first event, this should be manual choice

if no event has it, do not show this section and title

from ethereum-org-website.

saurabhburade avatar saurabhburade commented on August 21, 2024

So this needs to be figured out, which event to promote at top, or maybe have a separate metadata

from ethereum-org-website.

saurabhburade avatar saurabhburade commented on August 21, 2024

Sounds great!

One thing to be noticed and need help on is that we cannot load external images directly on nextjs and need to whitelist these domains/hostnames through with images that are coming.
I need help to understand what to do with external image URLs?

from ethereum-org-website.

konopkja avatar konopkja commented on August 21, 2024

Sounds great!

One thing to be noticed and need help on is that we cannot load external images directly on nextjs and need to whitelist these domains/hostnames through with images that are coming. I need help to understand what to do with external image URLs?

@wackerow

from ethereum-org-website.

wackerow avatar wackerow commented on August 21, 2024

One thing to be noticed and need help on is that we cannot load external images directly on nextjs and need to whitelist these domains/hostnames through with images that are coming. I need help to understand what to do with external image URLs?

Good point... I'm not sure allowlisting will be a sustainable path forward here. We may want to consider iterating on the GitHub action/workflow that pulls in these events to also download and add the event images directly to our repo so we avoid these issues. cc: @pettinarip, thoughts?

from ethereum-org-website.

github-actions avatar github-actions commented on August 21, 2024

This issue is stale because it has been open 30 days with no activity.

from ethereum-org-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.