|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
@ -0,0 +1,30 @@
@@ -0,0 +1,30 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap'); |
||||
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap'); |
||||
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap'); |
||||
|
||||
|
||||
:root { |
||||
--color-bg: #1a1a1a; /* Deep charcoal background */ |
||||
--color-bg-light: #2a2a2a; /* Slightly lighter charcoal */ |
||||
--color-bg-primary: #2e1f2e; /* Muted aubergine for a rich, elegant feel */ |
||||
--color-text: #f5f5f5; /* Soft white for readability */ |
||||
--color-text-mid: #d8d8d8; /* Warm light gray */ |
||||
--color-text-contrast: #000; /* Black text for contrast */ |
||||
--color-primary: #5F7355; /* Plum primary color */ |
||||
--color-secondary: #495544; /* secondary color */ |
||||
--color-border: #3a3a3a; /* Subtle gray border */ |
||||
--font-family: 'Montserrat', serif; /* Set the Montserrat font as default */ |
||||
--main-body-font: 'Newsreader', serif; /* Set the font for the main body */ |
||||
--heading-font: 'EB Garamond', serif; /* Set the font for headings */ |
||||
--brand-font: 'Lobster', serif; /* A classic, refined branding font */ |
||||
--brand-color: white; |
||||
} |
||||
|
||||
[data-theme="light"] { |
||||
--color-bg: #f4f1ee; |
||||
--color-bg-light: #e8e4df; |
||||
--color-text: #2a2a2a; |
||||
--color-text-mid: #3a3a3a; /* Warm light gray */ |
||||
--color-text-contrast: #f4f1ee; |
||||
--brand-color: black; |
||||
} |
||||
@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
|
||||
parameters: |
||||
name: 'Unfold Magazine' |
||||
short_name: 'Unfold' |
||||
description: 'Unfolding nostr magazines and community articles' |
||||
default_relay: 'wss://TheForest.nostr1.com' |
||||
theme: 'space' |
||||
theme_color: '#000000' |
||||
theme_bg_color: '#ffffff' |
||||
npub: 'npub1ez09adke4vy8udk3y2skwst8q5chjgqzym9lpq4u58zf96zcl7kqyry2lz' |
||||
d_tag: 'unfold-magazine' |
||||
community_articles: true |
||||
|
||||
|
||||
@ -1,29 +1,10 @@
@@ -1,29 +1,10 @@
|
||||
# Features |
||||
|
||||
## Search Functionality (REMOVED) |
||||
- **Status**: Being removed as part of scaling down |
||||
- **Previous implementation**: Used Elasticsearch via FOSElasticaBundle |
||||
- **Replacement**: Will need basic database-based search for articles by title/content if search is still needed |
||||
- **Components affected**: |
||||
- SearchComponent (Twig component) |
||||
- FeaturedList component |
||||
- Article indexing commands |
||||
- Controllers using Elasticsearch queries |
||||
|
||||
## Credit System (REMOVED) |
||||
- **Status**: Completely removed as part of scaling down |
||||
- **Previous implementation**: Credit-based search system with Redis storage |
||||
- **Components removed**: |
||||
- Entire `src/Credits/` directory (CreditsManager, RedisCreditStore, CreditTransaction entity) |
||||
- GetCreditsComponent (Twig component for adding credits) |
||||
- CreditTransactionController (admin interface) |
||||
- Credit accounting in SearchComponent |
||||
- Credit balance display in search interface |
||||
- Credits cache configuration |
||||
- Credit translation keys |
||||
|
||||
## Core Features to Preserve |
||||
## Core Features |
||||
- Article management (CRUD operations) |
||||
- Article display and listing |
||||
- Author pages |
||||
- Basic article filtering (should use database queries instead of Elasticsearch) |
||||
- Basic article filtering (uses database queries) |
||||
- Configurable magazine name and short name via YAML and .env |
||||
- Theme selection (currently: purple) |
||||
- Community articles feature (enable/disable via config) |
||||
|
||||
@ -1 +1 @@
@@ -1 +1 @@
|
||||
<p>{{ "now"|date("Y") }} Unfold Demo</p> |
||||
<p>{{ "now"|date("Y") }} {{ website_name }}</p> |
||||
|
||||