Commit graph

5 commits

Author SHA1 Message Date
87a261d7ef
refactor: remove unused config settings
Simplified app initialization by removing the `Config` class and cleaning up unused configuration settings. This reduces redundancy and potential confusion in the codebase.
2024-09-19 14:21:18 +02:00
d790b0b17a
feat: enhance content type handling and code styling
- Added 'type' attribute to the Text dataclass to support HTML tag designation.
- Trimmed text content and assigned types in MediumClient to improve consistency.
- Updated article template to dynamically use text types, allowing for more flexible HTML structure.
- Applied CSS styling for 'pre' tags to enhance code block appearance.

These changes improve the semantic structure of articles and enhance the visual presentation of code blocks in the user interface.
2024-09-19 14:19:20 +02:00
b6c7277535
fix(home.html): ensure full URL string for consistency
Updated the instructional text to replace "medium.com" with the full "https://medium.com/" URL to avoid potential confusion and ensure users receive a clear and consistent guideline. This should enhance the user experience by providing explicit directions.
2024-09-19 14:18:58 +02:00
0a90c556d5
refactor: remove unnecessary imports in const.py
Cleaned up unused os imports in the configuration module to improve readability and reduce clutter. This change has no impact on functionality. No related issues.
2024-09-19 09:15:41 +02:00
675f5195fe
feat: initialize project structure for Small
Add initial project structure for Small, a clean frontend for reading Medium articles. This setup includes:

- Basic Flask app configuration with necessary dependencies.
- RESTful endpoint to fetch and serve Medium articles.
- Templates and static assets for the user interface.
- Utility functions for parsing Medium article IDs.
- Custom error pages (404 and 500) for nicer error handling.
- Project metadata files such as .gitignore, README, LICENSE, and pyproject.toml for project setup and documentation.

This structure sets the foundation for further development and feature additions.
2024-09-19 09:14:05 +02:00