commit 0c9df231eaf49a1d65e777b6676e41b99ec06359 Author: sashinexists Date: Wed Dec 4 16:17:16 2024 +1100 start work on new website diff --git a/src/data/views/all-religions-are-wrong.md b/src/data/views/all-religions-are-wrong.md new file mode 100644 index 0000000..8106c5e --- /dev/null +++ b/src/data/views/all-religions-are-wrong.md @@ -0,0 +1,8 @@ +--- +title: All religions are wrong +slug: all-religions-are-wrong +--- +# Why I hold this view +insert reasons here for why I believe all religions are wrong +# Why it matters +insert reasons here for why I think it matters diff --git a/src/data/views/there-is-no-god.md b/src/data/views/there-is-no-god.md new file mode 100644 index 0000000..2da54be --- /dev/null +++ b/src/data/views/there-is-no-god.md @@ -0,0 +1,8 @@ +--- +title: There is no god +slug: there-is-no-god +--- +# Why I hold this view +insert reasons here for why I believe there is no god +# Why it matters +insert reasons here for why I think it matters diff --git a/src/data/views/we-do-not-need-hierarchies.md b/src/data/views/we-do-not-need-hierarchies.md new file mode 100644 index 0000000..a1e6ba2 --- /dev/null +++ b/src/data/views/we-do-not-need-hierarchies.md @@ -0,0 +1,9 @@ +--- +title: We do not need hierarchies +slug: we-do-not-need-hierarchies + +--- +# Why I hold this view +insert reasons here for why I believe hierarchy is bad +# Why it matters +insert reasons here for why I think it matters diff --git a/src/data/views/you-should-be-vegan.md b/src/data/views/you-should-be-vegan.md new file mode 100644 index 0000000..93406bb --- /dev/null +++ b/src/data/views/you-should-be-vegan.md @@ -0,0 +1,8 @@ +--- +title: You should be vegan +slug: you-should-be-vegan +--- +# Why I hold this view +insert reasons here for why people should be vegan +# Why it matters +insert reasons for why this matters diff --git a/src/favicon.ico b/src/favicon.ico new file mode 100644 index 0000000..4d72483 Binary files /dev/null and b/src/favicon.ico differ diff --git a/src/site.ori b/src/site.ori new file mode 100644 index 0000000..52b7860 --- /dev/null +++ b/src/site.ori @@ -0,0 +1,7 @@ +{ + styles + templates + index.html = templates/default.ori.html("Welcome to the index page!") + views = (views.ori/) + favicon.ico +} diff --git a/src/styles/main.css b/src/styles/main.css new file mode 100644 index 0000000..0bc5b81 --- /dev/null +++ b/src/styles/main.css @@ -0,0 +1,123 @@ +:root { + /* COLORS */ + --rich-black: #030303; /*for body background colour*/ + --eerie-black: #171717; /* for article background colour*/ + --charleston-green: #2c2c2c; /*for article background rollover*/ + --dark-medium-gray: #aaa; /* for main body text throughout website*/ + --platinum: #e9e9e9; /* for titles*/ + --middle-green: #52aa5e; /* for the main heading and links*/ + --turquoise-green: #a0d0a7; /* for links in their hover state*/ + --amaranth: #ef2d56; /* just for the support heart in its hoverstate */ + + /* THEME */ + /* COLOURS */ + --page-title-color: var(--middle-green); + --link-color: var(--middle-green); + --link-hover-color: var(--turquise-green) + --body-background-color: var(--rich-black); + --article-background-color: var(--eerie-black); + --text-color: var(--dark-medium-gray); + --nav-link-color: var(--text-color); + --nav-link-color-hover: var(--platinum); + /* FONT SIZES */ + --font-size: 1.7rem; + --page-title-font-size: 3.6rem; + --card-background-hover: var(--charleston-green) +} + + + + + + + +html { + font-size: 10px; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; + -webkit-font-smoothing: antialiased; +} + +body { + background-color: #000; + color: var(--text-color); + font-family: "Ubuntu"; + font-size: var(--font-size); + display: flex; + flex-flow: column nowrap; + justify-content: space-between; + padding: 2rem; + width: 100%; +} + +.page-title { + font-weight: 300; + font-size: var(--page-title-font-size); +} + +.page-title a { + color: var(--page-title-color); + text-decoration: none; +} + +.page-title a:hover { + color: var(--link-hover-color); +} + +.site-header { + margin-bottom: 2rem; + display: flex; + flex-flow: row nowrap; + width: 100%; + align-items: center; + justify-content: space-between; +} + +.site-navigation ul { + display: flex; + gap: 3rem; + list-style: none; + font-size: 1.4rem; +} +.site-navigation a{ + text-decoration: none; + color: var(--nav-link-color); +} +.site-navigation a:hover{ + text-decoration: none; + color: var(--nav-link-color-hover); +} + +.main { + width:100%; + text-align:center; +} + +.view-cards { + display: flex; + flex-flow: column nowrap; + align-items: center; + gap:3rem; +} + +.view-card { + background: var(--article-background-color); + padding: 3rem; /*replace this with a variable */ + border-radius: 1rem; + text-decoration: none; + color: var(--text-color); + font-size: 3rem; + font-weight: 300; + text-align: center; + width: 700px; +} + +.view-card:hover { + color: var(--link-color-hover); + background-color: var(--card-background-hover) +} + diff --git a/src/templates/default.ori.html b/src/templates/default.ori.html new file mode 100644 index 0000000..9ee79a9 --- /dev/null +++ b/src/templates/default.ori.html @@ -0,0 +1,13 @@ + + + + + + + ${ templates/partials/header.ori.html() } +
+ ${ _ } +
+ ${ templates/partials/footer.ori.html() } + + \ No newline at end of file diff --git a/src/templates/partials/footer.ori.html b/src/templates/partials/footer.ori.html new file mode 100644 index 0000000..9c7479d --- /dev/null +++ b/src/templates/partials/footer.ori.html @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/templates/partials/header.ori.html b/src/templates/partials/header.ori.html new file mode 100644 index 0000000..566a792 --- /dev/null +++ b/src/templates/partials/header.ori.html @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/src/templates/partials/navigation.ori.html b/src/templates/partials/navigation.ori.html new file mode 100644 index 0000000..7d48ad7 --- /dev/null +++ b/src/templates/partials/navigation.ori.html @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/src/templates/partials/view-card.ori.html b/src/templates/partials/view-card.ori.html new file mode 100644 index 0000000..a2236c6 --- /dev/null +++ b/src/templates/partials/view-card.ori.html @@ -0,0 +1,3 @@ + + ${ _/title } + \ No newline at end of file diff --git a/src/templates/partials/view-cards.ori.html b/src/templates/partials/view-cards.ori.html new file mode 100644 index 0000000..45ba242 --- /dev/null +++ b/src/templates/partials/view-cards.ori.html @@ -0,0 +1,3 @@ +
+ ${map(data/views, (view)=>templates/partials/view-card.ori.html(view))} +
\ No newline at end of file diff --git a/src/views.ori b/src/views.ori new file mode 100644 index 0000000..de68e3f --- /dev/null +++ b/src/views.ori @@ -0,0 +1,4 @@ +{ + index.html = templates/default.ori.html(templates/partials/view-cards.ori.html(data/views)) + ...map(data/views, (view)=>templates/default.ori.html(mdHtml(view))) +}