{"id":15130385,"url":"https://github.com/lucajahnen/restaurant-page","last_synced_at":"2026-01-20T21:02:20.040Z","repository":{"id":249849638,"uuid":"832259760","full_name":"LucaJahnen/restaurant-page","owner":"LucaJahnen","description":"A restaurant page","archived":false,"fork":false,"pushed_at":"2024-07-24T08:26:56.000Z","size":245,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T17:56:16.893Z","etag":null,"topics":["odin-project","webpack"],"latest_commit_sha":null,"homepage":"https://restaurant354.netlify.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LucaJahnen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-22T16:38:32.000Z","updated_at":"2024-07-24T08:26:59.000Z","dependencies_parsed_at":"2024-12-19T02:22:19.277Z","dependency_job_id":"2ebff9eb-c33a-4b20-9470-bdf011577d6f","html_url":"https://github.com/LucaJahnen/restaurant-page","commit_stats":null,"previous_names":["lucajahnen/restaurant-page"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaJahnen%2Frestaurant-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaJahnen%2Frestaurant-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaJahnen%2Frestaurant-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaJahnen%2Frestaurant-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucaJahnen","download_url":"https://codeload.github.com/LucaJahnen/restaurant-page/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393540,"owners_count":20931809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["odin-project","webpack"],"created_at":"2024-09-26T02:46:36.669Z","updated_at":"2026-01-20T21:02:19.964Z","avatar_url":"https://github.com/LucaJahnen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Restaurant Page Challenge - TheOdinProject\nThis is my solution to the [Restaurant Page Challenge](https://www.theodinproject.com/lessons/node-path-javascript-restaurant-page) provided by [TheOdinProject](https://TheOdinProject.com).\n\n## The challenge\nThe Challenge was to create a Restaurant Page that has multiple pages. Each Page should be its own module.\n\n## Built with\n- [webpack](https://webpack.js.org/)\n  - [HtmlWebpackPlugin](https://webpack.js.org/plugins/html-webpack-plugin/)\n  - [style-loader](https://webpack.js.org/loaders/style-loader/)\n\n## My Process\nFirst, I set up the html navigation and the made sure it was working and the home page would show up when the page was loaded. I asked [ChatGPT](https://chatgpt.com/) for some dummy data and then thought of a basic layout for desktop and mobile. The main task was to generate html elements using javascript which took some time because I hadn't done this before.\n\n### Assets\nI decided to download the [Poppins](https://fonts.google.com/specimen/Poppins) ttf-files from [Google Fonts](https://fonts.google.com/) to practice using assets in webpack.\n\n\nEach file looked similar to this:\n```js\nexport default function Home() {\n  const element = document.createElement(\"div\")\n  element.textContent = \"home\"\n  return element\n}\n```\n\n## Hosting\nTo host this project I used [netlify](https://netlify.com) and first had some issues because I didn't specify the dist folder and didn't tell netlify to use npx webpack to build.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucajahnen%2Frestaurant-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucajahnen%2Frestaurant-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucajahnen%2Frestaurant-page/lists"}