{"id":20747350,"url":"https://github.com/ether1project/ethocomponents","last_synced_at":"2026-02-14T07:01:37.755Z","repository":{"id":101311909,"uuid":"584213490","full_name":"Ether1Project/ethocomponents","owner":"Ether1Project","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-02T09:24:04.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-04T17:41:10.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Ether1Project.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,"zenodo":null}},"created_at":"2023-01-01T21:22:03.000Z","updated_at":"2023-01-01T21:25:52.000Z","dependencies_parsed_at":"2024-04-01T02:28:28.157Z","dependency_job_id":"59178452-71c7-431c-80f8-379eab093bd3","html_url":"https://github.com/Ether1Project/ethocomponents","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ether1Project/ethocomponents","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ether1Project%2Fethocomponents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ether1Project%2Fethocomponents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ether1Project%2Fethocomponents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ether1Project%2Fethocomponents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ether1Project","download_url":"https://codeload.github.com/Ether1Project/ethocomponents/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ether1Project%2Fethocomponents/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29438977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T05:24:35.651Z","status":"ssl_error","status_checked_at":"2026-02-14T05:24:34.830Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-17T08:12:47.230Z","updated_at":"2026-02-14T07:01:37.740Z","avatar_url":"https://github.com/Ether1Project.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ethocomponents\n\nHere the header and footer components for the ETHO project websites. Aim is to have a joint footer for all projects.\nIt is pretty straight forward and an index.html template is provided.\n\nYou need to have in the \u003chead\u003e the following:\n\nFirst a initiation of a config variable:\nThe component is configurable by providing additional menus via the ethocomponent_menu variable in the \u003cHEAD\u003e section.\nIf you do not want to have any additional menus (maybe you have a side menue) then configure the following:\n```\n    \u003cscript\u003elet ethocomponent_menu='';\n    \u003c/script\u003e\n\n```\n\nOtherwise use the following.\n\n```\n    \u003cscript\u003elet ethocomponent_menu='' +\n      '\u003cli class=\"nav-item\"\u003e\u003ca class=\"nav-link\" href=\"#\"\u003eItem 1\u003c/a\u003e\u003c/li\u003e' +\n      '\u003cli class=\"nav-item\"\u003e\u003ca class=\"nav-link\" href=\"#\"\u003eItem 2\u003c/a\u003e\u003c/li\u003e' +\n      '\u003cli class=\"nav-item\"\u003e\u003ca class=\"nav-link\" href=\"#\"\u003eItem 3\u003c/a\u003e\u003c/li\u003e' +\n      '';\n    \u003c/script\u003e\n\n```\n\nIt is important to have the valiable config before the css loadings\n\n```\n    \u003clink rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css\" integrity=\"sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=\" crossorigin=\"anonymous\"\u003e\n    \u003clink rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css\" integrity=\"sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N\" crossorigin=\"anonymous\"\u003e\n    \u003cscript async='' src='https://cdn.jsdelivr.net/gh/Ether1Project/ethocomponents/component.js' crossorigin=\"anonymous\"\u003e\u003c/script\u003e\n```\n\n    \n    \nAnd then add in the beginning of the \u003cbody\u003e the header statement (if you want a menu component)\n```\n\u003cheader-component\u003e\u003c/header-component\u003e\n```\n\nand at the end the footer statement\n\n```\n\u003cfooter-component\u003e\u003c/footer-component\u003e\n```\n\nafter the body you need to load the js scripts:\n\n```\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js\" integrity=\"sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e\u003c/html\u003e\n```    \n    \nIt should like this \n\u003cimg width=\"1253\" alt=\"Screenshot 2023-01-04 at 15 48 56\" src=\"https://user-images.githubusercontent.com/25107787/210581296-d4186dcd-01a2-4d3b-99f6-a37052786371.png\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fether1project%2Fethocomponents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fether1project%2Fethocomponents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fether1project%2Fethocomponents/lists"}