-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Create Configuration File for Personalization #35
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
52395ac
Creates a configuration file for titles and coloring
EmersonFras d16afd6
ReadMe Personalization Instructions
EmersonFras 12f6ca4
Expand guide to use template in README
EmersonFras ddd7cc6
Update README.md header for Primary Config File
EmersonFras 1dcc902
Expand instructions for forked repo's if none exist
EmersonFras faf1eec
Add configuration for dark-mode hover color
EmersonFras 753a077
Add error handling for config failing to load
EmersonFras 7213d3c
Remove usage of GITHUB_REPO_URL
EmersonFras f8eba28
Fix typo in config variable
EmersonFras fdb437e
Initialize github-ribbon link to `#`
EmersonFras 9eabb2c
Use placeholder src for logo img
EmersonFras c4ccfbc
Check config exists before initializing variables
EmersonFras d3bf998
Implement font-family configuration
EmersonFras 2ad2c8c
Include note for logo/favicon url in README
EmersonFras File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| // Configuration file for Catalog Template | ||
| // Customize these values to personalize the catalog for your organization | ||
|
|
||
| const CONFIG = { | ||
| // Organization & Repository Settings | ||
| ORGANIZATION_NAME: "imageomics", // GitHub/Hugging Face organization name (lowercase for API calls) | ||
| GITHUB_ORG_NAME: "Imageomics", // Display name for GitHub organization (can differ from API name) | ||
| CATALOG_REPO_NAME: "catalog", // Repository name for the catalog itself (used for stats badge) | ||
|
|
||
| // Branding | ||
| CATALOG_TITLE: "Imageomics Catalog", // Page title and main heading | ||
| CATALOG_DESCRIPTION: "Explore and discover public code, datasets, models, and spaces.", // Subtitle/description text | ||
| LOGO_URL: "https://github.com/Imageomics/Imageomics-guide/raw/3478acc0068a87a5604069d04a29bdb0795c2045/docs/logos/Imageomics_logo_butterfly.png", // Organization logo URL | ||
| FAVICON_URL: "https://github.com/Imageomics/Imageomics-guide/raw/3478acc0068a87a5604069d04a29bdb0795c2045/docs/logos/Imageomics_logo_butterfly.png", // Favicon URL | ||
|
|
||
| // Colors (CSS custom properties) | ||
| COLORS: { | ||
| primary: "#92991c", // Primary brand color (Imageomics Green) | ||
| secondary: "#5d8095", // Secondary brand color (Imageomics Blue) | ||
| accent: "#0097b2", // Accent color (Dark Teal) | ||
| accentDark: "#4fd1eb", // Dark mode accent color (Light Cyan) | ||
| tag: "#9bcb5e" // Tag background color (Light Green) | ||
| }, | ||
|
|
||
| // API & Behavior Settings | ||
| API_BASE_URL: "https://huggingface.co/api/", // Hugging Face API base URL | ||
| REFRESH_INTERVAL_DAYS: 30, // Number of days to consider an item "new" | ||
| MAX_ITEMS: 100, // Maximum number of items to fetch per category | ||
| FORKED_REPOS: [ | ||
| // Array of forked repository names to include (non-forks are included by default) | ||
| "Fish-Vista", | ||
| "PhyloNN", | ||
| "telemetry-dashboard", | ||
| "docker-workshop" | ||
| ], | ||
|
|
||
| // Typography | ||
| FONT_FAMILY: "Inter" // Font family for the site | ||
|
EmersonFras marked this conversation as resolved.
|
||
| }; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.