Skip to content

Commit

Permalink
initial events structure and pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mingness committed Jun 2, 2024
1 parent 23b8d15 commit 65f2bf6
Show file tree
Hide file tree
Showing 67 changed files with 311 additions and 501 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ _site/
# Ignore folders generated by Bundler
.bundle/
vendor/
node_modules/

.idea/
.vscode/
14 changes: 2 additions & 12 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,8 @@ collections:
people:
sort_by: full_name
# output: true # uncomment if want member pages
communities:
order:
- tapeover.md
- xemantic.md
- artiststop.md
- ccb.md
- openrndr.md
- processing.md
- toplap.md
- livecodera.md
- schoolofma.md
- vetra.md

future: true

# plugins:
# - jekyll-sitemap
Expand Down
2 changes: 1 addition & 1 deletion _includes/figure.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<figure>
<img src="images/{{ include.src }}" alt="{{ include.title }}" title="{{ include.title }}">
<img src="{{ include.src }}" alt="{{ include.title }}" title="{{ include.title }}">
<figcaption>{{ include.title }}</figcaption>
</figure>
2 changes: 1 addition & 1 deletion _includes/navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
<!-- <div class="hidden block sm:flex sm:flex-row sm:space-x-12" id="menu"> -->
<div class="hidden sm:flex" id="menu">
<ul class="sm:flex sm:flex-row sm:space-x-12">
<ul class="sm:flex sm:flex-row sm:space-x-12 list-none">
<li><a href="/events/">events</a></li>
<li><a href="/people/">people</a></li>
<li><a href="/about/">about</a></li>
Expand Down
3 changes: 0 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
<meta name="description" content="{{ page.description }}">
{% endif %}
<meta name="viewport" content="width=device-width, initial-scale=1">
{% if page.add-js %}
<script src="/assets/js/{{ page.add-js }}"></script>
{% endif %}
</head>

<body>
Expand Down
51 changes: 51 additions & 0 deletions _layouts/event.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
layout: default
---
<div class="flex justify-center">
<div class="flex-col mx-12 lg:max-w-6xl items-center">

<header class="flex flex-col mt-28 mb-16 mx-28 text-center font-prachtsaal">
<h1>{{ page.title }}</h1>
{% if page.subtitle %}
<h2 class="text-sm my-2">{{ page.subtitle }}<br>{{ page.date | date: "%d %B %Y" }}</h2>
{% endif %}
<div>
{% if page.quote %}
<div class="mt-16 text-2xl sm:text-3xl font-bold text-gray-400">"{{ page.quote }}"</div>
{% endif %}
{% if page.quote_author %}
<div class="mt-4 text-end font-bold">{{ page.quote_author }}</div>
{% if page.quote_author_role %}
<div class="text-end">{{ page.quote_author_role }}</div>
{% endif %}
{% endif %}
</div>
</header>

<div class="flex flex-col items-center">
{% if page.main_image %}
<img src="{{ page.main_image }}">
{% endif %}


<div class="my-16 md:w-[650px] md:columns-2 gap-4 text-justify">
{{ content | markdownify }}
</div>

{% if page.link%}
<div class="text-center bg-purple-300 border-2 border-gray-200">
<a href="{{ page.link }}" class="font-bold m-2">{{ page.link_text }}</a>
</div>
{% endif %}

{% if page.images%}
<div class="grid grid-flow-row sm:grid-cols-2 lg:grid-cols-3 justify-center gap-2">
{% for image in page.images %}
{% include figure.html src=image.file title=image.label%}
{% endfor %}
</div>
{% endif %}
</div>

