From e89a125052e8a0b1dd92330d7c816c8dff1f65d6 Mon Sep 17 00:00:00 2001
From: DrMint <29893320+DrMint@users.noreply.github.com>
Date: Wed, 26 Jun 2024 06:42:59 +0200
Subject: [PATCH] Small fixes
---
MIGRATION.md | 41 +--
README.md | 28 +-
.../AppLayout/components/Html.astro | 4 +-
src/pages/[locale]/files/[id].astro | 8 +-
src/shared/openExchange/rates.json | 290 +++++++++---------
5 files changed, 175 insertions(+), 196 deletions(-)
diff --git a/MIGRATION.md b/MIGRATION.md
index 57cf626..95c340e 100644
--- a/MIGRATION.md
+++ b/MIGRATION.md
@@ -12,7 +12,6 @@
- booklet?
- https://v3.accords-library.com/en/pages/song-of-fourteen-years
- missing source to https://web.archive.org/web/20151104092843/http://kho-dazat.tumblr.com/post/73835598260/you-are-the-light-the-light-that-illuminates-my
- - missing parent collectible
- Character novellas, The content originate -> The content originates
- https://v3.accords-library.com/en/folders/drakengard-magnitude-negative add previous/follow-up links to chapters
@@ -20,33 +19,19 @@
- https://v3.accords-library.com/en/folders/drakengard-promotional-videos
- https://v3.accords-library.com/en/videos/663354cb12807e2ec1b33924
- - https://v3.accords-library.com/en/collectibles/dod-scenario-script
- - https://v3.accords-library.com/en/collectibles/dod-window-script
- - https://v3.accords-library.com/en/pages/dod1-questions-and-answers
- - https://v3.accords-library.com/en/pages/looking-back-1
- - https://v3.accords-library.com/en/pages/song-of-fourteen-years
- Missing collectibles
- - https://accords-library.com/library/dod-the-archive-of
- - https://accords-library.com/library/dod-reservation-promo-dvd
- - https://accords-library.com/library/dod-promo-dvd
- Games
- https://accords-library.com/library/dod-java
- https://accords-library.com/library/dod-demo
- Missing pages
- - https://accords-library.com/contents/super-space-time-character-exchange-roundtable-in-shinjuku
- https://accords-library.com/contents/dod-history
## DOD1.3
-- Drag-on Dragoon - Shi ni Itaru Aka
-- Basic Knowledge of Drakengard
-
-- Missing parent collectible
-
- - https://v3.accords-library.com/en/folders/drakengard-1-3
+- Drag-on Dragoon - Fatal Crimson
- Missing footnotes
- https://v3.accords-library.com/en/pages/dod1-3-a-2040-battle-with-the-empire
@@ -56,23 +41,19 @@
## DOD 2
- Missing pages
+
- https://accords-library.com/contents/folder/dod2-promotional-materials
- - https://accords-library.com/contents/super-space-time-character-exchange-roundtable-in-shinjuku
- https://accords-library.com/contents/dod-history
+
- Missing collectibles
- - Games
- - https://accords-library.com/library/dod2-demo
- Soundtrack
- https://accords-library.com/library/hitori-mika-nakashima
- https://accords-library.com/library/sirius-eir-aoi
- - https://accords-library.com/library/dod2-original-soundtrack
- - https://accords-library.com/library/dod2-scenario-script-a
- - https://accords-library.com/library/dod2-scenario-script-b
- - https://accords-library.com/library/dod2-story-side
- - https://accords-library.com/library/dod2-the-archive-of
- - https://accords-library.com/library/dod2-web-material
- - https://accords-library.com/library/dod2-strategy-guidebook
+
+- Missing content
+
+ - https://v3.accords-library.com/en/collectibles/dod2-web-material-disc
- Missing footnotes
@@ -101,16 +82,12 @@
- https://accords-library.com/contents/prophecy
- https://accords-library.com/contents/dod3-complete-guide-epilogue
- - https://accords-library.com/contents/super-space-time-character-exchange-roundtable-in-shinjuku
- https://accords-library.com/contents/dod-history
- Missing parent page
- Novellas
- - https://accords-library.com/contents/folder/dod3-prelude-novellas
- https://accords-library.com/contents/folder/dod3-dlc-short-stories
- - Story side
- - https://accords-library.com/contents/folder/dod3-story-side
- Missing scans
@@ -119,3 +96,7 @@
- https://v3.accords-library.com/en/collectibles/dod10-dlc-code
- Check release data for https://v3.accords-library.com/en/collectibles/dod10th-anniversary-box and its subitems
+
+- Missing footnotes
+ - https://v3.accords-library.com/en/pages/super-space-time-character-exchange-roundtable-in-shinjuku
+ - *Like mother, like daughter. I think that's just it… Why I must protect Yonah for the rest of my life! So we can always, always be together… *The proverb here in Japanese directly translates to “You can’t fight blood.”, a likely prod at Furiae’s lust for Caim.
diff --git a/README.md b/README.md
index 2bff185..37c4d83 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# Accord's Library
+Accord's Library v3.0 (shorten to AL3.0)
+
## Tech overview
- Client-side framework: None
@@ -7,18 +9,20 @@
- Content management system: [Payload](https://payloadcms.com)
- Database: MongoDB
-## Core
-
-- https://resilientwebdesign.com/
-
-Accord's Library v3.0 (shorten to AL3.0) follows the Metamodernist Web model described by Frédéric Bonnet in his article [From Classicism to Metamodernism — A Short History of Web Development](https://dev.to/fredericbonnet/the-third-age-of-web-development-kgj#the-metamodernist-period).
+## Core principles
- Embrace web standards instead of reinventing the wheel
-- [Progressive enhancement](https://en.wikipedia.org/wiki/Progressive_enhancement): SSG or SSR for noscript clients. SPA-like enhancements such as partial page updates and view transitions for clients with JS support.
+- [Progressive enhancement](https://en.wikipedia.org/wiki/Progressive_enhancement). Ensure all users can access and use AL3.0's core functionalities.
+- End-user preferences are respected.
- Mimimal dependencies. Dependencies can be self-hosted or loaded directly from CDNs instead of being bundled up.
- Accessible, fast, lightweight, substainable
- Complexity is moved away from client devices
+Read more:
+
+- [Resilient web design](https://resilientwebdesign.com)
+- [From Classicism to Metamodernism — A Short History of Web Development](https://dev.to/fredericbonnet/the-third-age-of-web-development-kgj#the-metamodernist-period)
+
## Focal points
- Progressive enhancement / Graceful degradation
@@ -73,14 +77,12 @@ Accord's Library v3.0 (shorten to AL3.0) follows the Metamodernist Web model des
- Reduced client-side complexity
- Would require edge computing to reduce latency
- Data caching to speed up response time
- - Astro built-in View transitions and client-side navigation
- - Some data caching between the web server and CMS (to be improved)
- SEO
- Good defaults for the metadata and OpenGraph properties
- Each page can provide a custom title, description, thumbnail, video, audio to be used
- - Each language variants are indexes seperately.
+ - Each language variants are indexed seperately.
- Complexity
- The complexity should be moved away from public-facing parts of the codebase
@@ -93,7 +95,6 @@ Accord's Library v3.0 (shorten to AL3.0) follows the Metamodernist Web model des
- Handle user interactions
- On the client device, there should be minimal complexity
- Handle responsiveness
- - Handle view transitions (if JS is available)
- Use of web standards: let the browser handle most of the client-side complexity
## Enhancement provided with JavaScript
@@ -129,13 +130,6 @@ A dotted texture is displayed on the page background. It uses `background-blend-
- Replacing the image with a non-transparent image where the blending is baked-in
- Check if there are ways to make the blending work on iOS
-### Parallax effect
-
-A parallax effect is applied on the webpages' background image. This effect can be a bit demanding, it is disabled on mobiles and tablets to lessen the impact. Other alternatives could include:
-
-- Removing the effet entirely
-- Moving away from JavaScript and using CSS parallax tricks (transform 3D, sticky)
-
## CSS Utility classes
- `.dark-theme`: force dark theming to the element and its children.
diff --git a/src/components/AppLayout/components/Html.astro b/src/components/AppLayout/components/Html.astro
index 2771f6a..7fd6732 100644
--- a/src/components/AppLayout/components/Html.astro
+++ b/src/components/AppLayout/components/Html.astro
@@ -59,8 +59,6 @@ const { currentTheme } = Astro.locals;
-
-
+
+
diff --git a/src/pages/[locale]/files/[id].astro b/src/pages/[locale]/files/[id].astro
index 336758c..9139831 100644
--- a/src/pages/[locale]/files/[id].astro
+++ b/src/pages/[locale]/files/[id].astro
@@ -161,7 +161,7 @@ const smallTitle = title === filename;
place-content: center;
place-items: center;
gap: 0.5em;
- border-radius: 0.7em;
+ border-radius: 16px;
padding: 3em;
box-sizing: border-box;
@@ -170,12 +170,16 @@ const smallTitle = title === filename;
width: 100%;
aspect-ratio: 3/2;
background-color: var(--color-elevation-2);
- color: var(--color-base-400);
text-align: center;
& > svg {
width: clamp(16px, 25vw, 96px);
height: clamp(16px, 25vw, 96px);
+ color: var(--color-base-400);
+ }
+
+ & > p {
+ color: var(--color-base-600);
}
transition: 100ms scale;
diff --git a/src/shared/openExchange/rates.json b/src/shared/openExchange/rates.json
index 2b80402..8ee72f9 100644
--- a/src/shared/openExchange/rates.json
+++ b/src/shared/openExchange/rates.json
@@ -1,177 +1,177 @@
{
"disclaimer": "Usage subject to terms: https://openexchangerates.org/terms",
"license": "https://openexchangerates.org/license",
- "timestamp": 1719061206,
+ "timestamp": 1719374401,
"base": "USD",
"rates": {
"AED": 3.673,
- "AFN": 70.649788,
- "ALL": 93.642272,
- "AMD": 387.350187,
- "ANG": 1.798477,
- "AOA": 854.5,
- "ARS": 904.605803,
- "AUD": 1.50355,
- "AWG": 1.8,
+ "AFN": 70.737389,
+ "ALL": 93.591883,
+ "AMD": 388.464511,
+ "ANG": 1.804398,
+ "AOA": 855.209667,
+ "ARS": 909.2076,
+ "AUD": 1.498775,
+ "AWG": 1.8025,
"AZN": 1.7,
- "BAM": 1.827253,
+ "BAM": 1.825905,
"BBD": 2,
- "BDT": 117.251367,
- "BGN": 1.827253,
- "BHD": 0.376512,
- "BIF": 2869.433797,
+ "BDT": 117.631657,
+ "BGN": 1.8261,
+ "BHD": 0.376925,
+ "BIF": 2879.142593,
"BMD": 1,
- "BND": 1.351988,
- "BOB": 6.894941,
- "BRL": 5.4321,
+ "BND": 1.354432,
+ "BOB": 6.917863,
+ "BRL": 5.452199,
"BSD": 1,
- "BTC": 0.000015559783,
- "BTN": 83.329274,
- "BWP": 13.475058,
- "BYN": 3.265661,
- "BZD": 2.011398,
- "CAD": 1.36985,
- "CDF": 2821.505656,
- "CHF": 0.893684,
- "CLF": 0.033937,
- "CLP": 940.97,
- "CNH": 7.2877,
- "CNY": 7.2613,
- "COP": 4163.3111,
- "CRC": 521.605154,
+ "BTC": 0.000016147327,
+ "BTN": 83.525391,
+ "BWP": 13.566127,
+ "BYN": 3.276229,
+ "BZD": 2.017943,
+ "CAD": 1.365775,
+ "CDF": 2845.344278,
+ "CHF": 0.895078,
+ "CLF": 0.034108,
+ "CLP": 943.396226,
+ "CNH": 7.292088,
+ "CNY": 7.2661,
+ "COP": 4092.688822,
+ "CRC": 524.018922,
"CUC": 1,
"CUP": 25.75,
- "CVE": 103.017701,
- "CZK": 23.3152,
- "DJF": 177.670831,
- "DKK": 6.9744,
- "DOP": 58.896627,
- "DZD": 134.486,
- "EGP": 47.71,
+ "CVE": 102.941746,
+ "CZK": 23.187699,
+ "DJF": 178.249371,
+ "DKK": 6.9642,
+ "DOP": 59.114309,
+ "DZD": 134.5516,
+ "EGP": 48.377851,
"ERN": 15,
- "ETB": 57.579015,
- "EUR": 0.935235,
- "FJD": 2.24275,
- "FKP": 0.790451,
- "GBP": 0.790451,
- "GEL": 2.805,
- "GGP": 0.790451,
- "GHS": 15.118419,
- "GIP": 0.790451,
+ "ETB": 57.353303,
+ "EUR": 0.933624,
+ "FJD": 2.2362,
+ "FKP": 0.788219,
+ "GBP": 0.788219,
+ "GEL": 2.81,
+ "GGP": 0.788219,
+ "GHS": 15.216498,
+ "GIP": 0.788219,
"GMD": 67.75,
- "GNF": 8590.530533,
- "GTQ": 7.743261,
- "GYD": 208.651413,
- "HKD": 7.80515,
- "HNL": 24.683515,
- "HRK": 7.0464,
- "HTG": 132.26513,
- "HUF": 370.73,
- "IDR": 16477.55,
- "ILS": 3.7596,
- "IMP": 0.790451,
- "INR": 83.565401,
- "IQD": 1307.235516,
+ "GNF": 8617.038799,
+ "GTQ": 7.774894,
+ "GYD": 209.365764,
+ "HKD": 7.809496,
+ "HNL": 24.774423,
+ "HRK": 7.034221,
+ "HTG": 132.791853,
+ "HUF": 369.47,
+ "IDR": 16421.779805,
+ "ILS": 3.74785,
+ "IMP": 0.788219,
+ "INR": 83.447347,
+ "IQD": 1311.401658,
"IRR": 42087.5,
- "ISK": 139.4,
- "JEP": 0.790451,
- "JMD": 155.407057,
+ "ISK": 139.21,
+ "JEP": 0.788219,
+ "JMD": 156.444628,
"JOD": 0.7087,
- "JPY": 159.68497365,
- "KES": 129.228764,
- "KGS": 86.7587,
- "KHR": 4113.574874,
- "KMF": 460.549891,
+ "JPY": 159.8375,
+ "KES": 129.646953,
+ "KGS": 86.5868,
+ "KHR": 4119.876268,
+ "KMF": 460.124977,
"KPW": 900,
- "KRW": 1389.39,
- "KWD": 0.306432,
- "KYD": 0.831597,
- "KZT": 464.455765,
- "LAK": 21935.263396,
- "LBP": 89360.676,
- "LKR": 304.713417,
- "LRD": 193.69365,
- "LSL": 17.898504,
- "LYD": 4.83767,
- "MAD": 9.938151,
- "MDL": 17.800024,
- "MGA": 4518.181995,
- "MKD": 57.490542,
- "MMK": 2096.43,
+ "KRW": 1390.097786,
+ "KWD": 0.306622,
+ "KYD": 0.834247,
+ "KZT": 467.84526,
+ "LAK": 22038.352227,
+ "LBP": 89647.700512,
+ "LKR": 305.644882,
+ "LRD": 194.349995,
+ "LSL": 18.152071,
+ "LYD": 4.855,
+ "MAD": 9.950426,
+ "MDL": 17.920244,
+ "MGA": 4473.169164,
+ "MKD": 57.439335,
+ "MMK": 2481.91,
"MNT": 3450,
- "MOP": 8.035984,
- "MRU": 39.296492,
- "MUR": 46.840006,
- "MVR": 15.4,
- "MWK": 1730.176733,
- "MXN": 18.1108,
- "MYR": 4.713,
- "MZN": 63.899991,
- "NAD": 17.97,
- "NGN": 1488,
- "NIO": 36.735646,
- "NOK": 10.5565,
- "NPR": 133.326482,
- "NZD": 1.633854,
- "OMR": 0.384941,
+ "MOP": 8.051048,
+ "MRU": 39.352282,
+ "MUR": 46.929999,
+ "MVR": 15.405,
+ "MWK": 1735.964257,
+ "MXN": 18.104717,
+ "MYR": 4.71,
+ "MZN": 63.850001,
+ "NAD": 18.152071,
+ "NGN": 1518.12,
+ "NIO": 36.848246,
+ "NOK": 10.607752,
+ "NPR": 133.640175,
+ "NZD": 1.635653,
+ "OMR": 0.384952,
"PAB": 1,
- "PEN": 3.797543,
- "PGK": 3.892185,
- "PHP": 58.831495,
- "PKR": 277.9113,
- "PLN": 4.044728,
- "PYG": 7511.504736,
- "QAR": 3.639557,
- "RON": 4.6525,
- "RSD": 109.468038,
- "RUB": 88.982683,
- "RWF": 1310.225337,
- "SAR": 3.751791,
- "SBD": 8.454445,
- "SCR": 14.149709,
+ "PEN": 3.815747,
+ "PGK": 3.906082,
+ "PHP": 58.837749,
+ "PKR": 278.808073,
+ "PLN": 4.011559,
+ "PYG": 7549.795422,
+ "QAR": 3.651064,
+ "RON": 4.644,
+ "RSD": 109.292759,
+ "RUB": 87.502462,
+ "RWF": 1326.548635,
+ "SAR": 3.751926,
+ "SBD": 8.43942,
+ "SCR": 13.861839,
"SDG": 601,
- "SEK": 10.5075,
- "SGD": 1.3552,
- "SHP": 0.790451,
+ "SEK": 10.509533,
+ "SGD": 1.354893,
+ "SHP": 0.788219,
"SLL": 20969.5,
- "SOS": 570.280724,
- "SRD": 30.797,
+ "SOS": 572.148966,
+ "SRD": 31.0905,
"SSP": 130.26,
"STD": 22281.8,
- "STN": 22.889709,
- "SVC": 8.731723,
+ "STN": 22.872934,
+ "SVC": 8.759785,
"SYP": 2512.53,
- "SZL": 17.88917,
- "THB": 36.666511,
- "TJS": 10.607558,
+ "SZL": 18.159157,
+ "THB": 36.7755,
+ "TJS": 10.696778,
"TMT": 3.51,
- "TND": 3.12907,
- "TOP": 2.359788,
- "TRY": 32.83,
- "TTD": 6.784802,
- "TWD": 32.37465,
- "TZS": 2619.42356,
- "UAH": 40.439198,
- "UGX": 3741.782229,
+ "TND": 3.133858,
+ "TOP": 2.359259,
+ "TRY": 33.0006,
+ "TTD": 6.801133,
+ "TWD": 32.533,
+ "TZS": 2638.159,
+ "UAH": 40.666635,
+ "UGX": 3709.12772,
"USD": 1,
- "UYU": 39.304902,
- "UZS": 12612.753681,
- "VES": 36.327958,
- "VND": 25458.250123,
+ "UYU": 39.322323,
+ "UZS": 12613.6,
+ "VES": 36.320372,
+ "VND": 25461.48991,
"VUV": 118.722,
"WST": 2.8,
- "XAF": 613.473942,
- "XAG": 0.03384954,
- "XAU": 0.00043086,
+ "XAF": 612.41733,
+ "XAG": 0.03457994,
+ "XAU": 0.00043156,
"XCD": 2.70255,
- "XDR": 0.757322,
- "XOF": 613.473942,
- "XPD": 0.00109708,
- "XPF": 111.603222,
- "XPT": 0.00101001,
- "YER": 250.349961,
- "ZAR": 17.96396,
- "ZMW": 25.421591,
+ "XDR": 0.761402,
+ "XOF": 612.41733,
+ "XPD": 0.00107841,
+ "XPF": 111.411003,
+ "XPT": 0.00101239,
+ "YER": 250.399984,
+ "ZAR": 18.227543,
+ "ZMW": 25.80335,
"ZWL": 322
}
}
\ No newline at end of file