Giter Site home page Giter Site logo

Add a 404 page about catchup HOT 7 CLOSED

ourtechcommunity avatar ourtechcommunity commented on September 26, 2024
Add a 404 page

from catchup.

Comments (7)

tusharnankani avatar tusharnankani commented on September 26, 2024 1

Yes, working. Thank you!

image

Opened an issue for the same: #8

from catchup.

tusharnankani avatar tusharnankani commented on September 26, 2024

Hi

Do you want something like this?

image

OR

image

Side Note: I just made some changes from the console on the home page.

from catchup.

HarshKapadia2 avatar HarshKapadia2 commented on September 26, 2024

I like the 2nd option (404 Page Not Found).

Instead of the two buttons, can we just have one white button saying 'OTC CatchUp' that redirects to the CatchUp home page? What do you think?

from catchup.

tusharnankani avatar tusharnankani commented on September 26, 2024

Sure, that will look good.

Here it goes:

image

Although, when it says the question: Jump to something else instead?
So, the direct CTA can be both the buttons, the same buttons that will show up when redirected to the catchup page.

from catchup.

HarshKapadia2 avatar HarshKapadia2 commented on September 26, 2024

Okay, so you would prefer '404 Page Not Found' with the two buttons? Go ahead. Do that. Open a PR.

Make sure you make necessary changes in https://github.com/OurTechCommunity/catchup/blob/main/index.js to serve the 404 page.
(Please replace the res.ends in these lines to serve the 404 page as well: https://github.com/OurTechCommunity/catchup/blob/main/index.js#L46-L68)

https://github.com/OurTechCommunity/catchup/blob/main/CONTRIBUTING.md should help you in setting up locally.

from catchup.

tusharnankani avatar tusharnankani commented on September 26, 2024

Yes, will do!

Facing a problem while installation here:

image

Error: Project key is not defined
    at Deta (C:\Users\Tushar Nankani\Desktop\Git\Open Source\catchup\node_modules\deta\dist\index.js:741:15)
    at Object.<anonymous> (C:\Users\Tushar Nankani\Desktop\Git\Open Source\catchup\index.js:10:14)

I guess some step is missing in the CONTRIBUTING.md

image

from catchup.

HarshKapadia2 avatar HarshKapadia2 commented on September 26, 2024

Oh. Thank you for pointing this out.

Create a .env file in the root directory of the project with variables as mentioned in https://github.com/OurTechCommunity/catchup/blob/main/sample.env and add some random strings as values.
Eg: DETA_PROJECT_KEY=lsjdbvkjsdbksbdkcjs

Please LMK if this works, I'll add it to the CONTRIBUTING.md file.

from catchup.

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.