</div>
</div>
4 changes: 4 additions & 0 deletions assets/css/source.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ h2 {

.nav-y {
@apply my-6
}

ul {
@apply list-disc list-inside
}
123 changes: 88 additions & 35 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,10 @@ video {
margin: 4rem;
}

.m-2{
margin: 0.5rem;
}

.m-28{
margin: 7rem;
}
Expand All @@ -572,15 +576,16 @@ video {
margin: 2rem;
}

.m-14{
margin: 3.5rem;
}

.mx-12{
margin-left: 3rem;
margin-right: 3rem;
}

.mx-28{
margin-left: 7rem;
margin-right: 7rem;
}

.mx-8{
margin-left: 2rem;
margin-right: 2rem;
Expand All @@ -591,6 +596,15 @@ video {
margin-bottom: 4rem;
}

.my-2{
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}

.mb-16{
margin-bottom: 4rem;
}

.mb-28{
margin-bottom: 7rem;
}
Expand All @@ -607,6 +621,14 @@ video {
margin-top: 0.5rem;
}

.mt-28{
margin-top: 7rem;
}

.mt-4{
margin-top: 1rem;
}

.mt-8{
margin-top: 2rem;
}
Expand Down Expand Up @@ -654,12 +676,8 @@ video {
height: 24rem;
}

.h-72{
height: 18rem;
}

.h-auto{
height: auto;
.w-3\/4{
width: 75%;
}

.w-6{
Expand All @@ -674,18 +692,6 @@ video {
width: 100%;
}

.w-96{
width: 24rem;
}

.w-1\/2{
width: 50%;
}

.w-3\/4{
width: 75%;
}

.max-w-32{
max-width: 8rem;
}
Expand All @@ -698,9 +704,8 @@ video {
cursor: pointer;
}

.columns-2{
-moz-columns: 2;
columns: 2;
.list-none{
list-style-type: none;
}

.grid-flow-row{
Expand Down Expand Up @@ -759,11 +764,30 @@ video {
gap: 2rem;
}

.border-2{
border-width: 2px;
}

.border-black{
--tw-border-opacity: 1;
border-color: rgb(0 0 0 / var(--tw-border-opacity));
}

.border-gray-200{
--tw-border-opacity: 1;
border-color: rgb(229 231 235 / var(--tw-border-opacity));
}

.bg-black{
--tw-bg-opacity: 1;
background-color: rgb(0 0 0 / var(--tw-bg-opacity));
}

.bg-purple-300{
--tw-bg-opacity: 1;
background-color: rgb(216 180 254 / var(--tw-bg-opacity));
}

.bg-\[url\(\'\/assets\/img\/home\/404_crop\.jpeg\'\)\]{
background-image: url('/assets/img/home/404_crop.jpeg');
}
Expand All @@ -786,6 +810,10 @@ video {
object-fit: cover;
}

.p-14{
padding: 3.5rem;
}

.p-16{
padding: 4rem;
}
Expand All @@ -808,6 +836,14 @@ video {
text-align: center;
}

.text-justify{
text-align: justify;
}

.text-end{
text-align: end;
}

.font-prachtsaal{
font-family: Outfit;
}
Expand All @@ -816,11 +852,21 @@ video {
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.text-2xl{
font-size: 1.5rem;
line-height: 2rem;
}

.text-lg{
font-size: 1.125rem;
line-height: 1.75rem;
}

.text-sm{
font-size: 0.875rem;
line-height: 1.25rem;
}

.font-bold{
font-weight: 700;
}
Expand Down Expand Up @@ -860,6 +906,11 @@ h2{
margin-bottom: 1.5rem;
}

ul{
list-style-position: inside;
list-style-type: disc;
}

@media (min-width: 640px){
.sm\:flex{
display: flex;
Expand Down Expand Up @@ -891,27 +942,33 @@ h2{
padding-left: 6rem;
padding-right: 6rem;
}

.sm\:text-3xl{
font-size: 1.875rem;
line-height: 2.25rem;
}
}

@media (min-width: 768px){
.md\:w-\[650px\]{
width: 650px;
}

.md\:w-1\/2{
width: 50%;
.md\:columns-2{
-moz-columns: 2;
columns: 2;
}

.md\:grid-cols-2{
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.md\:flex-row{
flex-direction: row;
}
}

@media (min-width: 1024px){
.lg\:w-1\/2{
width: 50%;
}

.lg\:w-32{
width: 8rem;
}
Expand All @@ -920,10 +977,6 @@ h2{
width: 16rem;
}

.lg\:w-1\/2{
width: 50%;
}

.lg\:max-w-6xl{
max-width: 72rem;
}
Expand Down
File renamed without changes
File renamed without changes
Binary file added assets/img/events/2024-48hoursNK-group-shot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading

0 comments on commit 65f2bf6

Please sign in to comment.