33 <header >
44 <section class =" project" >
55 <h2 class =" credits" >
6- Background art by
6+ Background art by
77 <template v-if =" project .author_url " >
88 <a :href =" project.author_url" >{{ project.author }}</a >
99 </template >
1212 </template >
1313 </h2 >
1414 <div class =" display" >
15- <iframe
16- :style =" { transform: `scale(${project.scale})` }"
17- :src =" project.url"
18- >
15+ <iframe :style =" { transform: `scale(${project.scale})` }" :src =" project.url" >
1916 </iframe >
2017 </div >
2118 </section >
22- <svg
23- width =" 49"
24- height =" 65"
25- viewBox =" 0 0 49 65"
26- fill =" none"
27- xmlns =" http://www.w3.org/2000/svg"
28- class =" logo"
29- >
30- <path
31- d =" M13.248 26.64C10.688 26.64 8.4 26.064 6.384 24.912C4.4 23.728 2.832 22.144 1.68 20.16C0.56 18.144 0 15.872 0 13.344C0 10.752 0.56 8.448 1.68 6.432C2.8 4.416 4.336 2.848 6.288 1.728C8.24 0.575999 10.48 0 13.008 0C14.896 0 16.624 0.368 18.192 1.104C19.76 1.808 21.168 2.88 22.416 4.32C22.864 4.832 23.024 5.36 22.896 5.904C22.768 6.448 22.416 6.928 21.84 7.344C21.392 7.664 20.896 7.776 20.352 7.68C19.808 7.552 19.312 7.264 18.864 6.816C17.296 5.152 15.344 4.32 13.008 4.32C11.376 4.32 9.936 4.704 8.688 5.472C7.44 6.208 6.464 7.248 5.76 8.592C5.056 9.936 4.704 11.52 4.704 13.344C4.704 15.072 5.056 16.608 5.76 17.952C6.496 19.296 7.504 20.368 8.784 21.168C10.064 21.936 11.552 22.32 13.248 22.32C14.368 22.32 15.344 22.192 16.176 21.936C17.04 21.648 17.824 21.216 18.528 20.64C19.04 20.224 19.568 20 20.112 19.968C20.656 19.904 21.136 20.048 21.552 20.4C22.096 20.848 22.4 21.36 22.464 21.936C22.528 22.48 22.336 22.976 21.888 23.424C19.584 25.568 16.704 26.64 13.248 26.64Z"
32- />
33- <path
34- d="M13.224 64.128C10.728 64.128 8.488 63.552 6.504 62.4C4.52 61.216 2.952 59.616 1.8 57.6C0.648 55.584 0.0560002 53.312 0.0240002 50.784V28.896C0.0240002 28.16 0.248 27.568 0.696 27.12C1.176 26.672 1.768 26.448 2.472 26.448C3.208 26.448 3.8 26.672 4.248 27.12C4.696 27.568 4.92 28.16 4.92 28.896V41.856C6.04 40.512 7.384 39.456 8.952 38.688C10.552 37.888 12.296 37.488 14.184 37.488C16.52 37.488 18.616 38.08 20.472 39.264C22.328 40.416 23.784 42 24.84 44.016C25.928 46 26.472 48.256 26.472 50.784C26.472 53.312 25.88 55.584 24.696 57.6C23.544 59.616 21.976 61.216 19.992 62.4C18.008 63.552 15.752 64.128 13.224 64.128ZM13.224 59.808C14.856 59.808 16.312 59.424 17.592 58.656C18.872 57.856 19.88 56.768 20.616 55.392C21.384 54.016 21.768 52.48 21.768 50.784C21.768 49.056 21.384 47.52 20.616 46.176C19.88 44.832 18.872 43.776 17.592 43.008C16.312 42.208 14.856 41.808 13.224 41.808C11.624 41.808 10.168 42.208 8.856 43.008C7.576 43.776 6.568 44.832 5.832 46.176C5.096 47.52 4.728 49.056 4.728 50.784C4.728 52.48 5.096 54.016 5.832 55.392C6.568 56.768 7.576 57.856 8.856 58.656C10.168 59.424 11.624 59.808 13.224 59.808Z"
35- />
36- <path
37- d =" M45.008 25.968L27.296 15.36C26.432 14.816 26 14.08 26 13.152C26 12.32 26.432 11.6 27.296 10.992L45.008 0.336C45.872 -0.112 46.704 -0.112 47.504 0.336C48.304 0.751998 48.704 1.424 48.704 2.352C48.704 3.312 48.304 4.032 47.504 4.512L31.328 14.112V12.048L47.504 21.744C48.304 22.256 48.704 22.96 48.704 23.856C48.704 24.496 48.496 25.04 48.08 25.488C47.696 25.904 47.216 26.176 46.64 26.304C46.064 26.4 45.52 26.288 45.008 25.968Z"
38- />
19+ <svg width =" 49" height =" 65" viewBox =" 0 0 49 65" fill =" none" xmlns =" http://www.w3.org/2000/svg" class =" logo" >
20+ <path
21+ d =" M13.248 26.64C10.688 26.64 8.4 26.064 6.384 24.912C4.4 23.728 2.832 22.144 1.68 20.16C0.56 18.144 0 15.872 0 13.344C0 10.752 0.56 8.448 1.68 6.432C2.8 4.416 4.336 2.848 6.288 1.728C8.24 0.575999 10.48 0 13.008 0C14.896 0 16.624 0.368 18.192 1.104C19.76 1.808 21.168 2.88 22.416 4.32C22.864 4.832 23.024 5.36 22.896 5.904C22.768 6.448 22.416 6.928 21.84 7.344C21.392 7.664 20.896 7.776 20.352 7.68C19.808 7.552 19.312 7.264 18.864 6.816C17.296 5.152 15.344 4.32 13.008 4.32C11.376 4.32 9.936 4.704 8.688 5.472C7.44 6.208 6.464 7.248 5.76 8.592C5.056 9.936 4.704 11.52 4.704 13.344C4.704 15.072 5.056 16.608 5.76 17.952C6.496 19.296 7.504 20.368 8.784 21.168C10.064 21.936 11.552 22.32 13.248 22.32C14.368 22.32 15.344 22.192 16.176 21.936C17.04 21.648 17.824 21.216 18.528 20.64C19.04 20.224 19.568 20 20.112 19.968C20.656 19.904 21.136 20.048 21.552 20.4C22.096 20.848 22.4 21.36 22.464 21.936C22.528 22.48 22.336 22.976 21.888 23.424C19.584 25.568 16.704 26.64 13.248 26.64Z" />
22+ <path
23+ d="M13.224 64.128C10.728 64.128 8.488 63.552 6.504 62.4C4.52 61.216 2.952 59.616 1.8 57.6C0.648 55.584 0.0560002 53.312 0.0240002 50.784V28.896C0.0240002 28.16 0.248 27.568 0.696 27.12C1.176 26.672 1.768 26.448 2.472 26.448C3.208 26.448 3.8 26.672 4.248 27.12C4.696 27.568 4.92 28.16 4.92 28.896V41.856C6.04 40.512 7.384 39.456 8.952 38.688C10.552 37.888 12.296 37.488 14.184 37.488C16.52 37.488 18.616 38.08 20.472 39.264C22.328 40.416 23.784 42 24.84 44.016C25.928 46 26.472 48.256 26.472 50.784C26.472 53.312 25.88 55.584 24.696 57.6C23.544 59.616 21.976 61.216 19.992 62.4C18.008 63.552 15.752 64.128 13.224 64.128ZM13.224 59.808C14.856 59.808 16.312 59.424 17.592 58.656C18.872 57.856 19.88 56.768 20.616 55.392C21.384 54.016 21.768 52.48 21.768 50.784C21.768 49.056 21.384 47.52 20.616 46.176C19.88 44.832 18.872 43.776 17.592 43.008C16.312 42.208 14.856 41.808 13.224 41.808C11.624 41.808 10.168 42.208 8.856 43.008C7.576 43.776 6.568 44.832 5.832 46.176C5.096 47.52 4.728 49.056 4.728 50.784C4.728 52.48 5.096 54.016 5.832 55.392C6.568 56.768 7.576 57.856 8.856 58.656C10.168 59.424 11.624 59.808 13.224 59.808Z" />
24+ <path
25+ d =" M45.008 25.968L27.296 15.36C26.432 14.816 26 14.08 26 13.152C26 12.32 26.432 11.6 27.296 10.992L45.008 0.336C45.872 -0.112 46.704 -0.112 47.504 0.336C48.304 0.751998 48.704 1.424 48.704 2.352C48.704 3.312 48.304 4.032 47.504 4.512L31.328 14.112V12.048L47.504 21.744C48.304 22.256 48.704 22.96 48.704 23.856C48.704 24.496 48.496 25.04 48.08 25.488C47.696 25.904 47.216 26.176 46.64 26.304C46.064 26.4 45.52 26.288 45.008 25.968Z" />
3926 </svg >
4027 <h1 >Creative Code Berlin</h1 >
4128 </header >
4532
4633<script setup>
4734import projects from ' assets/projects' ;
48- import redirects from ' assets/redirects ' ;
35+ import redirects from ' assets/links ' ;
4936
5037const projectIndex = useCookie (' projectIndex' , {
5138 default : () => Math .floor (Math .random () * projects .length ),
@@ -80,15 +67,17 @@ useHead(() => ({
8067
8168
8269<style lang="scss">
83- :root {
70+ :root {
8471 --primary : #cb5955 ;
8572 --foreground : black ;
8673 --background : white ;
87- & .black {
74+
75+ & .black {
8876 --foreground : white ;
8977 --background : black ;
9078 }
91- & .white {
79+
80+ & .white {
9281 --foreground : black ;
9382 --background : white ;
9483 }
@@ -100,53 +89,67 @@ useHead(() => ({
10089 background : var (--background );
10190 font : 1em / 1.5em Comfortaa;
10291}
103- html ,body {
92+
93+ html ,
94+ body {
10495 margin : 0 ;
10596}
106- ul {
97+
98+ ul {
10799 list-style : none ;
108100 margin : 0 ;
109101 padding : 0 ;
110102}
111- h1 ,h2 {
103+
104+ h1 ,
105+ h2 {
112106 margin : 0 ;
113107}
114- a {
108+
109+ a {
115110 color : var (--foreground );
116111 text-decoration : none ;
117- & :link {
112+
113+ & :link {
118114 color : var (--primary );
119115 }
120- & :visited {
116+
117+ & :visited {
121118 color : var (--primary );
122119 }
123120}
124121 </style >
125122
126123<style lang="scss" scoped>
127- .app {
124+ .app {
128125 position : relative ;
129126 z-index : 0 ;
130- & .black {
127+
128+ & .black {
131129 --foreground : white ;
132130 --background : black ;
133131 }
132+
134133 @media screen and (min-width : 800px ) {
135134 display : flex ;
136135 }
137136}
138- header {
137+
138+ header {
139139 height : 100vh ;
140140 position : relative ;
141+
141142 @media screen and (min-width : 800px ) {
142143 position : static ;
143144 }
145+
144146 display : flex ;
145147 flex-direction : column ;
146148 margin-bottom : -8em ;
147149
148150 flex : 1 ;
149- .logo {
151+
152+ .logo {
150153 mix-blend-mode : difference ;
151154 width : 50vw ;
152155 height : 50vw ;
@@ -155,20 +158,24 @@ header{
155158 margin : 0 auto ;
156159 fill : var (--primary );
157160 animation : pop- in 0.35s 1 ;
158- .white & {
161+
162+ .white & {
159163 filter : invert (1 );
160164 }
161165 }
162- h1 {
166+
167+ h1 {
163168 font-size : 0em ;
164169 }
165170}
166- .project {
167- .credits {
171+
172+ .project {
173+ .credits {
168174 font-size : 1rem ;
169175 padding : var (--pad );
170176 }
171- .display {
177+
178+ .display {
172179 position : absolute ;
173180 top : 0 ;
174181 left : 0 ;
@@ -178,7 +185,8 @@ header{
178185
179186 overflow : hidden ;
180187 pointer-events : none ;
181- iframe {
188+
189+ iframe {
182190 width : 100% ;
183191 height : 100% ;
184192 border : 0 ;
0 commit comments