Skip to content

Commit

Permalink
Shuffle content location
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrythall committed Mar 15, 2024
1 parent 7702a77 commit a4c9525
Show file tree
Hide file tree
Showing 306 changed files with 236 additions and 152 deletions.
29 changes: 29 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Copyright (c) Django Events Foundation North America (DEFNA) and individual
contributors.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of DEFNA nor the names of its contributors may be used
to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0Looking
37 changes: 36 additions & 1 deletion eleventy.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
const Image = require('@11ty/eleventy-img');
const path = require('path');

module.exports = (config) => {
/*
* Setup collections
Expand All @@ -24,7 +27,8 @@ module.exports = (config) => {
* Setup passthrough file copy
* https://www.11ty.dev/docs/copy/
*/
config.addPassthroughCopy('src/assets/img/**/*');
config.addPassthroughCopy("src/assets/img/**/*");
//config.addPassthroughCopy({"src/content/organizers/*.+(jpg|jpeg|png|webp)": "organizers/"});

/*
* Custom watch targets
Expand All @@ -35,6 +39,37 @@ module.exports = (config) => {
/*
* Misc config
*/
config.addLiquidShortcode("image", async function(
src,
outputDir,
urlPath,
alt,
sizes,
classes = "") {
let metadata = await Image(src, {
widths: [300, 600],
formats: ["webp"],
outputDir,
urlPath,
filenameFormat: function (id, src, width, format, options) {
// Get the original filename without the extension
const originalFilename = path.basename(src, path.extname(src));

// Return the new filename
return `${originalFilename}-${width}.${format}`;
},
});

let imageAttributes = {
class: classes,
alt,
sizes,
loading: "lazy",
decoding: "async",
};

return Image.generateHTML(metadata, imageAttributes);
});

return {
dir: {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"conference"
],
"author": "DEFNA",
"license": "MIT",
"bugs": {
"url": "https://github.com/djangocon/durham.djangocon.us/issues"
},
Expand Down
35 changes: 22 additions & 13 deletions src/_layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html lang="en">
<html lang="en" class="h-screen">

<head>
<meta charset="utf-8">
Expand Down Expand Up @@ -30,24 +30,20 @@
<link rel="stylesheet" href="/assets/css/main.css">
</head>

<body class="bg-gray-50">
<body class="bg-gray-50 h-screen flex flex-col">
<header class="bg-white py-4">
<nav class="container px-4 mx-auto">
<ul class="flex flex-col gap-2 lg:flex-row lg:gap-8">
<ul class="flex flex-col gap-2 lg:flex-row lg:gap-8 lg:items-center">
<li aria-hidden="true" class="lg:mr-auto">
<a
href="/"
aria-label="Go to homepage">
<img src="/assets/img/theme/logo.svg" alt="DjangoCon US" class="h-16">
<img src="/assets/img/logo.svg" alt="DjangoCon US" class="h-16">
</a>
</li>
<li class="lg:sr-only"><a href="/">Home</a></li>
<li>
<a href="/about">About</a>
<ul>
<li><a href="/organizers">Organizers</a></li>
</ul>
</li>
<li><a href="/about">About</a></li>
<li><a href="/organizers">Organizers</a></li>
<li><a href="/venue">Venue</a></li>
<li><a href="/schedule">Schedule</a></li>
<li><a href="/sponsors">Sponsors</a></li>
Expand All @@ -57,8 +53,21 @@
</nav>
</header>

{% block content %}
{{- content -}}
{% endblock %}
<div class="flex-1">
{% block content %}
{{- content -}}
{% endblock %}
</div>

<footer class="bg-gray-200">
<div class="container px-4 mx-auto py-8">
<small class="text-center text-xs">
&copy; 2024 DjangoCon US
· Design by <a href="http://yupgup.com/">YupGup</a>
· Presented by <a href="https://www.defna.org/">DEFNA</a>
· <a href="/colophon/">Colophon</a>
</small>
</div>
</footer>
</body>
</html>
2 changes: 1 addition & 1 deletion src/_layouts/presenter.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
layout: default
templateClass: layout-speaker
templateClass: layout-presenter
---
6 changes: 4 additions & 2 deletions src/assets/css/main.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@import "tailwindcss/base";

@import "tailwindcss/components";

@import "tailwindcss/utilities";

.grid-cols-123 {
grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
Binary file added src/assets/favicons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/favicons/favicon.ico
Binary file not shown.
Binary file added src/assets/favicons/favicon.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
Binary file removed src/assets/img/organizers/lacey.jpg
Binary file not shown.
File renamed without changes
3 changes: 1 addition & 2 deletions src/content/organizers/abigail-afi-gbadago.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
github: AfiMaameDufie
layout: default
name: Abigail Afi Gbadago
photo_url: /static/img/organizers/afi.jpeg
photo: abigail-afi-gbadago.jpeg
role: Program Committee, Website Committee
twitter: afi_maame
---
File renamed without changes
4 changes: 2 additions & 2 deletions src/content/organizers/adam-fast.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
github: adamfast
layout: default

name: Adam Fast
photo_url: /static/img/organizers/adam.jpg
photo: adam-fast.jpg
role: A/V Chair, Code of Conduct team
twitter: adamcanfly
website: http://www.adamfast.com/
Expand Down
File renamed without changes
4 changes: 2 additions & 2 deletions src/content/organizers/aditya-dhoot.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
github: adityadhoot
layout: default

mastodon: null
name: Aditya Dhoot
photo_url: /static/img/organizers/aditya.jpg
photo: aditya-dhoot.jpg
role: Program team
twitter: null
website: null
Expand Down
File renamed without changes
4 changes: 2 additions & 2 deletions src/content/organizers/adrienne-franke.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
github: adriennefranke
layout: default

mastodon: https://mastodon.world/@adriennefranke
name: Adrienne Franke
photo_url: /static/img/organizers/adrienne.jpg
photo: adrienne-franke.jpg
role: Code of Conduct co-chair
twitter: adriennefranke
website: https://adriennefranke.com
Expand Down
File renamed without changes
4 changes: 2 additions & 2 deletions src/content/organizers/benedict-kofi-amofah.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
github: iamDREAMO-BenedictKofiAmofah
layout: default

mastodon: https://mastodon.world/@iamDREAMO
name: Benedict kofi Amofah
photo_url: /static/img/organizers/benedict.jpg
photo: benedict-kofi-amofah.jpg
role: Opportunity Grants Team, Online Conference Team, Communication Team
twitter: iamDREAMO
website: ''
Expand Down
File renamed without changes
4 changes: 2 additions & 2 deletions src/content/organizers/carol-ganz.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
github: ''
layout: default

name: Carol Ganz
photo_url: /static/img/organizers/carol-ganz.jpg
photo: carol-ganz.jpg
role: DEFNA Director, Opportunity Grants Chair, Code of Conduct team
twitter: crlganz
website: https://www.sixfeetup.com/
Expand Down
4 changes: 2 additions & 2 deletions src/content/organizers/catherine-holmes.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
github: ''
layout: default

name: Catherine Holmes
photo_url: /static/img/organizers/catherine.png
photo: catherine-holmes.png
role: Sponsors & Tickets Chair, Code of Conduct team
twitter: ''
website: ''
Expand Down
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions src/content/organizers/david-fischer.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
github: davidfischer
hidden: true
layout: default

name: David Fischer
photo_url: /static/img/organizers/davidfischer.jpg
photo: david-fischer.jpg
role: Onsite Coordinator
---
File renamed without changes
4 changes: 2 additions & 2 deletions src/content/organizers/dawn-wages.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
github: dawnwages
layout: default

mastodon: https://mastodon.online/@fly00gemini8712
name: Dawn Wages
photo_url: /static/img/organizers/dawn.jpg
photo: dawn-wages.jpg
role: Sponsors Chair, Code of Conduct team
twitter: dawnwagessays
website: http://www.dawnwages.info/
Expand Down
File renamed without changes
4 changes: 2 additions & 2 deletions src/content/organizers/drew-winstel.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
github: drewbrew
layout: default

mastodon: https://mastodon.cloud/@drewbrew
name: Drew Winstel
photo_url: /static/img/organizers/drew.jpg
photo: drew-winstel.jpg
role: DEFNA Vice President, Program Co-Chair, Opportunity Grants team, Code of Conduct
team
twitter: ''
Expand Down
4 changes: 2 additions & 2 deletions src/content/organizers/emmanuel-owusu.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
github: eowusu14
layout: default

mastodon: ''
name: Emmanuel Owusu
photo_url: /static/img/organizers/owusu.png
photo: emmanuel-owusu.png
role: Community Team, Opportunity Grants Team
twitter: owusu_e1
website: ''
Expand Down
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions src/content/organizers/erin-mullaney.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
github: emullaney
layout: default

mastodon: https://fosstodon.org/@erinrachel
name: Erin Mullaney
photo_url: /static/img/organizers/erin-mullaney.jpg
photo: erin-mullaney.jpg
role: Public Health chair
twitter: _erin_rachel
website: ''
Expand Down
File renamed without changes
4 changes: 2 additions & 2 deletions src/content/organizers/ezra-yendau.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
github: Ezi-code
layout: default

mastodon: https://mastodon.world/@ezra_yendau
name: Ezra Yendau
photo_url: /static/img/organizers/ezra.jpg
photo: ezra-yendau.jpg
role: Opportunity Grants Team, Social Team
twitter: ezra_yendau
website: ''
Expand Down
4 changes: 2 additions & 2 deletions src/content/organizers/hama-barhamou.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
github: HamaBarhamou
layout: default

name: ISSAKA HAMA Barhamou
photo_url: /static/img/organizers/barhamou.png
photo: hama-barhamou.png
role: Website team
twitter: hama_barhamou
website: https://hamabarhamou.github.io/monCV/
Expand Down
File renamed without changes
4 changes: 2 additions & 2 deletions src/content/organizers/hope-adoli.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
github: hopeadoli
layout: default

name: Hope Adoli
photo_url: /static/img/organizers/hope-adoli.png
photo: hope-adoli.png
role: Website, Social media/communications, Swags
twitter: uxkafui
website: https://www.uxkafui.co/
Expand Down
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions src/content/organizers/jason-judkins.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
github: jcjudkins
layout: default

mastodon: https://fosstodon.org/@jjudkins
name: Jason Judkins
photo_url: /static/img/organizers/jason-judkins.jpg
photo: jason-judkins.jpg
role: Marketing Chair, Community Chair, Social Events co-chair
twitter: jjudkins77
---
File renamed without changes
4 changes: 2 additions & 2 deletions src/content/organizers/jeff-triplett.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
github: jefftriplett
layout: default

mastodon: https://mastodon.social/@webology
name: Jeff Triplett
photo_url: /static/img/organizers/jeff.jpg
photo: jeff-triplett.jpg
role: DEFNA Cofounder, Code of Conduct team
twitter: webology
website: https://jefftriplett.com/
Expand Down
File renamed without changes
4 changes: 2 additions & 2 deletions src/content/organizers/jennifer-myers.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
github: ''
layout: default

name: Jennifer Myers
photo_url: /static/img/organizers/jennifer-myers.jpg
photo: jennifer-myers.jpg
role: DEFNA Treasurer
twitter: ''
website: https://www.sixfeetup.com/
Expand Down
File renamed without changes
4 changes: 2 additions & 2 deletions src/content/organizers/jorge-gimeno.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
github: jlgimeno
layout: default

name: Jorge Gimeno
photo_url: /static/img/organizers/jorge.jpg
photo: jorge-gimeno.jpg
role: Onsite Coordinator, Code of Conduct team
twitter: JorgeGimeno8
website: ''
Expand Down
File renamed without changes
Loading

0 comments on commit a4c9525

Please sign in to comment.