Skip to content

Commit

Permalink
bg color, header fonts, logo
Browse files Browse the repository at this point in the history
  • Loading branch information
eyaler committed Feb 28, 2024
1 parent e3b1f59 commit e20077a
Show file tree
Hide file tree
Showing 33 changed files with 7,126 additions and 6,884 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<body onload="document.body.style.visibility = 'visible'">
<h3 id="nav">
<a style="visibility: hidden">מי פה?</a>
<a href="resen/" class="rotating-border">רֶסֶן – כתב עת</a>
<a href="resen/" class="rotating_border">רֶסֶן – כתב עת</a>
<a href="whom.html">מי פה?</a>
</h3>
<div>
Expand Down
7 changes: 7 additions & 0 deletions resen/0/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<link rel="preload" href="../fonts/MiriamLibre-Regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="../style.css">
<script src="../pages.js"></script>
<link rel="icon" href="../media/resen.svg">
<meta property="og:image" content="https://oulipoh.com/resen/0/snippet">
<noscript><style>body {visibility: visible}</style></noscript>
</head>
<body onload="document.body.style.visibility = 'visible'">
Expand All @@ -19,6 +21,11 @@
דדליין: עכשיו ועד סוף המלחמה.
</p>
<br>
<p>
משתתפים: עדי שורק, אלכס בן־ארי, אבי מילגרום, עידן ברונו גרייף, איל יהוה גרוּס, איטאלו קאלווינו, יונתן פיין, ז'וליאן ווֹקַנס, ליאור זלמנסון, מיקה מילגרום, נעה שחם ורותם עטר.
</p>
<p>בגיליון זה התאפשר לנו לשלם ליוצרים סכום סמלי של 500 ש"ח.</p>
<br>
<p>
עורך הגיליון: אלכס בן־ארי
</p>
Expand Down
Binary file modified resen/0/snippet
Binary file not shown.
3 changes: 2 additions & 1 deletion resen/achshav/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
<link rel="preload" href="../fonts/MiriamLibre-Regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="../style.css">
<script src="../pages.js"></script>
<link rel="icon" href="../media/resen.svg">
<meta property="og:image" content="https://oulipoh.com/resen/achshav/snippet">
<noscript><style>body {visibility: visible}</style></noscript>
</head>
<body onload="document.body.style.visibility = 'visible'">
<script>make_header()</script>
<audio id="audio" src="achshav.mp3" controls onended="play.click()" style="display: block; margin-block: 4rem; margin-inline: auto" aria-label="אודיו של אָח־שָׁב – עַכְ־שָׁו"></audio>
<audio src="achshav.mp3" controls style="display: block; margin-block: 4rem; margin-inline: auto" aria-label="אודיו של אָח־שָׁב – עַכְ־שָׁו"></audio>
<p>
העולם כולו רוטט ללא הרף בתדרים שמשפיעים עלינו במודע או שלא במודע.
מטרת היצירה היא להביא את המצב התודעתי של השומע לכדי התאספות והתכנסות. זאת על מנת שייווצר מרחב פנימי מוגן בו יוכל המאזין לפגוש את עצמו.
Expand Down
1 change: 1 addition & 0 deletions resen/cent/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<link rel="preload" href="../fonts/MiriamLibre-Regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="../style.css">
<script src="../pages.js"></script>
<link rel="icon" href="../media/resen.svg">
<meta property="og:image" content="https://oulipoh.com/resen/cent/snippet">
<noscript><style>body {visibility: visible}</style></noscript>
</head>
Expand Down
Binary file modified resen/cent/snippet
Binary file not shown.
1 change: 1 addition & 0 deletions resen/disappearance/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<link rel="preload" href="../fonts/MiriamLibre-Regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="../style.css">
<script src="../pages.js"></script>
<link rel="icon" href="../media/resen.svg">
<meta property="og:image" content="https://oulipoh.com/resen/disappearance/snippet">
<noscript><style>body {visibility: visible}</style></noscript>
</head>
Expand Down
Binary file modified resen/disappearance/snippet
Binary file not shown.
1 change: 1 addition & 0 deletions resen/down/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link rel="stylesheet" href="style.css">
<script src="../pages.js"></script>
<script src="script.js"></script>
<link rel="icon" href="../media/resen.svg">
<meta property="og:image" content="https://oulipoh.com/resen/down/snippet">
<noscript><style>body {visibility: visible}</style></noscript>
</head>
Expand Down
1 change: 1 addition & 0 deletions resen/exceeding/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" href="style.css">
<script src="../pages.js"></script>
<script src="p5/p5.min.js"></script>
<link rel="icon" href="../media/resen.svg">
<meta property="og:image" content="https://oulipoh.com/resen/exceeding/snippet">
<noscript><style>body {visibility: visible}</style></noscript>
</head>
Expand Down
Binary file modified resen/exceeding/snippet
Binary file not shown.
Binary file added resen/fonts/DavidLibre-Medium.woff2
Binary file not shown.
93 changes: 93 additions & 0 deletions resen/fonts/DavidLibre-OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright (c) 2014 Monotype Imaging Inc. ([email protected]). All Rights Reserved. David Hadash is a trademark of Monotype Imaging Inc. Reserved Font Name 'Hadash'. Copyright (c) 2003-2008 SIL International (http://www.sil.org/), with Reserved Font Names 'Gentium' and 'SIL'. Copyright (c) 2015-2016 Meir Sadan ([email protected]).

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
1 change: 1 addition & 0 deletions resen/imagine/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<link rel="preload" href="../fonts/MiriamLibre-Regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="../style.css">
<script src="../pages.js"></script>
<link rel="icon" href="../media/resen.svg">
<meta property="og:image" content="https://oulipoh.com/resen/imagine/snippet">
<noscript><style>body {visibility: visible}</style></noscript>
</head>
Expand Down
Binary file modified resen/imagine/snippet
Binary file not shown.
2 changes: 2 additions & 0 deletions resen/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<link rel="preload" href="fonts/MiriamLibre-Regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="pages.js"></script>
<link rel="stylesheet" href="style.css">
<link rel="icon" href="media/resen.svg">
<meta property="og:image" content="https://oulipoh.com/resen/media/resen.png">
<noscript><style>body {visibility: visible}</style></noscript>
</head>
<body onload="document.body.style.visibility = 'visible'">
Expand Down
4 changes: 3 additions & 1 deletion resen/journal.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<link rel="preload" href="fonts/MiriamLibre-Regular.woff2" as="font" type="font/woff2" crossorigin>
- <script src="pages.js"></script>
<link rel="stylesheet" href="style.css">
<link rel="icon" href="media/resen.svg">
<meta property="og:image" content="https://oulipoh.com/resen/media/resen.png">
<noscript><style>body {visibility: visible}</style></noscript>
</head>
<body onload="document.body.style.visibility = 'visible'">
Expand All @@ -17,7 +19,7 @@
של יצירות מן העולם וכן מאמרים ומסות בנושאי יצירה אילוצית וחישובית.
</p>
<p>כתב העת רֶסֶן הופק בסיוע <a href="https://culture.pais.co.il/Pages/default.aspx">מועצת הפיס לתרבות ולאומנות</a> (20,000 ש"ח), ובסיוע מענק מיוחד מטעם <a href="https://www.rabinovichfoundation.org.il/">קרן יהושע רבינוביץ לאומנויות תל־אביב</a> (8,000 ש"ח).</p>
<div class="images" style="--max_height: 500px; --min_width: 200px">
<div class="images" style="--max_height: 250px; --min_width: 200px">
<img src="media/pais.png" alt="לוגו מפעל הפיס">
<img src="media/rabinovich.png" alt="לוגו קרן רבינוביץ">
</div>
Expand Down
Binary file added resen/media/resen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
98 changes: 98 additions & 0 deletions resen/media/resen.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 20 additions & 12 deletions resen/pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


const pages = {
"/": {title: "רֶסֶן", alt: "Resen", author: "oulipoh", skip: true},
"/": {title: "רֶסֶן", alt: "Resen", author: "resen", logo: "media/resen.svg", skip: true},

"0/": {title: "פתח דבר לגיליון אפס", alt: "Foreward to Issue 0", author: ["alexbenari", "eyalgruss"], kw: [0]},
"achshav/": {title: "אָח־שָׁב – עַכְ־שָׁו", alt: "Ach-Shav", author: "brunogrife", kw: [0, "sound"]},
Expand All @@ -16,15 +16,15 @@ const pages = {
"things/": {title: "קורים עכשיו דברים עם השפה", alt: "Things are happening now with the language", author: "noashaham", kw: [0, "poem"]},
"systems/": {title: "מערכות", alt: "Systems", author: "noashaham", kw: [0, "poem"]},
"tribe/": {title: "השבט הנושא את עיניו השמיימה", alt: "The tribe with its eyes on the sky", author: "italocalvino", translator: "jonathanfine", kw: [0, "story", "translation"]},
"seasons/": {title: "כאילו המלחמה הייתה לחלק מעונות השנה", alt: "As if the war were part of the seasons", author: "adisorek", kw: [0]},
"seasons/": {title: "כאילו המלחמה הייתה לחלק מעונות השנה", alt: "As if the war were part of the seasons", author: "adisorek", kw: [0, "interactive", "sound"]},

"journal": {title: "אודות כתב העת", alt: "About this journal", author: "oulipoh", kw: ["live code", "software"]}
"journal": {title: "אודות כתב העת", alt: "About this journal", author: "resen", kw: ["live code", "software"]}
}

const authors = {
"oulipoh": {
"name": {"": "כתב עת מקוון ליצירה אילוצית וחישובית בעברית", "en": "An online journal for constrained and computational creation in Hebrew"},
"mail": "eyalgruss+oulipoh@gmail.com",
"resen": {
"name": {"": "רֶסֶן – כתב עת מקוון ליצירה אילוצית וחישובית בעברית", "en": "Resen - an online journal for constrained and computational creation in Hebrew"},
"mail": "eyalgruss+resen@gmail.com",
"github": "",
"sponsors": "",
"subscribe": "ayPSSeHk3KL4ALGa9"
Expand Down Expand Up @@ -157,7 +157,7 @@ function reorder(list_of_strings, lang='', labels=kw_labels) {
function get_all_keywords(lang='', page) {
const keywords = Object.entries(pages).flatMap(([k, v]) => (k == page || !v.skip) && v.kw || [])
const ordered = reorder(keywords, lang)
if (page) {
if (page != null) {
const counts = keywords.reduce((acc, kw) => (acc[kw] = ++acc[kw] || 1, acc), {})
const len = Object.values(pages).filter(v => !v.skip).length
const freq = Object.fromEntries(Object.entries(counts).map(([kw, c]) => [kw, c / len]))
Expand Down Expand Up @@ -217,7 +217,7 @@ function get_set_titles(page, lang='', elem) {
[titles.label, titles.alt] = [titles.alt, titles.label]
}
if (elem) {
if (page) {
if (page != null) {
const suffix = elem.title.match(/\[.*/)
if (suffix) {
titles.label += ' ' + suffix
Expand Down Expand Up @@ -550,16 +550,24 @@ function make_header(reorder_contents=default_reorder_contents, new_tab_for_soci
}
header.appendChild(div)
}
const en_title = lang == 'en' ? titles.label : titles.alt
const h1 = document.createElement('h1')
h1.id = 'h1'
h1.innerHTML = harden(titles.label)
if (titles.alt)
h1.title = titles.alt
if (pages[page].logo) {
const img = new Image()
img.alt = titles.label
img.src = pages[page].logo
h1.appendChild(img)
h1.title = en_title ?? titles.label
} else {
h1.innerHTML = harden(titles.label)
if (titles.alt)
h1.title = titles.alt
}
header.appendChild(h1)
if (ui[lang].dir && ui[lang].dir != document.documentElement.dir)
nav.dir = ui[lang].dir
const desc = []
const en_title = lang == 'en' ? titles.label : titles.alt
if (en_title)
desc.push(en_title)
if (pages[page].author || pages[page].authors || pages[page].translator || pages[page].translators) {
Expand Down
Loading

0 comments on commit e20077a

Please sign in to comment.