Remove portfolio before adding as submodule
12
portfolio/.gitignore
vendored
|
|
@ -1,12 +0,0 @@
|
|||
node_modules
|
||||
*.log*
|
||||
.nuxt
|
||||
.nitro
|
||||
.cache
|
||||
.output
|
||||
.env
|
||||
dist
|
||||
.DS_Store
|
||||
.fleet
|
||||
.idea
|
||||
session-ses_*.md
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
shamefully-hoist=true
|
||||
strict-peer-dependencies=false
|
||||
|
|
@ -1,131 +0,0 @@
|
|||
# AGENTS.md - Agent Coding Guidelines
|
||||
|
||||
This document provides guidelines for agents working on this codebase.
|
||||
|
||||
## Project Overview
|
||||
|
||||
- **Framework**: Nuxt 3 (Vue 3)
|
||||
- **Styling**: Tailwind CSS
|
||||
- **State Management**: Pinia
|
||||
- **UI Components**: Headless UI + Nuxt Icon
|
||||
- **Image Handling**: @nuxt/image
|
||||
- **TypeScript**: Enabled (tsconfig extends .nuxt/tsconfig.json)
|
||||
- **Storybook**: Available for component documentation
|
||||
|
||||
## Build Commands
|
||||
|
||||
```bash
|
||||
# Development
|
||||
npm run dev # Start development server
|
||||
npm run build # Build for production
|
||||
npm run generate # Generate static site (SSG)
|
||||
npm run preview # Preview production build
|
||||
|
||||
# No test framework configured
|
||||
```
|
||||
|
||||
## Code Style Guidelines
|
||||
|
||||
### General Conventions
|
||||
|
||||
- Use Vue 3 Composition API with `<script setup lang="ts">`
|
||||
- TypeScript is preferred for new files; stores use JavaScript (.js)
|
||||
- Follow Nuxt 3 auto-import conventions (no explicit imports for composables, components, etc.)
|
||||
|
||||
### File Organization
|
||||
|
||||
```
|
||||
/pages/ - Page components (file-based routing)
|
||||
/components/ - Vue components (auto-imported)
|
||||
/layouts/ - Layout components
|
||||
/server/api/ - Server API routes (Nitro)
|
||||
/stores/ - Pinia stores (.js files)
|
||||
/assets/ - Static assets
|
||||
/public/ - Public static files
|
||||
```
|
||||
|
||||
### Naming Conventions
|
||||
|
||||
- **Components**: PascalCase (e.g., `Modal.vue`, `IconButton.vue`)
|
||||
- **Files**: kebab-case for pages, PascalCase for components
|
||||
- **Stores**: CamelCase (e.g., `ModalStore.js`, `AudioPlayerStore.js`)
|
||||
- **Props/Emits**: camelCase
|
||||
|
||||
### Component Patterns
|
||||
|
||||
```vue
|
||||
<script setup lang="ts">
|
||||
// Use withDefaults for optional props
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
modelValue?: boolean
|
||||
persistent?: boolean
|
||||
}>(),
|
||||
{
|
||||
modelValue: false,
|
||||
persistent: false,
|
||||
},
|
||||
)
|
||||
|
||||
// Use type-only emits
|
||||
const emit = defineEmits<{
|
||||
(e: 'update:modelValue', value: boolean): void
|
||||
}>()
|
||||
|
||||
// Use toRefs for reactive destructuring
|
||||
const { modelValue } = toRefs(props)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<!-- Template content -->
|
||||
</template>
|
||||
```
|
||||
|
||||
### Tailwind CSS
|
||||
|
||||
- Use Tailwind utility classes for all styling
|
||||
- Common classes used: `flex`, `grid`, `fixed`, `relative`, `z-*`, `p-*`, `m-*`, `text-*`, etc.
|
||||
|
||||
### API Routes (Server)
|
||||
|
||||
```typescript
|
||||
// server/api/example.ts
|
||||
export default defineEventHandler((event) => {
|
||||
// Handle request and return data
|
||||
})
|
||||
```
|
||||
|
||||
### Store Patterns (Pinia)
|
||||
|
||||
```javascript
|
||||
// stores/ExampleStore.js
|
||||
import { defineStore } from "pinia"
|
||||
|
||||
export const useExampleStore = defineStore("ExampleStore", {
|
||||
state: () => ({ count: 0 }),
|
||||
actions: {
|
||||
increment() {
|
||||
this.count++
|
||||
}
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
### Error Handling
|
||||
|
||||
- Use try/catch in API routes
|
||||
- Return appropriate HTTP status codes
|
||||
- Handle undefined/null values gracefully
|
||||
|
||||
### Imports
|
||||
|
||||
- Vue/composables: Use Nuxt auto-imports (no import needed)
|
||||
- External modules: Explicit import
|
||||
- Server-only: Place in `/server/` directory
|
||||
- Path aliases: `@/` maps to project root
|
||||
|
||||
### Additional Notes
|
||||
|
||||
- Project uses Storybook (`.stories.ts` files) for component documentation
|
||||
- Environment variables should use `.env` files (not committed)
|
||||
- Image domains configured for `unboundedpress.org` in nuxt.config.ts
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
# Build stage
|
||||
FROM node:22-alpine AS build
|
||||
ARG PASSWORD
|
||||
ENV PASSWORD=${PASSWORD}
|
||||
WORKDIR /src
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
# Runtime stage
|
||||
FROM node:22-alpine
|
||||
WORKDIR /src
|
||||
RUN apk add --no-cache bash
|
||||
COPY --from=build /src/.output ./.output
|
||||
ENV NITRO_HOST=0.0.0.0
|
||||
ENV NITRO_PORT=5000
|
||||
EXPOSE 5000
|
||||
CMD ["node", ".output/server/index.mjs"]
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
# Build Stage 1
|
||||
|
||||
FROM node:22-alpine AS build
|
||||
WORKDIR /src
|
||||
|
||||
RUN corepack enable
|
||||
|
||||
# Copy package.json and your lockfile, here we add pnpm-lock.yaml for illustration
|
||||
COPY package.json .npmrc ./
|
||||
|
||||
# Install dependencies
|
||||
RUN pnpm i
|
||||
|
||||
# Copy the entire project
|
||||
COPY . ./
|
||||
|
||||
# Build the project
|
||||
RUN pnpm run build
|
||||
|
||||
# Build Stage 2
|
||||
|
||||
FROM node:22-alpine
|
||||
WORKDIR /src
|
||||
|
||||
# Only `.output` folder is needed from the build stage
|
||||
COPY --from=build /src/.output/ ./
|
||||
|
||||
# Change the port and host
|
||||
ENV PORT=5000
|
||||
ENV HOST=0.0.0.0
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["node", "/app/server/index.mjs"]
|
||||
|
|
@ -1,674 +0,0 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
{one line to give the program's name and a brief idea of what it does.}
|
||||
Copyright (C) {year} {name of author}
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
{project} Copyright (C) {year} {fullname}
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
|
|
@ -1,119 +0,0 @@
|
|||
# Portfolio
|
||||
|
||||
Michael Winter's portfolio website - a Nuxt 3 application.
|
||||
|
||||
## ⚠️ Important
|
||||
|
||||
This portfolio contains the majority of my life's work - compositions, performances, publications, and research.
|
||||
|
||||
**Before making any changes:**
|
||||
- Ensure you have a backup
|
||||
- Test changes in development first
|
||||
- Be careful with data deletions
|
||||
|
||||
## Overview
|
||||
|
||||
- **Framework**: Nuxt 4 (Vue 3, TypeScript, Tailwind CSS)
|
||||
- **Data**: JSON files in `server/data/`
|
||||
- **Admin**: Password-protected admin panel at `/admin`
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Node.js 22+
|
||||
- npm
|
||||
|
||||
## Quick Start
|
||||
|
||||
```bash
|
||||
# 1. Install dependencies
|
||||
npm install
|
||||
|
||||
# 2. Create .env file
|
||||
cp .env_template .env
|
||||
# Edit .env with your values
|
||||
|
||||
# 3. Start development server
|
||||
npm run dev
|
||||
```
|
||||
|
||||
## Environment Variables (.env)
|
||||
|
||||
| Variable | Description | Example |
|
||||
|----------|-------------|---------|
|
||||
| PASSWORD | Admin password | ************ |
|
||||
|
||||
## Development
|
||||
|
||||
```bash
|
||||
npm run dev # Start development server
|
||||
npm run build # Build for production
|
||||
npm run generate # Generate static site
|
||||
npm run preview # Preview production build
|
||||
```
|
||||
|
||||
## Docker Deployment
|
||||
|
||||
The portfolio runs in Docker as part of the main unboundedpress stack.
|
||||
|
||||
### Build & Start
|
||||
|
||||
```bash
|
||||
cd ..
|
||||
docker compose up -d portfolio
|
||||
```
|
||||
|
||||
### Updating Admin Password
|
||||
|
||||
1. Edit `.env` in main repo:
|
||||
```
|
||||
PASSWORD=your_new_password
|
||||
```
|
||||
|
||||
2. Rebuild and restart:
|
||||
```bash
|
||||
docker compose up -d --build portfolio
|
||||
```
|
||||
|
||||
## Data Management
|
||||
|
||||
Data is stored in JSON files in `server/data/`:
|
||||
|
||||
- `works.json` - Musical works
|
||||
- `events.json` - Events and performances
|
||||
- `publications.json` - Publications
|
||||
- `resume.json` - CV/resume
|
||||
- `talks.json` - Talks and lectures
|
||||
- `releases.json` - Album releases
|
||||
- `album_art/` - Album cover images
|
||||
- `scores/` - PDF scores
|
||||
- `images/` - Gallery images
|
||||
|
||||
### Editing Data
|
||||
|
||||
1. Via Admin Panel: Visit `/admin` and login
|
||||
2. Direct JSON Edit: Edit files in `server/data/` directly
|
||||
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
portfolio/
|
||||
├── server/
|
||||
│ ├── api/ # Server API routes
|
||||
│ └── data/ # JSON data files
|
||||
├── pages/ # Vue pages (file-based routing)
|
||||
├── components/ # Vue components
|
||||
├── layouts/ # Layout components
|
||||
├── public/ # Static assets (scores, images)
|
||||
├── stores/ # Pinia stores
|
||||
├── .env # Environment variables (not in repo)
|
||||
└── .env_template # Template for .env
|
||||
```
|
||||
|
||||
## Tech Stack
|
||||
|
||||
- [Nuxt](https://nuxt.com/)
|
||||
- [Vue 3](https://vuejs.org/)
|
||||
- [Tailwind CSS](https://tailwindcss.com/)
|
||||
- [Pinia](https://pinia.vuejs.org/)
|
||||
- [Nuxt Image](https://image.nuxt.com/)
|
||||
- [Headless UI](https://headlessui.com/)
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
export const schemas = {
|
||||
works: {
|
||||
title: { type: 'text', label: 'Title' },
|
||||
date: { type: 'text', label: 'Date' },
|
||||
type: { type: 'text', label: 'Type' },
|
||||
score: { type: 'text', label: 'Score URL' },
|
||||
gallery: { type: 'text', label: 'Gallery' },
|
||||
soundcloud_trackid: { type: 'text', label: 'SoundCloud Track ID' },
|
||||
vimeo_trackid: { type: 'text', label: 'Vimeo Track ID' },
|
||||
instrument_tags: { type: 'text', label: 'Instrument Tags' },
|
||||
priority: { type: 'number', label: 'Priority' }
|
||||
},
|
||||
publications: {
|
||||
citationKey: { type: 'text', label: 'Citation Key' },
|
||||
entryType: { type: 'text', label: 'Entry Type' },
|
||||
entryTags: { type: 'textarea', label: 'Entry Tags (JSON)' }
|
||||
},
|
||||
events: {
|
||||
title: { type: 'text', label: 'Title' },
|
||||
start_date: { type: 'text', label: 'Start Date' },
|
||||
end_date: { type: 'text', label: 'End Date' },
|
||||
location: { type: 'text', label: 'Location' },
|
||||
type: { type: 'text', label: 'Type' },
|
||||
program: { type: 'textarea', label: 'Program' },
|
||||
works_list: { type: 'textarea', label: 'Works List' }
|
||||
},
|
||||
releases: {
|
||||
title: { type: 'text', label: 'Title' },
|
||||
year: { type: 'text', label: 'Year' },
|
||||
album_art: { type: 'text', label: 'Album Art' },
|
||||
discogs_id: { type: 'text', label: 'Discogs ID' },
|
||||
buy_link: { type: 'text', label: 'Buy Link' },
|
||||
spotify_id: { type: 'text', label: 'Spotify ID' }
|
||||
},
|
||||
talks: {
|
||||
title: { type: 'text', label: 'Title' },
|
||||
date: { type: 'text', label: 'Date' },
|
||||
location: { type: 'text', label: 'Location' },
|
||||
type: { type: 'text', label: 'Type' }
|
||||
}
|
||||
}
|
||||
|
||||
export const collections = [
|
||||
{ key: 'works', label: 'Works', file: 'works.json' },
|
||||
{ key: 'publications', label: 'Publications', file: 'publications.json' },
|
||||
{ key: 'events', label: 'Events', file: 'events.json' },
|
||||
{ key: 'releases', label: 'Releases', file: 'releases.json' },
|
||||
{ key: 'talks', label: 'Talks', file: 'talks.json' }
|
||||
]
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
<template>
|
||||
<div class="bg-white min-w-[800px] min-h-[80vh]">
|
||||
<NuxtLayout>
|
||||
<NuxtPage/>
|
||||
</NuxtLayout>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
useHead({
|
||||
titleTemplate: 'Michael Winter'
|
||||
})
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.page-enter-active,
|
||||
.page-leave-active {
|
||||
transition: all 0.2s;
|
||||
}
|
||||
.page-enter-from,
|
||||
.page-leave-to {
|
||||
opacity: 0;
|
||||
filter: blur(1rem);
|
||||
}
|
||||
</style>
|
||||
|
Before Width: | Height: | Size: 4.1 MiB |
|
|
@ -1,313 +0,0 @@
|
|||
<script>
|
||||
export default {
|
||||
name: 'CollapseTransition',
|
||||
|
||||
props: {
|
||||
name: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: 'collapse',
|
||||
},
|
||||
dimension: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: 'height',
|
||||
validator: (value) => {
|
||||
return ['height', 'width'].includes(value)
|
||||
},
|
||||
},
|
||||
duration: {
|
||||
type: Number,
|
||||
required: false,
|
||||
default: 300,
|
||||
},
|
||||
easing: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: 'ease-in-out',
|
||||
},
|
||||
},
|
||||
|
||||
emits: ['before-appear', 'appear', 'after-appear', 'appear-cancelled', 'before-enter', 'enter', 'after-enter', 'enter-cancelled', 'before-leave', 'leave', 'after-leave', 'leave-cancelled'],
|
||||
|
||||
data() {
|
||||
return {
|
||||
cachedStyles: null,
|
||||
}
|
||||
},
|
||||
|
||||
computed: {
|
||||
transition() {
|
||||
const transitions = []
|
||||
|
||||
Object.keys(this.cachedStyles).forEach((key) => {
|
||||
transitions.push(
|
||||
`${this.convertToCssProperty(key)} ${this.duration}ms ${this.easing}`,
|
||||
)
|
||||
})
|
||||
|
||||
return transitions.join(', ')
|
||||
},
|
||||
},
|
||||
|
||||
watch: {
|
||||
dimension() {
|
||||
this.clearCachedDimensions()
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
beforeAppear(el) {
|
||||
// Emit the event to the parent
|
||||
this.$emit('before-appear', el)
|
||||
},
|
||||
|
||||
appear(el) {
|
||||
// Emit the event to the parent
|
||||
this.$emit('appear', el)
|
||||
},
|
||||
|
||||
afterAppear(el) {
|
||||
// Emit the event to the parent
|
||||
this.$emit('after-appear', el)
|
||||
},
|
||||
|
||||
appearCancelled(el) {
|
||||
// Emit the event to the parent
|
||||
this.$emit('appear-cancelled', el)
|
||||
},
|
||||
|
||||
beforeEnter(el) {
|
||||
// Emit the event to the parent
|
||||
this.$emit('before-enter', el)
|
||||
},
|
||||
|
||||
enter(el, done) {
|
||||
// Because width and height may be 'auto',
|
||||
// first detect and cache the dimensions
|
||||
this.detectAndCacheDimensions(el)
|
||||
|
||||
// The order of applying styles is important:
|
||||
// - 1. Set styles for state before transition
|
||||
// - 2. Force repaint
|
||||
// - 3. Add transition style
|
||||
// - 4. Set styles for state after transition
|
||||
// If the order is not right and you open any 2nd level submenu
|
||||
// for the first time, the transition will not work.
|
||||
this.setClosedDimensions(el)
|
||||
this.hideOverflow(el)
|
||||
this.forceRepaint(el)
|
||||
this.setTransition(el)
|
||||
this.setOpenedDimensions(el)
|
||||
|
||||
// Emit the event to the parent
|
||||
this.$emit('enter', el, done)
|
||||
|
||||
// Call done() when the transition ends
|
||||
// to trigger the @after-enter event.
|
||||
setTimeout(done, this.duration)
|
||||
},
|
||||
|
||||
afterEnter(el) {
|
||||
// Clean up inline styles
|
||||
this.unsetOverflow(el)
|
||||
this.unsetTransition(el)
|
||||
this.unsetDimensions(el)
|
||||
this.clearCachedDimensions()
|
||||
|
||||
// Emit the event to the parent
|
||||
this.$emit('after-enter', el)
|
||||
},
|
||||
|
||||
enterCancelled(el) {
|
||||
// Emit the event to the parent
|
||||
this.$emit('enter-cancelled', el)
|
||||
},
|
||||
|
||||
beforeLeave(el) {
|
||||
// Emit the event to the parent
|
||||
this.$emit('before-leave', el)
|
||||
},
|
||||
|
||||
leave(el, done) {
|
||||
// For some reason, @leave triggered when starting
|
||||
// from open state on page load. So for safety,
|
||||
// check if the dimensions have been cached.
|
||||
this.detectAndCacheDimensions(el)
|
||||
|
||||
// The order of applying styles is less important
|
||||
// than in the enter phase, as long as we repaint
|
||||
// before setting the closed dimensions.
|
||||
// But it is probably best to use the same
|
||||
// order as the enter phase.
|
||||
this.setOpenedDimensions(el)
|
||||
this.hideOverflow(el)
|
||||
this.forceRepaint(el)
|
||||
this.setTransition(el)
|
||||
this.setClosedDimensions(el)
|
||||
|
||||
// Emit the event to the parent
|
||||
this.$emit('leave', el, done)
|
||||
|
||||
// Call done() when the transition ends
|
||||
// to trigger the @after-leave event.
|
||||
// This will also cause v-show
|
||||
// to reapply 'display: none'.
|
||||
setTimeout(done, this.duration)
|
||||
},
|
||||
|
||||
afterLeave(el) {
|
||||
// Clean up inline styles
|
||||
this.unsetOverflow(el)
|
||||
this.unsetTransition(el)
|
||||
this.unsetDimensions(el)
|
||||
this.clearCachedDimensions()
|
||||
|
||||
// Emit the event to the parent
|
||||
this.$emit('after-leave', el)
|
||||
},
|
||||
|
||||
leaveCancelled(el) {
|
||||
// Emit the event to the parent
|
||||
this.$emit('leave-cancelled', el)
|
||||
},
|
||||
|
||||
detectAndCacheDimensions(el) {
|
||||
// Cache actual dimensions
|
||||
// only once to void invalid values when
|
||||
// triggering during a transition
|
||||
if (this.cachedStyles)
|
||||
return
|
||||
|
||||
const visibility = el.style.visibility
|
||||
const display = el.style.display
|
||||
|
||||
// Trick to get the width and
|
||||
// height of a hidden element
|
||||
el.style.visibility = 'hidden'
|
||||
el.style.display = ''
|
||||
|
||||
this.cachedStyles = this.detectRelevantDimensions(el)
|
||||
|
||||
// Restore any original styling
|
||||
el.style.visibility = visibility
|
||||
el.style.display = display
|
||||
},
|
||||
|
||||
clearCachedDimensions() {
|
||||
this.cachedStyles = null
|
||||
},
|
||||
|
||||
detectRelevantDimensions(el) {
|
||||
// These properties will be transitioned
|
||||
if (this.dimension === 'height') {
|
||||
return {
|
||||
height: `${el.offsetHeight}px`,
|
||||
paddingTop:
|
||||
el.style.paddingTop || this.getCssValue(el, 'padding-top'),
|
||||
paddingBottom:
|
||||
el.style.paddingBottom || this.getCssValue(el, 'padding-bottom'),
|
||||
}
|
||||
}
|
||||
|
||||
if (this.dimension === 'width') {
|
||||
return {
|
||||
width: `${el.offsetWidth}px`,
|
||||
paddingLeft:
|
||||
el.style.paddingLeft || this.getCssValue(el, 'padding-left'),
|
||||
paddingRight:
|
||||
el.style.paddingRight || this.getCssValue(el, 'padding-right'),
|
||||
}
|
||||
}
|
||||
|
||||
return {}
|
||||
},
|
||||
|
||||
setTransition(el) {
|
||||
el.style.transition = this.transition
|
||||
},
|
||||
|
||||
unsetTransition(el) {
|
||||
el.style.transition = ''
|
||||
},
|
||||
|
||||
hideOverflow(el) {
|
||||
el.style.overflow = 'hidden'
|
||||
},
|
||||
|
||||
unsetOverflow(el) {
|
||||
el.style.overflow = ''
|
||||
},
|
||||
|
||||
setClosedDimensions(el) {
|
||||
Object.keys(this.cachedStyles).forEach((key) => {
|
||||
el.style[key] = '0'
|
||||
})
|
||||
},
|
||||
|
||||
setOpenedDimensions(el) {
|
||||
Object.keys(this.cachedStyles).forEach((key) => {
|
||||
el.style[key] = this.cachedStyles[key]
|
||||
})
|
||||
},
|
||||
|
||||
unsetDimensions(el) {
|
||||
Object.keys(this.cachedStyles).forEach((key) => {
|
||||
el.style[key] = ''
|
||||
})
|
||||
},
|
||||
|
||||
forceRepaint(el) {
|
||||
// Force repaint to make sure the animation is triggered correctly.
|
||||
// Thanks: https://markus.oberlehner.net/blog/transition-to-height-auto-with-vue/
|
||||
// eslint-disable-next-line no-unused-expressions
|
||||
getComputedStyle(el)[this.dimension]
|
||||
},
|
||||
|
||||
getCssValue(el, style) {
|
||||
return getComputedStyle(el, null).getPropertyValue(style)
|
||||
},
|
||||
|
||||
convertToCssProperty(style) {
|
||||
// Example: convert 'paddingTop' to 'padding-top'
|
||||
// Thanks: https://gist.github.com/tan-yuki/3450323
|
||||
const upperChars = style.match(/([A-Z])/g)
|
||||
|
||||
if (!upperChars)
|
||||
return style
|
||||
|
||||
for (let i = 0, n = upperChars.length; i < n; i++) {
|
||||
style = style.replace(
|
||||
new RegExp(upperChars[i]),
|
||||
`-${upperChars[i].toLowerCase()}`,
|
||||
)
|
||||
}
|
||||
|
||||
if (style.slice(0, 1) === '-')
|
||||
style = style.slice(1)
|
||||
|
||||
return style
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<transition
|
||||
:name="name"
|
||||
@before-appear="beforeAppear"
|
||||
@appear="appear"
|
||||
@after-appear="afterAppear"
|
||||
@appear-cancelled="appearCancelled"
|
||||
@before-enter="beforeEnter"
|
||||
@enter="enter"
|
||||
@after-enter="afterEnter"
|
||||
@enter-cancelled="enterCancelled"
|
||||
@before-leave="beforeLeave"
|
||||
@leave="leave"
|
||||
@after-leave="afterLeave"
|
||||
@leave-cancelled="leaveCancelled"
|
||||
>
|
||||
<slot />
|
||||
</transition>
|
||||
</template>
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
import type { Story } from '@storybook/vue3'
|
||||
import Collapsible from './Collapsible.vue'
|
||||
|
||||
export default {
|
||||
title: 'Components/Collapsible',
|
||||
component: Collapsible,
|
||||
args: {
|
||||
modelValue: false,
|
||||
title: 'Item',
|
||||
content: 'lorem ipsum dolor sit amet',
|
||||
},
|
||||
}
|
||||
|
||||
const Template: Story = (args, { argTypes }) => ({
|
||||
components: { Collapsible },
|
||||
setup() {
|
||||
return { args, argTypes }
|
||||
},
|
||||
template: `
|
||||
<Collapsible v-bind="args"/>
|
||||
`,
|
||||
})
|
||||
|
||||
export const Default = Template.bind({})
|
||||
Default.args = {}
|
||||
|
|
@ -1,91 +0,0 @@
|
|||
<script lang="ts" setup>
|
||||
import { Disclosure, DisclosureButton, DisclosurePanel } from '@headlessui/vue'
|
||||
import { ref, toRefs, watch } from 'vue'
|
||||
import CollapseTransition from './CollapseTransition.vue'
|
||||
import Modal from '../Modal/Modal.vue';
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
modelValue?: boolean
|
||||
title: string
|
||||
content?: string
|
||||
classes?: {
|
||||
wrapper?: string
|
||||
button?: string
|
||||
title?: string
|
||||
panel?: string
|
||||
}
|
||||
}>(),
|
||||
{
|
||||
modelValue: false,
|
||||
},
|
||||
)
|
||||
|
||||
const emit = defineEmits([
|
||||
'update:modelValue',
|
||||
'change',
|
||||
'toggle',
|
||||
'open',
|
||||
'close',
|
||||
])
|
||||
|
||||
const { modelValue } = toRefs(props)
|
||||
const isOpen = ref(modelValue.value)
|
||||
|
||||
watch(modelValue, (val) => {
|
||||
isOpen.value = val
|
||||
})
|
||||
|
||||
watch(isOpen, (val) => {
|
||||
emit('update:modelValue', val)
|
||||
emit('change', val)
|
||||
|
||||
if (val)
|
||||
emit('open')
|
||||
else
|
||||
emit('close')
|
||||
})
|
||||
|
||||
const toggle = () => {
|
||||
emit('toggle')
|
||||
isOpen.value = !isOpen.value
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Disclosure v-slot="{ open }" as="div">
|
||||
<DisclosureButton
|
||||
class="
|
||||
flex
|
||||
items-center
|
||||
justify-between
|
||||
w-full
|
||||
text-left
|
||||
rounded-lg
|
||||
focus:outline-none
|
||||
focus-visible:ring
|
||||
focus-visible:ring-blue-50
|
||||
focus-visible:ring-opacity-75
|
||||
"
|
||||
:class="classes?.button"
|
||||
type="button"
|
||||
@click="toggle"
|
||||
>
|
||||
<div class="inline-flex w-full">
|
||||
<Icon
|
||||
name="heroicons:chevron-down"
|
||||
:class="isOpen ? 'transform rotate-180' : ''"
|
||||
class="w-5 h-5 text-black"
|
||||
/>
|
||||
<slot name="title"></slot>
|
||||
</div>
|
||||
</DisclosureButton>
|
||||
<CollapseTransition>
|
||||
<div v-show="isOpen">
|
||||
<DisclosurePanel static class="pb-2 text-15" :class="classes?.panel">
|
||||
<slot name="content"></slot>
|
||||
</DisclosurePanel>
|
||||
</div>
|
||||
</CollapseTransition>
|
||||
</Disclosure>
|
||||
</template>
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
import type { Story } from '@storybook/vue3'
|
||||
import CollapsibleGroup from './CollapsibleGroup.vue'
|
||||
|
||||
const genItems = (length = 5): any[] =>
|
||||
Array.from({ length }, (_, v) => ({
|
||||
title: `Item ${v + 1}`,
|
||||
content: `lorem ipsum ${v + 1}`,
|
||||
}))
|
||||
|
||||
const items = genItems(5)
|
||||
|
||||
export default {
|
||||
title: 'Components/CollapsibleGroup',
|
||||
component: CollapsibleGroup,
|
||||
args: {
|
||||
modelValue: false,
|
||||
accordion: false,
|
||||
items,
|
||||
},
|
||||
}
|
||||
|
||||
const Template: Story = (args, { argTypes }) => ({
|
||||
components: { CollapsibleGroup },
|
||||
setup() {
|
||||
return { args, argTypes }
|
||||
},
|
||||
template: `
|
||||
<CollapsibleGroup v-bind="args"/>
|
||||
`,
|
||||
})
|
||||
|
||||
export const Default = Template.bind({})
|
||||
Default.args = {}
|
||||
|
||||
export const Accordion = Template.bind({})
|
||||
Accordion.args = {
|
||||
accordion: true,
|
||||
}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
<script lang="ts" setup>
|
||||
import { Disclosure, DisclosureButton, DisclosurePanel } from '@headlessui/vue'
|
||||
import { ref, toRefs, watch } from 'vue'
|
||||
import Collapsible from './Collapsible.vue'
|
||||
|
||||
interface CollapsibleItem {
|
||||
title: string
|
||||
content: string
|
||||
isOpen?: boolean
|
||||
}
|
||||
|
||||
const props
|
||||
= defineProps<{
|
||||
items?: CollapsibleItem[]
|
||||
classes?: {
|
||||
wrapper?: string
|
||||
button?: string
|
||||
title?: string
|
||||
panel?: string
|
||||
}
|
||||
accordion?: boolean
|
||||
}>()
|
||||
|
||||
const { items } = toRefs(props)
|
||||
|
||||
const children = ref(props.items)
|
||||
|
||||
watch(items, (val) => {
|
||||
children.value = val
|
||||
})
|
||||
|
||||
const onToggle = (item: CollapsibleItem) => {
|
||||
if (props.accordion) {
|
||||
children.value.forEach((child) => {
|
||||
child.isOpen = false
|
||||
})
|
||||
item.isOpen = true
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="w-full p-2" :class="classes?.wrapper">
|
||||
<slot>
|
||||
<Collapsible
|
||||
v-for="(item, idx) in children"
|
||||
:key="idx"
|
||||
v-bind="item"
|
||||
v-model="item.isOpen"
|
||||
@toggle="onToggle(item)"
|
||||
/>
|
||||
</slot>
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
<template>
|
||||
<Swiper
|
||||
:autoHeight="true"
|
||||
:loop="true"
|
||||
:spaceBetween="30"
|
||||
:centeredSlides="true"
|
||||
:autoplay="{
|
||||
delay: 6000,
|
||||
disableOnInteraction: false,
|
||||
pauseOnMouseEnter: true
|
||||
}"
|
||||
:effect="'fade'"
|
||||
:fadeEffect="{
|
||||
crossFade: true
|
||||
}"
|
||||
:pagination="{
|
||||
clickable: true,
|
||||
}"
|
||||
|
||||
:style="{
|
||||
'--swiper-navigation-color': 'rgb(71 85 105)',
|
||||
'--swiper-pagination-color': 'rgb(71 85 105)',
|
||||
'--swiper-pagination-bottom': '0%'
|
||||
}"
|
||||
:modules="[SwiperAutoplay, SwiperPagination, SwiperNavigation, SwiperEffectFade]"
|
||||
>
|
||||
|
||||
<SwiperSlide v-for="(item, index) in upcoming_events" class="bg-zinc-100 h-full">
|
||||
<div class="gap-1 w-[100%] mt-1 mb-1 text-sm h-full">
|
||||
<div>
|
||||
{{ item.formatted_date }}: {{item.venue.city}}, {{item.venue.state}}
|
||||
<div class="text-[#7F7F7F]">
|
||||
{{ item.venue.name }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Comment
|
||||
<div v-for="performance in item.program">
|
||||
<div class="italic text-sm ml-16 pt-1">{{performance.work}}</div>
|
||||
<div v-if="performance.ensemble" class="ml-20">
|
||||
{{ performance.ensemble }}
|
||||
</div>
|
||||
<div v-for="performer in performance.performers" class="ml-20">
|
||||
{{ performer.name }} -
|
||||
<span v-for="(instrument, index) in performer.instrument_tags">
|
||||
<span v-if="index !== 0">, </span>
|
||||
{{ instrument }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
</SwiperSlide>
|
||||
|
||||
</Swiper>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ['upcoming_events']
|
||||
}
|
||||
</script>
|
||||
|
|
@ -1,66 +0,0 @@
|
|||
<template>
|
||||
<div class="inline-flex p-1 min-w-[25px]">
|
||||
<div v-show="visible" class="bg-black rounded-full text-xs inline-flex" >
|
||||
|
||||
<button v-if="type === 'score'" @click="modalStore.setModalProps('pdf', 'aspect-[1/1.414]', true, '', '', '', link, work.soundcloud_trackid ? 'https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/' + work.soundcloud_trackid + '&auto_play=true&show_user=false' : '')" class="inline-flex p-1">
|
||||
<Icon name="ion:book-sharp" style="color: white" />
|
||||
</button>
|
||||
|
||||
<a v-else-if="type === 'document'" :href="isExternalLink ? link : undefined" :target="isExternalLink ? '_blank' : undefined" :rel="isExternalLink ? 'noopener noreferrer' : undefined" @click="openDocument()" class="inline-flex p-1 cursor-pointer">
|
||||
<Icon name="ion:book-sharp" style="color: white" />
|
||||
</a>
|
||||
|
||||
<a v-else-if="type === 'buy'" :href="link" :target="newTab ? '_blank' : undefined" :rel="newTab ? 'noopener noreferrer' : undefined" class="inline-flex p-1 cursor-pointer">
|
||||
<Icon name="bxs:purchase-tag" style="color: white" />
|
||||
</a>
|
||||
|
||||
<NuxtLink v-else-if="type === 'email'" class="inline-flex p-1" :to="link">
|
||||
<Icon name="ic:baseline-email" style="color: white" />
|
||||
</NuxtLink>
|
||||
|
||||
<a v-else-if="type === 'discogs'" :href="link" :target="newTab ? '_blank' : undefined" :rel="newTab ? 'noopener noreferrer' : undefined" class="inline-flex p-1 cursor-pointer">
|
||||
<Icon name="simple-icons:discogs" style="color: white" />
|
||||
</a>
|
||||
|
||||
<button @click="audioPlayerStore.setSoundCloudTrackID(work.soundcloud_trackid)" v-else-if="type === 'audio'" class="inline-flex p-1">
|
||||
<Icon name="wpf:speaker" style="color: white" />
|
||||
</button>
|
||||
|
||||
<button @click="modalStore.setModalProps('video', 'aspect-video', true, '', '', work.vimeo_trackid)" v-else-if="type === 'video'" class="inline-flex p-1">
|
||||
<Icon name="fluent:video-48-filled" style="color: white" />
|
||||
</button>
|
||||
|
||||
<button @click="modalStore.setModalProps('image', 'aspect-auto', true, 'images', work.gallery, '', '', work.soundcloud_trackid ? 'https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/' + work.soundcloud_trackid + '&auto_play=true&show_user=false' : '')" v-else="type === 'image'" class="inline-flex p-1">
|
||||
<Icon name="mdi:camera" style="color: white" />
|
||||
</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { useAudioPlayerStore } from "@/stores/AudioPlayerStore"
|
||||
import { useModalStore } from "@/stores/ModalStore"
|
||||
import { computed } from "vue"
|
||||
|
||||
const props = defineProps(['type', 'work', 'visible', 'link', 'newTab'])
|
||||
|
||||
const audioPlayerStore = useAudioPlayerStore()
|
||||
const modalStore = useModalStore()
|
||||
|
||||
const isExternalLink = computed(() => {
|
||||
return props.link && !props.link.endsWith('.pdf') && !props.link.startsWith('/')
|
||||
})
|
||||
|
||||
const isInternalPage = computed(() => {
|
||||
return props.link && props.link.startsWith('/') && !props.link.endsWith('.pdf')
|
||||
})
|
||||
|
||||
const openDocument = () => {
|
||||
if (props.link?.endsWith('.pdf')) {
|
||||
modalStore.setModalProps('pdf', 'aspect-[1/1.414]', true, '', '', '', props.link)
|
||||
} else if (props.link?.startsWith('/')) {
|
||||
modalStore.setModalProps('document', 'aspect-[1/1.414]', true, '', '', '', '', '', props.link)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
<template>
|
||||
<Swiper
|
||||
:autoHeight="true"
|
||||
:loop="true"
|
||||
:spaceBetween="30"
|
||||
:centeredSlides="true"
|
||||
:autoplay="{
|
||||
delay: 4000,
|
||||
disableOnInteraction: false,
|
||||
pauseOnMouseEnter: true
|
||||
}"
|
||||
:pagination="{
|
||||
clickable: true,
|
||||
}"
|
||||
:navigation="true"
|
||||
:style="{
|
||||
'--swiper-navigation-color': 'rgb(71 85 105)',
|
||||
'--swiper-pagination-color': 'rgb(71 85 105)',
|
||||
'--swiper-pagination-bottom': 'auto',
|
||||
'--swiper-pagination-top': '1rem',
|
||||
'--swiper-navigation-top-offset': '5rem'
|
||||
}"
|
||||
:modules="[SwiperAutoplay, SwiperPagination, SwiperNavigation]"
|
||||
class="h-full flex items-center justify-center"
|
||||
>
|
||||
|
||||
<SwiperSlide v-for="image in gallery" class="!flex !items-center !justify-center !h-auto !py-10 !bg-zinc-100">
|
||||
<NuxtImg :src="'/' + bucket + '/' + image.image"
|
||||
style="max-width: calc(100% - 80px); max-height: 70vh; object-fit: contain;"/>
|
||||
</SwiperSlide>
|
||||
</Swiper>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ['gallery', 'bucket']
|
||||
}
|
||||
</script>
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<template>
|
||||
<div class="fixed inset-0 bg-black/50 z-15 transition duration-300" />
|
||||
</template>
|
||||
|
|
@ -1,113 +0,0 @@
|
|||
<script setup lang="ts">
|
||||
import { ref } from 'vue'
|
||||
import {
|
||||
Dialog,
|
||||
DialogPanel,
|
||||
TransitionChild,
|
||||
TransitionRoot,
|
||||
} from '@headlessui/vue'
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
modelValue?: boolean
|
||||
persistent?: boolean
|
||||
fullscreen?: boolean
|
||||
maxHeight?: string
|
||||
}>(),
|
||||
{
|
||||
modelValue: false,
|
||||
persistent: false,
|
||||
fullscreen: false,
|
||||
maxHeight: '85vh',
|
||||
},
|
||||
)
|
||||
|
||||
const emit = defineEmits<{
|
||||
(e: 'update:modelValue', value: boolean): void
|
||||
}>()
|
||||
|
||||
const { modelValue } = toRefs(props)
|
||||
|
||||
const isOpen = ref(modelValue.value)
|
||||
|
||||
watch(modelValue, (value) => {
|
||||
isOpen.value = value
|
||||
})
|
||||
|
||||
function closeModal() {
|
||||
isOpen.value = false
|
||||
}
|
||||
|
||||
function openModal() {
|
||||
isOpen.value = true
|
||||
}
|
||||
|
||||
function onModalClose() {
|
||||
if (!props.persistent)
|
||||
closeModal()
|
||||
}
|
||||
|
||||
watch(isOpen, (value) => {
|
||||
emit('update:modelValue', value)
|
||||
})
|
||||
|
||||
const api = {
|
||||
isOpen,
|
||||
open: openModal,
|
||||
close: closeModal,
|
||||
}
|
||||
|
||||
provide('modal', api)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
<slot name="activator" :open="openModal" :on="{ click: openModal }" />
|
||||
|
||||
<TransitionRoot appear :show="isOpen" as="template">
|
||||
<Dialog as="div" class="relative z-20" @close="onModalClose">
|
||||
<TransitionChild
|
||||
as="template"
|
||||
enter="duration-300 ease-out"
|
||||
enter-from="opacity-0"
|
||||
enter-to="opacity-100"
|
||||
leave="duration-200 ease-in"
|
||||
leave-from="opacity-100"
|
||||
leave-to="opacity-0"
|
||||
>
|
||||
<div class="fixed inset-0 bg-black bg-opacity-25" />
|
||||
</TransitionChild>
|
||||
|
||||
<div class="fixed inset-0 overflow-y-auto">
|
||||
<div
|
||||
class="flex min-h-full items-center justify-center text-center"
|
||||
:class="{
|
||||
'p-4': !fullscreen,
|
||||
}"
|
||||
>
|
||||
<TransitionChild
|
||||
as="template"
|
||||
enter="duration-300 ease-out"
|
||||
enter-from="opacity-0 scale-95"
|
||||
enter-to="opacity-100 scale-100"
|
||||
leave="duration-200 ease-in"
|
||||
leave-from="opacity-100 scale-100"
|
||||
leave-to="opacity-0 scale-95"
|
||||
>
|
||||
<DialogPanel
|
||||
class="w-full transform overflow-hidden bg-white text-left align-middle shadow-xl transition-all"
|
||||
:class="{
|
||||
'h-screen': fullscreen,
|
||||
'max-w-[min(85vw,1200px)] rounded-lg': !fullscreen,
|
||||
}"
|
||||
:style="!fullscreen ? { maxHeight } : {}"
|
||||
>
|
||||
<slot />
|
||||
</DialogPanel>
|
||||
</TransitionChild>
|
||||
</div>
|
||||
</div>
|
||||
</Dialog>
|
||||
</TransitionRoot>
|
||||
|
||||
</template>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<script setup lang="ts">
|
||||
import { DialogDescription } from '@headlessui/vue'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<DialogDescription class="px-4 py-3 text-sm text-gray-800">
|
||||
<slot />
|
||||
</DialogDescription>
|
||||
</template>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<script setup lang="ts">
|
||||
// import { ref } from 'vue'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="px-4 py-3">
|
||||
<slot />
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
<script setup lang="ts">
|
||||
import { DialogTitle } from '@headlessui/vue'
|
||||
|
||||
interface Props {
|
||||
dismissable?: boolean
|
||||
titleClass?: string
|
||||
}
|
||||
|
||||
defineProps<Props>()
|
||||
|
||||
const api = inject('modal')
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<DialogTitle
|
||||
as="div"
|
||||
class="flex gap-2 justify-between items-center px-4 pt-3"
|
||||
>
|
||||
<h3
|
||||
class="text-lg font-medium leading-6 text-gray-900"
|
||||
:class="titleClass"
|
||||
>
|
||||
<slot />
|
||||
</h3>
|
||||
<slot v-if="dismissable" name="dismissable">
|
||||
<button
|
||||
class="text-2xl text-gray-500 appearance-none px-2 -mr-2"
|
||||
@click="api.close"
|
||||
>
|
||||
×
|
||||
</button>
|
||||
</slot>
|
||||
</DialogTitle>
|
||||
</template>
|
||||
|
|
@ -1,97 +0,0 @@
|
|||
<template>
|
||||
<div class="grid grid-cols-[63%,35%] w-full font-thin sticky top-0 bg-white p-2 z-20">
|
||||
<div>
|
||||
<div class="text-5xl p-2"> <NuxtLink to='/'>michael winter</NuxtLink></div>
|
||||
<div class="inline-flex text-2xl ml-4">
|
||||
<NuxtLink class="px-3" to='/'>works</NuxtLink>
|
||||
<NuxtLink class="px-3" to='/events'>events</NuxtLink>
|
||||
<NuxtLink class="px-3" to='/about'>about</NuxtLink>
|
||||
<NuxtLink class="px-3" to='https://unboundedpress.org/code'>code</NuxtLink>
|
||||
<NuxtLink class="px-3 block" to='https://unboundedpress.org/legacy'>legacy</NuxtLink>
|
||||
</div>
|
||||
|
||||
<!-- hdp link while active -->
|
||||
<!------
|
||||
<div class="inline-flex text-2xl ml-4 font-bold">
|
||||
<NuxtLink class="px-3" to='/a_history_of_the_domino_problem'>A HISTORY OF THE DOMINO PROBLEM | 17.11 - 01.12.2023 </NuxtLink>
|
||||
</div>
|
||||
--->
|
||||
</div>
|
||||
|
||||
<!-- TODO: this needs to be automatically flipped off when there are no upcoming events-->
|
||||
<!------
|
||||
<div class="px-1 bg-zinc-100 rounded-lg text-center">
|
||||
<div class="text-sm">upcoming events</div>
|
||||
<EventSlider :upcoming_events="upcoming_events" class="max-w-[95%] min-h-[80%]"></EventSlider>
|
||||
</div>
|
||||
-->
|
||||
|
||||
</div>
|
||||
<slot /> <!-- required here only -->
|
||||
<div class="fixed bottom-0 bg-white p-2 w-full flex justify-center z-20">
|
||||
<iframe width="400rem" height="20px" scrolling="no" frameborder="no" allow="autoplay" v-if="audioPlayerStore.soundcloud_trackid !== 'undefined'"
|
||||
:src="'https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/' + audioPlayerStore.soundcloud_trackid + '&inverse=false&auto_play=true&show_user=false'"></iframe>
|
||||
</div>
|
||||
|
||||
<Modal v-model="modalStore.isOpen" :maxHeight="modalStore.type === 'image' && modalStore.soundcloudUrl ? 'calc(85vh + 60px)' : '85vh'">
|
||||
<ModalBody :class="modalStore.aspect">
|
||||
<ImageSlider v-if="modalStore.type === 'image'" :bucket="modalStore.bucket" :gallery="modalStore.gallery"></ImageSlider>
|
||||
<div v-if="modalStore.type === 'image' && modalStore.soundcloudUrl" class="flex justify-center mt-2">
|
||||
<iframe :src="modalStore.soundcloudUrl" width="400rem" height="20px" scrolling="no" frameborder="no" allow="autoplay"></iframe>
|
||||
</div>
|
||||
<div v-if="modalStore.type === 'video'" :class="modalStore.aspect" class="w-full h-full flex items-center justify-center p-4">
|
||||
<iframe :src="'https://player.vimeo.com/video/' + modalStore.vimeo_trackid" width="100%" height="100%" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen class="max-w-full max-h-full"></iframe>
|
||||
</div>
|
||||
<div v-if="modalStore.type === 'document'" class="w-full h-full">
|
||||
<iframe :src="modalStore.iframeUrl" width="100%" height="100%" frameborder="0"></iframe>
|
||||
</div>
|
||||
<div v-if="modalStore.type === 'pdf'" class="flex flex-col h-full">
|
||||
<iframe :src="modalStore.pdfUrl + '#toolbar=1&navpanes=0&sidebar=0'" width="100%" height="100%" frameborder="0" :class="[modalStore.soundcloudUrl ? 'max-h-[calc(85vh-60px)]' : 'max-h-[calc(85vh-2rem)]', 'flex-grow']"></iframe>
|
||||
<div v-if="modalStore.soundcloudUrl" class="flex justify-center mt-2">
|
||||
<iframe :src="modalStore.soundcloudUrl" width="400rem" height="20px" scrolling="no" frameborder="no" allow="autoplay"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="modalStore.type === 'pdf' || modalStore.type === 'image' || modalStore.type === 'document'" class="absolute bottom-2 right-2 z-10">
|
||||
<a :href="modalStore.type === 'pdf' ? modalStore.pdfUrl : modalStore.type === 'image' ? '/' + modalStore.bucket + '/' + modalStore.gallery[0]?.image : modalStore.type === 'document' ? modalStore.iframeUrl : undefined" target="_blank" rel="noopener noreferrer" class="p-2 bg-gray-600 rounded-lg inline-flex items-center justify-center pointer-events-auto">
|
||||
<Icon name="mdi:open-in-new" class="w-5 h-5 text-white" />
|
||||
</a>
|
||||
</div>
|
||||
</ModalBody>
|
||||
</Modal>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { useAudioPlayerStore } from "@/stores/AudioPlayerStore"
|
||||
import { useModalStore } from "@/stores/ModalStore"
|
||||
|
||||
const audioPlayerStore = useAudioPlayerStore()
|
||||
const modalStore = useModalStore()
|
||||
|
||||
const route = useRoute()
|
||||
|
||||
if(process.client && route.params.files == 'scores') {
|
||||
const { data: works } = await useFetch('/api/works', {
|
||||
transform: (works) => {
|
||||
return works.find(w => w.score === route.params.filename)
|
||||
}
|
||||
})
|
||||
if(works.value?.soundcloud_trackid){
|
||||
audioPlayerStore.setSoundCloudTrackID(works.value.soundcloud_trackid)
|
||||
} else {
|
||||
audioPlayerStore.clearSoundCloudTrackID()
|
||||
}
|
||||
}
|
||||
|
||||
const { data: upcoming_events } = await useFetch('/api/events', {
|
||||
transform: (events) => {
|
||||
const now = new Date().getTime()
|
||||
const upcoming = events.filter(e => new Date(e.start_date).getTime() >= now)
|
||||
for (const event of upcoming) {
|
||||
let date = new Date(event.start_date)
|
||||
event.formatted_date = ("0" + (date.getMonth() + 1)).slice(-2) + "." + ("0" + date.getDate()).slice(-2) + "." + date.getFullYear()
|
||||
}
|
||||
return upcoming.sort((a,b) => new Date(a.start_date) - new Date(b.start_date))
|
||||
}
|
||||
})
|
||||
|
||||
</script>
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
<template>
|
||||
<div>
|
||||
<slot />
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
runtimeConfig: {
|
||||
adminPassword: process.env.PASSWORD
|
||||
},
|
||||
modules: ['@nuxtjs/tailwindcss', '@nuxt/image', '@nuxt/icon', '@pinia/nuxt', 'nuxt-headlessui', 'nuxt-swiper', 'nuxt-umami'],
|
||||
image: {
|
||||
domains: ['unboundedpress.org']
|
||||
},
|
||||
app: {
|
||||
//baseURL: "/dev/",
|
||||
pageTransition: { name: 'page', mode: 'out-in' },
|
||||
head: {
|
||||
viewport: 'width=device-width'
|
||||
},
|
||||
},
|
||||
appConfig: {
|
||||
umami: {
|
||||
id: '51f4f246-9c2e-4a86-9ffb-7a7967d9013d',
|
||||
host: 'https://cloud.umami.is/',
|
||||
version: 2
|
||||
},
|
||||
},
|
||||
routeRules: {
|
||||
'/hdp': { redirect: '/a_history_of_the_domino_problem' },
|
||||
},
|
||||
nitro: {
|
||||
prerender: { crawlLinks: true}
|
||||
},
|
||||
experimental: {
|
||||
payloadExtraction: true
|
||||
}
|
||||
})
|
||||
13166
portfolio/package-lock.json
generated
|
|
@ -1,36 +0,0 @@
|
|||
{
|
||||
"name": "nuxt-app",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "nuxt build",
|
||||
"dev": "nuxt dev",
|
||||
"generate": "nuxt generate",
|
||||
"preview": "nuxt preview",
|
||||
"postinstall": "nuxt prepare"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@iconify-json/bxs": "^1.2.2",
|
||||
"@iconify-json/fluent": "^1.2.39",
|
||||
"@iconify-json/heroicons": "^1.2.3",
|
||||
"@iconify-json/ion": "^1.2.6",
|
||||
"@iconify-json/mdi": "^1.2.3",
|
||||
"@iconify-json/simple-icons": "^1.2.71",
|
||||
"@iconify-json/wpf": "^1.2.0",
|
||||
"@nuxt/icon": "^2.2.1",
|
||||
"@nuxt/image": "^2.0.0",
|
||||
"@nuxtjs/tailwindcss": "^6.14.0",
|
||||
"@types/node": "^25.2.3",
|
||||
"nuxt-headlessui": "^1.2.2",
|
||||
"nuxt-icon": "^1.0.0-beta.7"
|
||||
},
|
||||
"dependencies": {
|
||||
"@formkit/themes": "^1.7.2",
|
||||
"@formkit/vue": "^1.7.2",
|
||||
"@pinia/nuxt": "^0.11.3",
|
||||
"nuxt": "^4.3.1",
|
||||
"nuxt-swiper": "^1.2.2",
|
||||
"nuxt-umami": "^3.2.1",
|
||||
"pinia": "^3.0.4",
|
||||
"sharp": "^0.34.5"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,309 +0,0 @@
|
|||
<template>
|
||||
<div class="bg-contain bg-no-repeat bg-center rounded-lg m-5 gap-10 bg-[#0A0A19] py-4 text-2xl text-white py-4 mb-10 overflow-hidden" :style="{ backgroundImage: `url(${image})`}">
|
||||
<div class="rounded-lg w-full sticky top-[10px] grid grid-cols-[63%,35%]">
|
||||
<div>
|
||||
<div class="p-5 text-5xl font-bold">a history of the domino problem</div>
|
||||
|
||||
<div>
|
||||
<div class="inline-flex text-2xl ml-4 mb-5">
|
||||
<a href="#about" class="px-3">about</a>
|
||||
<a href="#exhibition" class="px-3">exhibition</a>
|
||||
<a href="#events" class="px-3">events</a>
|
||||
<a href="#participants" class="px-3">participants</a>
|
||||
</div>
|
||||
<div class="inline-flex text-2xl ml-4 mb-5">
|
||||
<a href="#media" class="px-3">media</a>
|
||||
<a href="#contributors" class="px-3">contributors</a>
|
||||
<a href="#resources" class="px-3">resources</a>
|
||||
<a href="#contact" class="px-3">contact/press</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
For the Lecture-Concert on 22 Nov 2023, Registration recommended. Sign up <NuxtLink class="text-2xl font-bold" to='https://www.eventbrite.de/e/a-history-of-the-domino-problem-lecture-concert-tickets-707700981687'>HERE</NuxtLink>.
|
||||
</div>
|
||||
</div>
|
||||
<Swiper
|
||||
:loop="true"
|
||||
:spaceBetween="30"
|
||||
:centeredSlides="true"
|
||||
:pagination="false"
|
||||
:navigation="false"
|
||||
:hashNavigation="{
|
||||
watchState: true,
|
||||
}"
|
||||
:modules="[SwiperAutoplay, SwiperPagination, SwiperNavigation, SwiperHashNavigation]"
|
||||
>
|
||||
<SwiperSlide data-hash="about" class="p-10 text-xl overflow-hidden">
|
||||
<span class="swiper-no-swiping">
|
||||
<div class="overflow-auto">
|
||||
<p class="mb-5">
|
||||
<span class="italic">a history of the domino problem</span> is a performance-installation that traces the history of an epistemological problem in mathematics about how things that one could never imagine fitting together, actually come together and unify in unexpected ways. The work comprises a set of musical compositions and a kinetic sculpture that sonify and visualize rare tilings (more commonly known as mosaics) constructed from dominoes. The dominoes in these tilings are similar yet slightly different than those used in the popular game of the same name. As opposed to rectangles divided into two regions with numbers between 1 and 6, they are squares where each of the 4 edges is assigned a number (typically represented by a corresponding color or alternatively, pattern) called <NuxtLink to='https://en.wikipedia.org/wiki/Wang_tile'>Wang tiles</NuxtLink>. Like in the game, the rule is that edges of adjacent dominoes in a tiling must match.
|
||||
</p>
|
||||
<p class="mb-5">
|
||||
The tilings sonified and visualized in <span class="italic">a history of the domino problem</span> are rare because there is no systematic way to find them. This is due to the fact that they are <NuxtLink to='https://en.wikipedia.org/wiki/Aperiodic_tiling'><span class="italic">aperiodic</span></NuxtLink>. One can think of an aperiodic tiling as an infinite puzzle with a peculiar characteristic: given unlimited copies of dominoes with a finite set of color/pattern combinations for the edges, on can form a tiling that expands infinitely. However, in that solution, any repeating structure in the tiling will eventually be interrupted. This phenomenon is one of the most intriguing aspects of the work. As the music and the visuals are derived from the tilings, the resulting textures are always shifting ever so slightly.
|
||||
</p>
|
||||
<p>
|
||||
The original Domino Problem asked if there exists an algorithm/computer program that, when given as input a finite set of dominoes with varying color combinations for the edges, can output a binary answer, `yes' or `no', whether or not copies of that set can form an infinite tiling. The problem was first posed by Hao Wang in 1961, who conjectured that the answer is positive and that such an algorithm does exist. The existence of aperiodic tilings would mean that such an algorithm <span class="italic">does not</span> exist. However, in 1964, his student, Robert Berger, proved him wrong by discovering an infinite, aperiodic tiling constructed with copies of a set of 20,426 dominoes. The resolution of Wang's original question led to new questions and mathematicians took on the challenge of finding the smallest set of dominoes that would construct an infinite aperiodic tiling. Over the past 60 years, this number has been continually reduced with the contributions of many different mathematicians until the most recent discovery of a set of 11 dominoes along with a proof that no smaller sets exist. It is a remarkable narrative/history of a particular epistemological problem that challenged a group of people not only to solve it, but to understand it to the extent possible.
|
||||
</p>
|
||||
</div>
|
||||
</span>
|
||||
</SwiperSlide>
|
||||
<SwiperSlide data-hash="exhibition" class="p-10 text-xl overflow-hidden">
|
||||
<span class="swiper-no-swiping">
|
||||
<div class="overflow-auto">
|
||||
<div class="mb-5 text-3xl italic font-bold">
|
||||
a few thoughts on how things fit together...
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
(free entrance)
|
||||
</div>
|
||||
<br>
|
||||
<div class="mb-5">
|
||||
in collaboration with MAREIKE YIN-YEE LEE
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
Exhibition Opening - 17 Nov 2023 | 19 Uhr
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
Exhibition Closing - 01 Dec 2023 | 19 Uhr
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
Gallery Hours - Wednesday to Friday | 13 - 19 Uhr & Saturday | 12 - 18 Uhr
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
Lichthof Ost, HU Berlin Hauptgebäude, Campus Mitte, Unter den Linden 6 (U-Bahn Unter den Linden oder Museuminsel)
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
<NuxtLink class="px-3" to='/pubs/a_few_thoughts_exhibition_poster.pdf'><nuxt-img class="w-[500px]" src="/hdp_images/hdp_exhibition_poster_digital.jpeg"/></NuxtLink>
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
<NuxtLink class="px-3" to='/hdp_images/lichthof_ost_map.jpeg'><nuxt-img class="w-[500px]" src="/hdp_images/lichthof_ost_map.jpeg"/></NuxtLink>
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
<span class="font-bold">About the Exhibition</span>
|
||||
<br>
|
||||
<br>
|
||||
The exhibition will feature individual and collaborative works by Michael Winter and Mareike Yin-Yee Lee in a constellation designed specifically for the Lichthof Ost exhibition room of the Humboldt University. The original kinetic sculpture Winter created to visualize the aperiodic tilings of the history of the domino problem will be juxtaposed with recent works by Yin-Yee Lee as well as collaboratively created realizations of the tilings. The works on display by Yin-Yee Lee will highlight selections from her Hidden Lakes and Missing Pieces series in which enigmatic outlines of lakes and various shapes encourage observers to perceive similarities and differences in form, pattern, and repetition between the pieces and to mentally fill in blank space. The collaborative realizations of the tilings will include prints generated by Winter with the aid of a computer that incorporate images and color schemes by Yin-Yee Lee as well as a floor mosaic of drawings on mirrors. The exhibition plays on the macro versus the micro, transformation, and how topologies of various color combinations, relationships between shapes and gradients reflect in space in order to illuminate "a few thoughts on how things fit together..."
|
||||
</div>
|
||||
<br>
|
||||
<div class="mb-5">
|
||||
<span class="font-bold">About the Kinetic Sculpture</span>
|
||||
<br>
|
||||
<br>
|
||||
The kinetic sculpture displays the mosaics using visual cryptography. In visual cryptography, a message is encrypted by dividing the information of the message into two `shadow' images, which look completely random and independent of each other. The message is decrypted and revealed when the shadow images are combined/overlayed in a precise orientation. In the kinetic sculpture of a history of the domino problem, the shadow images are printed on photomasks, which are essentially high-resolution transparencies: quartz wafers with a chrome coating etched at a pixel size ranging from nano- to micrometers. A high-precision, motorized multiaxis stage aligns the finely printed shadow images to reveal the mosaics (along with 3 other images of poetic texts inspired by the history of the Domino Problem).
|
||||
</div>
|
||||
</div>
|
||||
</span>
|
||||
</SwiperSlide>
|
||||
<SwiperSlide data-hash="events" class="p-10 text-xl overflow-hidden">
|
||||
<span class="swiper-no-swiping">
|
||||
<div class="overflow-auto">
|
||||
<div class="mb-5">
|
||||
<span class="font-bold">Exhibition Opening - 17 Nov 2023 | 19 Uhr</span>
|
||||
<br>
|
||||
Lichthof Ost, HU Berlin Hauptgebäude, Campus Mitte, Unter den Linden 6 (U-Bahn Unter den Linden oder Museuminsel)
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
<span class="font-bold">Exhibition Closing - 01 Dec 2023 | 19 Uhr</span>
|
||||
<br>
|
||||
Lichthof Ost, HU Berlin Hauptgebäude, Campus Mitte, Unter den Linden 6 (U-Bahn Unter den Linden oder Museuminsel)
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
<span class="font-bold">Public lecture + Concert (free entrance) - 22 Nov 2023 | 19:30 Uhr (doors open at 19:00 Uhr)</span>
|
||||
<br>
|
||||
with Prof. JARKKO KARI (Turku University), moderated by Prof. Dr. GAËTAN BOROT (HU Berlin)
|
||||
<br>
|
||||
the abstract of Prof. JARKKO KARI's Lecture is provided below
|
||||
<br>
|
||||
performance by KALI ENSEMBLE
|
||||
<br>
|
||||
Fritz-Reuter-Saal, HU Berlin Universitätsgebäude (am Hegelplatz), Dorotheenstraße 24 (U-Bahn Unter den Linden oder Museuminsel)
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
<span class="font-bold">Concert - 23 Nov 2023 | 20:30 Uhr (doors open at 20:00 Uhr)</span>
|
||||
<br>
|
||||
performance by KALI ENSEMBLE
|
||||
<br>
|
||||
<NuxtLink to='https://www.km28.de/'>KM28</NuxtLink>
|
||||
<br>
|
||||
Karl-Marx-Str. 28, 12043 Berlin (U-Bahn Karl-Marx-Platz)
|
||||
<br>
|
||||
(entry by donation, with proceeds going to the Kali Ensemble)
|
||||
</div>
|
||||
<br>
|
||||
<div class="mb-5">
|
||||
<br>
|
||||
About the Public lecture
|
||||
<br>
|
||||
<span class="font-bold">From Wang Tiles to the Domino Problem: A Tale of Aperiodicity</span>
|
||||
<br>
|
||||
<br>
|
||||
This presentation delves into the remarkable history of aperiodic tilings and the domino problem. Aperiodic tile sets refer to collections of tiles that can only tile the plane in a non-repeating, or non-periodic, manner. Such sets were not believed to exist until 1964 when R. Berger introduced the first aperiodic set consisting of an astonishing 20,426 Wang tiles. Over the years, ongoing research led to significant advancements, culminating in 2015 with the discovery of a mere 11 Wang tiles by E. Jeandel and M. Rao, alongside a computer-assisted proof of their minimality. Simultaneously, researchers found even smaller aperiodic sets composed of polygon-shaped tiles. Notably, Penrose's kite and dart tiles emerged as early examples, and most recently, a groundbreaking discovery was made - a solitary aperiodic tile known as the "hat" that can tile the plane exclusively in a non-periodic manner. Aperiodic tile sets are intimately connected with the domino problem that asserts how certain tile sets can tile the plane without us ever being able to establish their tiling nature with absolute certainty. Moreover, aperiodic tilings hold a distinct visual aesthetic allure. In today's musical presentation, their artistic appeal transcends the visual domain and extends into the realm of music.
|
||||
<br>
|
||||
-Jarkko Kari
|
||||
</div>
|
||||
</div>
|
||||
</span>
|
||||
</SwiperSlide>
|
||||
<SwiperSlide data-hash="participants" class="p-10 text-xl overflow-hidden">
|
||||
<span class="swiper-no-swiping">
|
||||
<div class="max-h-[800px] overflow-auto">
|
||||
<div class="mb-5 py-10">
|
||||
<NuxtLink class="text-3xl font-bold" to='/'>Michael Winter - composer | sound artist</NuxtLink>
|
||||
<div class="grid grid-cols-[20%,70%] p-5">
|
||||
<nuxt-img src="/hdp_images/michael.jpg"/>
|
||||
<div class="px-5">
|
||||
<p class="mb-5">
|
||||
My practice as a composer and sound artist is diverse, ranging from music created by digital and acoustic instruments to installations and kinetic sculptures. Each piece typically explores one simple process and often reflects various related interests of mine such as phenomenology, mathematics, epistemology, algorithmic information theory, and the history of science. To me, everything we experience is computable. Given this digital philosophy, I acknowledge even my most open works as algorithmic; and, while not always apparent on the surface of any given piece, the considerations of computability and epistemology are integral to my practice. I often reconcile epistemological limits with artistic practicality by considering and addressing the limits of computation from an artistic and experiential vantage point and by collaborating with other artists, mathematicians, and scientists in order to integrate objects, ideas, and texts from various domains as structural elements in my pieces. My work also aims to subvert discriminatory conventions and hierarchies by exploring alternative forms of presentation and interaction, often with minimal resources and low information.
|
||||
</p>
|
||||
<p>
|
||||
My work has been presented at venues and festivals throughout the world such as REDCAT, in Los Angeles; the Ostrava Festival of New Music in the Czech Republic; Tsonami Arte Sonoro Festival in Valparaiso, Chile; the Huddersfield New Music Festival in the United Kingdom; and Umbral Sesiones at the Museo de Arte Contemporáneo in Oaxaca, Mexico. Recordings of my music have been released by XI Records, Another Timbre, New World Records, Edition Wandelweiser, Bahn Mi Verlag, Tsonami Records, and Pogus Productions. In 2008, I co-founded the wulf., a Los Angeles-based organization dedicated to experimental performance and art. From 2018 to 2019, I was a fellow / artist-in-residence at the Akademie Schloss Solitude in Stuttgart, Germany. I currently reside in Berlin.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-5 py-10">
|
||||
<NuxtLink class="text-3xl font-bold" to='http://www.mareikelee.com/'>MAREIKE YIN-YEE LEE - visual artist</NuxtLink>
|
||||
<div class="grid grid-cols-[20%,70%] p-5">
|
||||
<nuxt-img src="/hdp_images/mareike.jpg"/>
|
||||
<div class="px-5">
|
||||
Mareike Yin‑Yee Lee’s multidisciplinary practice encompasses drawing, video, sculpture, found and made objects, printmaking, and artist books. Current works include installations, recordings and live performances produced in collaboration with musicians and composers with an emphasis on the relation between sight and sound. How we approach, perceive and respond to these form the basis of her recent works‘ manifestations. Her immersive, site-specific installations explore the complex and tenuous nature of communication and how we experience space, drawing on gesture, sound, and memory to elicit responses that cannot be put into words. She redefines the architecture and temporality of the spaces in which she works. Lee’s work plays with the spaces between, across, and beyond, embracing the undefinable and subtle gradations, forging a language of colour, tone and space that seeks to articulate microcosms of daily life and sustained contemplation. Lee studied at Universität der Künste, Berlin, Germany; University of Toronto, Toronto, Canada; and Nova Scotia College of Art and Design, Nova Scotia, Canada, where she was awarded the Joseph Beuys Scholarship and the Canada Millennium Award of Excellence. Recent projects include exhibitions and performances at Kunsthaus Kule Berlin (2020), Kunstmuseum Kloster Unser Lieben Frauen Magdeburg (2019), Galerie Kunstpunkt Berlin (2018), Kunstbezirk Stuttgart, Kunst(zeug)haus Rapperswil- Jona Switzerland (2017), Kunsthaus Interlaken (2017), Neuer Kunstverein, Aschaffenburg (2016), and KW Institute for Contemporary Art, Berlin (2016).
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-5 py-10">
|
||||
<NuxtLink class="text-3xl font-bold" to='https://www.facebook.com/KaliEnsemble'>KALI - performing ensemble</NuxtLink>
|
||||
<div class="grid grid-cols-[20%,70%] p-5">
|
||||
<nuxt-img src="/hdp_images/kali.jpg"/>
|
||||
<div class="px-5">
|
||||
Kali is a new music ensemble based in the Hague. They primarily work with composers with whom they can collaborate and experiment over long periods. They aim to develop an artistic practice unique to their relationship with their collaborators. Over the past years, they have formed close and active relationships with several composers based in The Hague and abroad realizing many large-scale projects with great attention to detail.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-5 py-10">
|
||||
<NuxtLink class="text-3xl font-bold" to='https://users.utu.fi/jkari/'>Jarkko Kari - mathematician | invited guest</NuxtLink>
|
||||
<div class="grid grid-cols-[20%,70%] p-5">
|
||||
<nuxt-img class="w-full" src="/hdp_images/jarkko.jpg"/>
|
||||
<div class="px-5">
|
||||
Jarkko Kari received his MSc and PhD degrees in mathematics from the University of Turku in Finland in 1986 and 1990, respectively. He then worked for the Academy of Finland, and for Iterated Systems Inc. and the University of Iowa in the USA. Since year 2000 he has been a professor of mathematics at the University of Turku. His research interests include automata theory and the theory of computation, with emphasis on cellular automata, tilings and symbolic dynamics. Jarkko Kari has supervised twelve PhD theses, published over one hundred peer reviewed research articles and edited twenty conference proceedings and special issues on these topics. He serves in the editorial boards of eight scientific journals, and is currently a co-editor-in-chief of the journal Natural Computing. Jarkko Kari is a member of the Finnish Academy of Science and Letters since 2014.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-5 py-10">
|
||||
<NuxtLink class="text-3xl font-bold" to='https://www.mathematik.hu-berlin.de/de/forschung/forschungsgebiete/mathematische-physik/borot-mp-homepage'>Gaëtan Borot - mathematician | organizer | moderator</NuxtLink>
|
||||
<div class="grid grid-cols-[20%,70%] p-5">
|
||||
<nuxt-img class="w-full" src="/hdp_images/gaetan.jpg"/>
|
||||
<div class="px-5">
|
||||
Gaëtan Borot was trained at École Normale Supérieure (Paris) in theoretical physicist and progressively moved to pure mathematics. He received his PhD from Universite d'Orsay / CEA Saclay in 2011. After a postdoctorate in Geneva and a visiting scholarship at MIT, he worked as a Group Leader at the Max Planck Institute for Mathematics in Bonn. Since 2020, he holds a bridge professorship between the Institute of Mathematics and the Institute of Physics of the Humboldt University of Berlin. He has worked on enumerative geometry, combinatorics, random matrix theory and mathematical aspects of quantum field theory, and likes to investigate the unexpected relations between seemingly different problems. He is also interested in scientific outreach.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</span>
|
||||
</SwiperSlide>
|
||||
<SwiperSlide data-hash="media" class="p-20 text-xl overflow-hidden">
|
||||
|
||||
<div class="flex justify-center">
|
||||
<iframe src="https://player.vimeo.com/video/375784136" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen ></iframe>
|
||||
</div>
|
||||
|
||||
</SwiperSlide>
|
||||
<SwiperSlide data-hash="contributors" class="p-10 text-xl overflow-hidden">
|
||||
<div class="max-h-[calc(100vh-27rem)] overflow-auto">
|
||||
<div class="grid grid-cols-5 p-5 items-center">
|
||||
<NuxtLink class="px-3" to='https://www.hu-berlin.de/en'><nuxt-img class="w-[100px]" src="/hdp_images/hu_logo.png"/></NuxtLink>
|
||||
<NuxtLink class="px-3" to='https://www.km28.de/'><nuxt-img class="w-[100px]" src="/hdp_images/km28_logo.png"/></NuxtLink>
|
||||
<NuxtLink class="px-3" to='https://www.ims-chips.com/'><nuxt-img class="w-[250px]" src="/hdp_images/ims_chips_logo.png"/></NuxtLink>
|
||||
<NuxtLink class="px-3" to='https://www.akademie-solitude.de/'><nuxt-img class="w-[100px]" src="/hdp_images/akademie_schloss_solitude_logo.png"/></NuxtLink>
|
||||
<NuxtLink class="px-3" to='https://mathplus.de/'><nuxt-img class="w-[200px]" src="/hdp_images/mathplus_logo_gray.png"/></NuxtLink>
|
||||
</div>
|
||||
</div>
|
||||
</SwiperSlide>
|
||||
<SwiperSlide data-hash="resources" class="p-10 text-xl overflow-hidden">
|
||||
<span class="swiper-no-swiping">
|
||||
<div class="overflow-auto">
|
||||
|
||||
<div class="mb-5 text-2xl font-bold">
|
||||
a few selected articles:
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
Hao Wang (1961), Proving theorems by pattern recognition—II, Bell System Technical Journal, Volume: 40, Issue: 1.
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
Robert Berger (1966), The undecidability of the domino problem, American Mathematical Society, Volume 1, 1966.
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
Jarkko Kari (1996), A small aperiodic set of Wang tiles, Discrete Mathematics, Volume 160.
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
Emmanuel Jeandel and Michael Rao, An aperiodic set of 11 Wang tiles, Advances in Combinatorics, Volume 1.
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div class="mb-5 text-2xl font-bold">
|
||||
a definitive book on tilings and patterns:
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
Branko Grunbaum and G.C. Shephard, Tilings and Patterns, Dover Books (originally published 1986)
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div class="mb-5 text-2xl font-bold">
|
||||
a few useful links:
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
<NuxtLink to='https://grahamshawcross.com/2012/10/12/aperiodic-tiling/'>https://grahamshawcross.com/2012/10/12/aperiodic-tiling/</NuxtLink>
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
<NuxtLink to='https://grahamshawcross.com/2012/10/12/wang-tiles-and-aperiodic-tiling/'>https://grahamshawcross.com/2012/10/12/wang-tiles-and-aperiodic-tiling/</NuxtLink>
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
<NuxtLink to='https://en.wikipedia.org/wiki/Wang_tile'>https://en.wikipedia.org/wiki/Wang_tile</NuxtLink>
|
||||
</div>
|
||||
<div class="mb-5">
|
||||
<NuxtLink to='https://en.wikipedia.org/wiki/Aperiodic_tiling'>https://en.wikipedia.org/wiki/Aperiodic_tiling</NuxtLink>
|
||||
</div>
|
||||
</div>
|
||||
</span>
|
||||
</SwiperSlide>
|
||||
<SwiperSlide data-hash="contact" class="p-10 text-xl overflow-hidden">
|
||||
<span class="swiper-no-swiping">
|
||||
<div class="overflow-auto">
|
||||
|
||||
<div class="mb-5 text-2xl">
|
||||
For information or any inquiries email Michael Winter by clicking
|
||||
<NuxtLink class="inline-flex p-1" to='javascript:location="mailto:\u006d\u0077\u0069\u006e\u0074\u0065\u0072\u0040\u0075\u006e\u0062\u006f\u0075\u006e\u0064\u0065\u0064\u0070\u0072\u0065\u0073\u0073\u002e\u006f\u0072\u0067";void 0'>
|
||||
<span class="font-bold">HERE</span>
|
||||
</NuxtLink>
|
||||
</div>
|
||||
<div class="mb-5 text-2xl">
|
||||
To download the poster for the project, click
|
||||
<NuxtLink class="inline-flex p-1" to='/pubs/hdp_poster.pdf'>
|
||||
<span class="font-bold">HERE</span>
|
||||
</NuxtLink>
|
||||
</div>
|
||||
<div class="mb-5 text-2xl">
|
||||
To download the poster specifically for the exhibition, click
|
||||
<NuxtLink class="inline-flex p-1" to='/pubs/a_few_thoughts_exhibition_poster.pdf'>
|
||||
<span class="font-bold">HERE</span>
|
||||
</NuxtLink>
|
||||
</div>
|
||||
</div>
|
||||
</span>
|
||||
</SwiperSlide>
|
||||
</Swiper>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import hdp_background from "assets/hdp_background.png"
|
||||
import { useAudioPlayerStore } from "@/stores/AudioPlayerStore"
|
||||
|
||||
const image = hdp_background
|
||||
const audioPlayerStore = useAudioPlayerStore()
|
||||
audioPlayerStore.setSoundCloudTrackID(324252345)
|
||||
</script>
|
||||
|
|
@ -1,91 +0,0 @@
|
|||
<template>
|
||||
<div class="bg-zinc-100 rounded-lg m-5 grid grid-cols-[60%,35%] gap-10 divide-x divide-solid divide-black py-4 min-h-[calc(100vh-10.5rem)]">
|
||||
<div class="px-5">
|
||||
<p class="text-lg">about</p>
|
||||
|
||||
<div class="leading-tight py-2 ml-3 text-sm">
|
||||
<div class="leading-tight py-2">
|
||||
My practice as a composer and sound artist is diverse, ranging from music created by digital and acoustic instruments to installations and kinetic sculptures. Each piece typically explores one simple process and often reflects various related interests of mine such as epistemology, mathematics, algorithmic information theory, and the history of science. Phenomenologically, I contemplate the possibility that everything is potentially computable, even our experiences. Given this digital philosophy, I acknowledge even my most open works as algorithmic; and, while not always apparent on the surface of any given piece, the considerations of computability and epistemology are integral to my practice. I often reconcile epistemological limits with artistic practicality by understanding the limits of computation from an artistic and experiential vantage point and by collaborating with other artists, mathematicians, and scientists in order to integrate objects, ideas, and texts from various domains as structural elements in my pieces. My work also aims to subvert discriminatory conventions and hierarchies by exploring alternative forms of presentation and interaction, often with minimal resources and low information.
|
||||
</div>
|
||||
<div class="leading-tight py-2">
|
||||
My music and installations have been presented at venues and festivals throughout the world such as REDCAT, in Los Angeles; the Ostrava Festival of New Music in the Czech Republic; Tsonami Arte Sonoro Festival in Valparaiso, Chile; the Huddersfield New Music Festival in the United Kingdom; and Umbral Sesiones at the Museo de Arte Contemporáneo in Oaxaca, Mexico. Recordings of my music have been released by XI Records, Another Timbre, New World Records, Edition Wandelweiser, Bahn Mi Verlag, Tsonami Records, and Pogus Productions. In 2008, I co-founded <em>the wulf.</em>, a Los Angeles-based organization dedicated to experimental performance and art that presented over 350 events in 8 years. From 2018 to 2019, I was a fellow / artist-in-residence at the Akademie Schloss Solitude in Stuttgart, Germany. I currently teach as University Professor of Sound and Intermedia at the Gustav Mahler Privatuniversität für Musik in Klagenfurt, Austria while maintaining my primary residence in Berlin, Germany.
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<div id="mc_embed_signup">
|
||||
<form action="https://unboundedpress.us12.list-manage.com/subscribe/post?u=bdadd25738fedf704641f3a80&id=01c5761ebb&f_id=00f143e0f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_self">
|
||||
<label for="mce-EMAIL">subscribe to my mailing list to know about upcoming events</label>
|
||||
<input id="mce-EMAIL" type="email" value="" name="EMAIL" placeholder="email address" required="" class="email">
|
||||
<div style="position: absolute; left: -5000px;" aria-hidden="true">
|
||||
<input type="text" name="b_bdadd25738fedf704641f3a80_01c5761ebb" tabindex="-1" value="">
|
||||
</div>
|
||||
<div id="mce-responses" class="clear foot">
|
||||
<div class="response" id="mce-error-response" style="display:none"></div>
|
||||
<div class="response" id="mce-success-response" style="display:none"></div>
|
||||
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
|
||||
<div class="clear">
|
||||
<input id="mc-embedded-subscribe" type="submit" value="subscribe" name="subscribe" class="button">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<div class="inline-flex place-items-center p-2">
|
||||
Contact
|
||||
<div>
|
||||
<IconButton :visible="true" type="email" work="placeholder" link="javascript:location='mailto:\u006d\u0077\u0069\u006e\u0074\u0065\u0072\u0040\u0075\u006e\u0062\u006f\u0075\u006e\u0064\u0065\u0064\u0070\u0072\u0065\u0073\u0073\u002e\u006f\u0072\u0067';void 0" class="mt-[-6px]"></IconButton>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="inline-flex place-items-center p-2">
|
||||
CV
|
||||
<div>
|
||||
<IconButton :visible="true" type="document" work="placeholder" link="/cv" class="mt-[-6px]"></IconButton>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="inline-flex place-items-center p-2">
|
||||
Works List with Presentation History
|
||||
<div>
|
||||
<IconButton :visible="true" type="document" work="placeholder" link="/works_list" class="mt-[-6px]"></IconButton>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="px-5">
|
||||
<ImageSlider bucket="images" :gallery="gallery" class="max-w-[90%]"></ImageSlider>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
const { data: gallery } = await useFetch('/api/my_image_gallery')
|
||||
|
||||
useHead({
|
||||
titleTemplate: 'Michael Winter - About - Short Bio, Contact, CV, Works List, and Mailing List'
|
||||
})
|
||||
</script>
|
||||
|
||||
<style>
|
||||
#mc_embed_signup form {text-align:left; padding:2px 0 2px 0;}
|
||||
.mc-field-group { display: inline-block; } /* positions input field horizontally */
|
||||
#mc_embed_signup input.email {border: 1px solid #ABB0B2; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; color: #343434; background-color: #fff; box-sizing:border-box; height:32px; padding: 0px 0.4em; display: inline-block; margin: 0; width:350px; vertical-align:top;}
|
||||
#mc_embed_signup label {display:block; padding-bottom:10px;}
|
||||
#mc_embed_signup .clear {display: inline-block;} /* positions button horizontally in line with input */
|
||||
#mc_embed_signup .button {font-size: 13px; border: none; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; letter-spacing: .03em; color: #fff; background-color: #aaa; box-sizing:border-box; height:32px; line-height:32px; padding:0 18px; display: inline-block; margin: 0; transition: all 0.23s ease-in-out 0s;}
|
||||
#mc_embed_signup .button:hover {background-color:#777; cursor:pointer;}
|
||||
#mc_embed_signup div#mce-responses {float:left; top:-1.4em; padding:0em .5em 0em .5em; overflow:hidden; width:90%;margin: 0 5%; clear: both;}
|
||||
#mc_embed_signup div.response {margin:1em 0; padding:1em .5em .5em 0; font-weight:bold; float:left; top:-1.5em; z-index:1; width:80%;}
|
||||
#mc_embed_signup #mce-error-response {display:none;}
|
||||
#mc_embed_signup #mce-success-response {color:#529214; display:none;}
|
||||
#mc_embed_signup label.error {display:block; float:none; width:auto; margin-left:1.05em; text-align:left; padding:.5em 0;}
|
||||
@media (max-width: 768px) {
|
||||
#mc_embed_signup input.email {width:100%; margin-bottom:5px;}
|
||||
#mc_embed_signup .clear {display: block; width: 100% }
|
||||
#mc_embed_signup .button {width: 100%; margin:0; }
|
||||
}
|
||||
#mc_embed_signup{clear:left; width:100%;}
|
||||
</style>
|
||||
|
|
@ -1,339 +0,0 @@
|
|||
<template>
|
||||
<div class="min-h-screen bg-gray-100">
|
||||
<div v-if="!authenticated" class="flex items-center justify-center min-h-screen">
|
||||
<FormKit type="form" @submit="checkPassword" submit-label="Login">
|
||||
<FormKit
|
||||
type="password"
|
||||
name="password"
|
||||
label="Password"
|
||||
validation="required"
|
||||
/>
|
||||
</FormKit>
|
||||
</div>
|
||||
|
||||
<div v-else class="flex min-h-screen">
|
||||
<div class="w-64 bg-white border-r p-4">
|
||||
<h2 class="text-xl font-bold mb-4">Admin</h2>
|
||||
|
||||
<div class="mb-4">
|
||||
<h3 class="text-xs font-semibold text-gray-500 uppercase mb-2">Collections</h3>
|
||||
<nav class="space-y-1">
|
||||
<button
|
||||
v-for="col in collections"
|
||||
:key="col.key"
|
||||
@click="selectedView = 'collections'; selectedCollection = col.key"
|
||||
class="w-full text-left px-4 py-2 rounded text-sm"
|
||||
:class="selectedView === 'collections' && selectedCollection === col.key ? 'bg-black text-white' : 'hover:bg-gray-100'"
|
||||
>
|
||||
{{ col.label }}
|
||||
</button>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h3 class="text-xs font-semibold text-gray-500 uppercase mb-2">Files</h3>
|
||||
<nav class="space-y-1">
|
||||
<button
|
||||
v-for="folder in fileFolders"
|
||||
:key="folder.key"
|
||||
@click="selectedView = 'files'; selectedFolder = folder.key"
|
||||
class="w-full text-left px-4 py-2 rounded text-sm"
|
||||
:class="selectedView === 'files' && selectedFolder === folder.key ? 'bg-black text-white' : 'hover:bg-gray-100'"
|
||||
>
|
||||
{{ folder.label }}
|
||||
</button>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<button @click="logout" class="mt-8 w-full px-4 py-2 text-sm text-gray-600 hover:text-gray-800">
|
||||
Logout
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="flex-1 p-8 overflow-auto">
|
||||
<!-- Collections View -->
|
||||
<template v-if="selectedView === 'collections'">
|
||||
<div class="flex justify-between items-center mb-6">
|
||||
<h1 class="text-2xl font-bold">{{ collections.find(c => c.key === selectedCollection)?.label }}</h1>
|
||||
<button @click="createNew" class="px-4 py-2 bg-black text-white rounded hover:bg-gray-800">
|
||||
Add New
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<input
|
||||
v-model="searchQuery"
|
||||
type="text"
|
||||
placeholder="Search..."
|
||||
class="w-full mb-4 px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-black"
|
||||
/>
|
||||
|
||||
<div class="bg-white rounded-lg shadow overflow-hidden mb-8">
|
||||
<table class="w-full">
|
||||
<thead class="bg-gray-50">
|
||||
<tr>
|
||||
<th class="px-4 py-2 text-left text-sm font-medium text-gray-500">Title</th>
|
||||
<th class="px-4 py-2 text-left text-sm font-medium text-gray-500">Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="item in filteredItems" :key="item.id" class="border-t hover:bg-gray-50">
|
||||
<td class="px-4 py-3">{{ getTitle(item) }}</td>
|
||||
<td class="px-4 py-3 space-x-2">
|
||||
<button @click="viewRawJson(item)" class="text-green-600 hover:text-green-800">JSON</button>
|
||||
<button @click="deleteItem(item)" class="text-red-600 hover:text-red-800">Delete</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<!-- Files View -->
|
||||
<template v-else-if="selectedView === 'files'">
|
||||
<div class="flex justify-between items-center mb-6">
|
||||
<h1 class="text-2xl font-bold">{{ fileFolders.find(f => f.key === selectedFolder)?.label }}</h1>
|
||||
<label class="px-4 py-2 bg-black text-white rounded hover:bg-gray-800 cursor-pointer">
|
||||
{{ isUploading ? 'Uploading...' : 'Upload File' }}
|
||||
<input type="file" class="hidden" @change="handleFileUpload" :disabled="isUploading" />
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<input
|
||||
v-model="fileSearchQuery"
|
||||
type="text"
|
||||
placeholder="Search files..."
|
||||
class="w-full mb-4 px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-black"
|
||||
/>
|
||||
|
||||
<div class="bg-white rounded-lg shadow overflow-hidden">
|
||||
<table class="w-full">
|
||||
<thead class="bg-gray-50">
|
||||
<tr>
|
||||
<th class="px-4 py-2 text-left text-sm font-medium text-gray-500">File</th>
|
||||
<th class="px-4 py-2 text-left text-sm font-medium text-gray-500">Size</th>
|
||||
<th class="px-4 py-2 text-left text-sm font-medium text-gray-500">Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="file in filteredFiles" :key="file.name" class="border-t hover:bg-gray-50">
|
||||
<td class="px-4 py-3">{{ file.name }}</td>
|
||||
<td class="px-4 py-3 text-gray-500">{{ (file.size / 1024).toFixed(1) }} KB</td>
|
||||
<td class="px-4 py-3 space-x-2">
|
||||
<button @click="copyUrl(file.url)" class="text-blue-600 hover:text-blue-800">Copy URL</button>
|
||||
<button @click="deleteFile(file)" class="text-red-600 hover:text-red-800">Delete</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<div v-if="rawJsonItem" class="fixed inset-0 z-50 bg-black bg-opacity-50 flex items-center justify-center p-4">
|
||||
<div class="bg-white rounded-lg shadow-xl w-full max-w-4xl h-[80vh] flex flex-col p-6">
|
||||
<h2 class="text-xl font-bold mb-4">Raw JSON</h2>
|
||||
<textarea
|
||||
v-model="rawJsonContent"
|
||||
class="flex-1 w-full font-mono text-sm border rounded p-4 resize-none"
|
||||
spellcheck="false"
|
||||
></textarea>
|
||||
<div class="flex justify-end gap-2 mt-4">
|
||||
<button @click="rawJsonItem = null" class="px-4 py-2 border rounded hover:bg-gray-50">Cancel</button>
|
||||
<button @click="saveRawJson" class="px-4 py-2 bg-black text-white rounded hover:bg-gray-800">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, watch, computed } from 'vue'
|
||||
import { collections } from '@/admin/schemas'
|
||||
|
||||
const password = ref('')
|
||||
const authenticated = ref(false)
|
||||
const selectedView = ref('collections')
|
||||
const selectedCollection = ref('works')
|
||||
const selectedFolder = ref('scores')
|
||||
const items = ref([])
|
||||
const files = ref([])
|
||||
const rawJsonItem = ref(null)
|
||||
const rawJsonContent = ref('')
|
||||
const isUploading = ref(false)
|
||||
const searchQuery = ref('')
|
||||
const fileSearchQuery = ref('')
|
||||
|
||||
const searchFields = {
|
||||
works: ['title', 'type', 'instrument_tags'],
|
||||
publications: ['entryTags.title', 'entryTags.year', 'citationKey'],
|
||||
events: ['venue.name', 'venue.city', 'start_date'],
|
||||
releases: ['title', 'year'],
|
||||
talks: ['title', 'location', 'date']
|
||||
}
|
||||
|
||||
const filteredItems = computed(() => {
|
||||
if (!searchQuery.value.trim()) return items.value
|
||||
const query = searchQuery.value.toLowerCase()
|
||||
const fields = searchFields[selectedCollection.value] || []
|
||||
|
||||
return items.value.filter(item => {
|
||||
for (const field of fields) {
|
||||
const value = field.split('.').reduce((obj, key) => obj?.[key], item)
|
||||
if (value && String(value).toLowerCase().includes(query)) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
})
|
||||
})
|
||||
|
||||
const filteredFiles = computed(() => {
|
||||
if (!fileSearchQuery.value.trim()) return files.value
|
||||
const normalize = (str) => str.toLowerCase().replace(/[\s_-]+/g, '')
|
||||
const query = normalize(fileSearchQuery.value)
|
||||
|
||||
return files.value.filter(file => normalize(file.name).includes(query))
|
||||
})
|
||||
|
||||
const fileFolders = [
|
||||
{ key: 'scores', label: 'Scores' },
|
||||
{ key: 'pubs', label: 'Publications' },
|
||||
{ key: 'album_art', label: 'Album Art' },
|
||||
{ key: 'images', label: 'Images' },
|
||||
{ key: 'hdp_images', label: 'HDP Images' }
|
||||
]
|
||||
|
||||
async function checkPassword(data) {
|
||||
try {
|
||||
const result = await $fetch('/api/auth/verify-password', {
|
||||
method: 'POST',
|
||||
body: { password: data.password }
|
||||
})
|
||||
if (result.valid) {
|
||||
authenticated.value = true
|
||||
loadItems()
|
||||
} else {
|
||||
alert('Incorrect password')
|
||||
}
|
||||
} catch (e) {
|
||||
console.error('Password check failed:', e)
|
||||
alert('Error: ' + e.message)
|
||||
}
|
||||
}
|
||||
|
||||
function logout() {
|
||||
authenticated.value = false
|
||||
password.value = ''
|
||||
}
|
||||
|
||||
function getTitle(item) {
|
||||
if (selectedCollection.value === 'publications' && item.entryTags?.title) {
|
||||
return item.entryTags.title
|
||||
}
|
||||
if (selectedCollection.value === 'events' && item.start_date) {
|
||||
const v = item.venue
|
||||
return `${item.start_date}: ${v?.name} - ${v?.city}, ${v?.state}`
|
||||
}
|
||||
if (selectedCollection.value === 'talks' && item.date) {
|
||||
return `${item.date}: ${item.location}`
|
||||
}
|
||||
return item.title || item.citationKey || item.name || item.id
|
||||
}
|
||||
|
||||
async function loadItems() {
|
||||
const { data } = await useFetch(`/api/admin/${selectedCollection.value}`)
|
||||
items.value = data.value || []
|
||||
}
|
||||
|
||||
async function loadFiles() {
|
||||
const { data } = await useFetch(`/api/admin/files?folder=${selectedFolder.value}`)
|
||||
files.value = data.value || []
|
||||
}
|
||||
|
||||
function createNew() {
|
||||
rawJsonItem.value = { id: null }
|
||||
rawJsonContent.value = '{\n \n}'
|
||||
}
|
||||
|
||||
function viewRawJson(item) {
|
||||
rawJsonItem.value = item
|
||||
rawJsonContent.value = JSON.stringify(item, null, 2)
|
||||
}
|
||||
|
||||
async function saveRawJson() {
|
||||
try {
|
||||
const parsed = JSON.parse(rawJsonContent.value)
|
||||
const method = parsed.id ? 'PUT' : 'POST'
|
||||
await useFetch(`/api/admin/${selectedCollection.value}`, {
|
||||
method,
|
||||
body: parsed
|
||||
})
|
||||
rawJsonItem.value = null
|
||||
loadItems()
|
||||
} catch (e) {
|
||||
alert('Invalid JSON')
|
||||
}
|
||||
}
|
||||
|
||||
async function deleteItem(item) {
|
||||
if (confirm('Are you sure you want to delete this item?')) {
|
||||
await useFetch(`/api/admin/${selectedCollection.value}/${item.id}`, {
|
||||
method: 'DELETE'
|
||||
})
|
||||
loadItems()
|
||||
}
|
||||
}
|
||||
|
||||
async function handleFileUpload(event) {
|
||||
const file = event.target.files?.[0]
|
||||
if (!file) return
|
||||
|
||||
isUploading.value = true
|
||||
const formData = new FormData()
|
||||
formData.append('file', file)
|
||||
|
||||
try {
|
||||
await $fetch(`/api/admin/files/upload?folder=${selectedFolder.value}`, {
|
||||
method: 'POST',
|
||||
body: formData
|
||||
})
|
||||
loadFiles()
|
||||
} catch (e) {
|
||||
alert('Upload failed: ' + e.message)
|
||||
} finally {
|
||||
isUploading.value = false
|
||||
event.target.value = ''
|
||||
}
|
||||
}
|
||||
|
||||
async function deleteFile(file) {
|
||||
if (confirm(`Delete ${file.name}?`)) {
|
||||
await $fetch(`/api/admin/files?folder=${selectedFolder.value}&file=${file.name}`, {
|
||||
method: 'DELETE'
|
||||
})
|
||||
loadFiles()
|
||||
}
|
||||
}
|
||||
|
||||
function copyUrl(url) {
|
||||
navigator.clipboard.writeText(window.location.origin + url)
|
||||
alert('URL copied to clipboard!')
|
||||
}
|
||||
|
||||
watch(selectedCollection, () => {
|
||||
loadItems()
|
||||
})
|
||||
|
||||
watch(selectedFolder, () => {
|
||||
loadFiles()
|
||||
})
|
||||
|
||||
watch(selectedView, (newView) => {
|
||||
if (newView === 'collections') {
|
||||
loadItems()
|
||||
} else if (newView === 'files') {
|
||||
loadFiles()
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
|
@ -1,437 +0,0 @@
|
|||
<script setup>
|
||||
definePageMeta({
|
||||
layout: 'plain'
|
||||
})
|
||||
|
||||
const { data: resumeData } = await useFetch('/api/resume')
|
||||
const { data: talksData } = await useFetch('/api/talks')
|
||||
const resume = computed(() => resumeData.value)
|
||||
|
||||
const talksByYear = computed(() => {
|
||||
if (!talksData.value) return []
|
||||
|
||||
const byYear = {}
|
||||
for (const talk of talksData.value) {
|
||||
const year = talk.date ? new Date(talk.date).getFullYear() : 'Unknown'
|
||||
if (!byYear[year]) byYear[year] = []
|
||||
byYear[year].push(talk)
|
||||
}
|
||||
|
||||
return Object.keys(byYear)
|
||||
.sort((a, b) => b - a)
|
||||
.map(year => {
|
||||
const talks = byYear[year]
|
||||
|
||||
const byLocation = {}
|
||||
for (const talk of talks) {
|
||||
const key = `${talk.location}|||${talk.date}`
|
||||
if (!byLocation[key]) byLocation[key] = []
|
||||
byLocation[key].push(talk)
|
||||
}
|
||||
|
||||
const groups = Object.values(byLocation).map(group => ({
|
||||
location: group[0].location,
|
||||
date: group[0].date,
|
||||
titles: group.map(t => t.title)
|
||||
}))
|
||||
|
||||
return { year, groups }
|
||||
})
|
||||
})
|
||||
|
||||
function formatMonth(dateStr) {
|
||||
if (!dateStr) return 'Present'
|
||||
const date = new Date(dateStr)
|
||||
if (isNaN(date)) return dateStr
|
||||
return date.toLocaleDateString('en-US', { month: 'short', year: 'numeric' })
|
||||
}
|
||||
|
||||
function formatYear(dateStr) {
|
||||
if (!dateStr) return ''
|
||||
const date = new Date(dateStr)
|
||||
if (isNaN(date)) return dateStr
|
||||
return date.getFullYear()
|
||||
}
|
||||
|
||||
useHead({
|
||||
titleTemplate: 'Michael Winter'
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="cv-container">
|
||||
<header class="cv-header">
|
||||
<h1>Michael Winter</h1>
|
||||
<h3>Curriculum Vitae</h3>
|
||||
<p class="contact">
|
||||
{{ resume?.basics?.email }} · {{ resume?.basics?.phone }} · {{ resume?.basics?.website }}
|
||||
</p>
|
||||
</header>
|
||||
|
||||
<hr />
|
||||
|
||||
<!-- Education -->
|
||||
<section v-if="resume?.education?.length" class="cv-section">
|
||||
<h4>Education</h4>
|
||||
<div class="cv-entry">
|
||||
<div v-for="(edu, idx) in resume.education" :key="idx" class="item">
|
||||
<span class="item-title">{{ edu.studyType }} in {{ edu.area }}</span>
|
||||
<span class="item-meta">{{ edu.institution }}, {{ formatYear(edu.endDate) }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Teaching -->
|
||||
<section v-if="resume?.teaching?.length" class="cv-section">
|
||||
<h4>Teaching</h4>
|
||||
<div class="cv-entry">
|
||||
<div v-for="(teach, idx) in resume.teaching" :key="idx" class="item">
|
||||
<div class="item-header">
|
||||
<span class="item-title">{{ teach.company }}</span>
|
||||
<span class="item-subtitle">{{ teach.position }}</span>
|
||||
</div>
|
||||
<div class="item-detail">{{ formatMonth(teach.startDate) }} – {{ formatMonth(teach.endDate) }}</div>
|
||||
<ul v-if="teach.highlights" class="item-list">
|
||||
<li v-for="h in teach.highlights">{{ h }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Lectures -->
|
||||
<section v-if="talksByYear.length" class="cv-section">
|
||||
<h4>Lectures</h4>
|
||||
<div v-for="yearGroup in talksByYear" :key="yearGroup.year" class="year-group">
|
||||
<div class="year-header">{{ yearGroup.year }}</div>
|
||||
<div v-for="(group, idx) in yearGroup.groups" :key="idx" class="item">
|
||||
<span class="item-title">{{ group.location }}</span>
|
||||
<template v-for="(title, tidx) in group.titles" :key="tidx">
|
||||
<div class="item-detail talk-title" v-if="Array.isArray(title)">
|
||||
<em v-for="(t, i) in title" :key="i" style="display: block;">{{ t }}</em>
|
||||
</div>
|
||||
<div class="item-detail talk-title" v-else>
|
||||
<em style="display: block;">{{ title }}</em>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Relevant Work -->
|
||||
<section v-if="resume?.work?.length" class="cv-section">
|
||||
<h4>Relevant Work</h4>
|
||||
<div class="cv-entry">
|
||||
<div v-for="(w, idx) in resume.work" :key="idx" class="item">
|
||||
<div class="item-header">
|
||||
<span class="item-title">{{ w.company }}</span>
|
||||
<span class="item-subtitle">{{ w.position }}</span>
|
||||
</div>
|
||||
<div class="item-detail">{{ formatMonth(w.startDate) }} – {{ formatMonth(w.endDate) }}</div>
|
||||
<ul v-if="w.highlights" class="item-list">
|
||||
<li v-for="h in w.highlights">{{ h }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Skills -->
|
||||
<section v-if="resume?.skills?.length" class="cv-section">
|
||||
<h4>Coding Skills</h4>
|
||||
<p class="item-detail">
|
||||
<span v-for="(skill, idx) in resume.skills" :key="idx">
|
||||
{{ skill.keywords?.join(', ') }}
|
||||
</span>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<!-- Languages -->
|
||||
<section v-if="resume?.languages?.length" class="cv-section">
|
||||
<h4>Language Skills</h4>
|
||||
<p class="item-detail">
|
||||
<span v-for="(lang, idx) in resume.languages" :key="idx">
|
||||
{{ lang.language }} — {{ lang.fluency }}{{ idx < resume.languages.length - 1 ? '; ' : '' }}
|
||||
</span>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<!-- Publications -->
|
||||
<section v-if="resume?.publications?.length" class="cv-section">
|
||||
<h4>Publications</h4>
|
||||
<div class="cv-entry">
|
||||
<div v-for="pub in resume.publications" :key="pub.id" class="item">
|
||||
<div class="item-title" v-html="pub.entryTags?.title"></div>
|
||||
<div class="bib">
|
||||
{{ pub.entryTags?.author }}
|
||||
<span v-if="pub.entryTags?.editor">, editors {{ pub.entryTags.editor }}.</span>
|
||||
<span v-if="pub.entryTags?.booktitle"><em>{{ pub.entryTags.booktitle }}.</em></span>
|
||||
<span v-if="pub.entryTags?.journal"><em>{{ pub.entryTags.journal }}</em>,</span>
|
||||
<span v-if="pub.entryTags?.volume">vol. {{ pub.entryTags.volume }}</span>
|
||||
<span v-if="pub.entryTags?.publisher">{{ pub.entryTags.publisher }},</span> {{ pub.entryTags?.year }}.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Recordings -->
|
||||
<section v-if="resume?.solo_releases?.length || resume?.compilation_releases?.length" class="cv-section">
|
||||
<h4>Recordings</h4>
|
||||
|
||||
<div v-if="resume?.solo_releases?.length" class="subsection">
|
||||
<div class="subsection-title"><strong>Solo Albums</strong></div>
|
||||
<div v-for="(rel, idx) in resume.solo_releases" :key="idx" class="item recording-item">
|
||||
<span class="item-title">{{ rel.title }}</span>
|
||||
<span class="item-detail">{{ rel.publisher }}. {{ rel.media_type }}. {{ rel.date }}.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-if="resume?.compilation_releases?.length" class="subsection">
|
||||
<div class="subsection-title"><strong>Compilation Albums</strong></div>
|
||||
<div v-for="(rel, idx) in resume.compilation_releases" :key="idx" class="item recording-item">
|
||||
<span class="item-title">{{ rel.title }}</span>
|
||||
<span class="item-detail">{{ rel.publisher }}. {{ rel.media_type }}. {{ rel.date }}.</span>
|
||||
<div class="item-detail">featuring <span class="italic">{{ rel.work }}</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Residencies -->
|
||||
<section v-if="resume?.residencies?.length" class="cv-section">
|
||||
<h4>Residencies and Awards</h4>
|
||||
<div class="cv-entry">
|
||||
<div v-for="(res, idx) in resume.residencies" :key="idx" class="item">
|
||||
<span class="item-title">{{ res.org }}</span>
|
||||
<span class="item-meta">{{ res.date }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- References -->
|
||||
<section v-if="resume?.references?.length" class="cv-section">
|
||||
<h4>References</h4>
|
||||
<div class="cv-entry">
|
||||
<div v-for="ref in resume.references" :key="ref.id" class="item">
|
||||
<span class="item-title">{{ ref.name }}</span>
|
||||
<span class="item-detail">{{ ref.position }}</span>
|
||||
<span class="item-detail">{{ ref.email }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
.cv-container {
|
||||
font-size: 12px;
|
||||
width: 175mm;
|
||||
margin: 40px auto;
|
||||
max-width: 100%;
|
||||
padding: 0 30px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
line-height: 1.5;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.cv-header {
|
||||
text-align: center;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.cv-header h1 {
|
||||
font-size: 28px;
|
||||
font-weight: 600;
|
||||
margin: 0 0 4px 0;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
|
||||
.cv-header h3 {
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
margin: 0 0 8px 0;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.cv-header .contact {
|
||||
font-size: 11px;
|
||||
color: #555;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.cv-section {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.cv-section h4 {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.8px;
|
||||
margin: 0 0 10px 0;
|
||||
padding-bottom: 4px;
|
||||
border-bottom: 1px solid #ccc;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.cv-entry {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.item {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.item-header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.item-subtitle {
|
||||
font-style: italic;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.item-meta {
|
||||
font-size: 11px;
|
||||
color: #555;
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.item-detail {
|
||||
font-size: 11px;
|
||||
color: #555;
|
||||
display: block;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.talk-title {
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.item-list {
|
||||
margin: 4px 0 0 0;
|
||||
padding-left: 16px;
|
||||
font-size: 11px;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.item-list li {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.year-group {
|
||||
margin-bottom: 12px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.year-header {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.subsection {
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.subsection-title {
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
color: #444;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.recording-item {
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.bib {
|
||||
font-size: 11px;
|
||||
color: #444;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 16px 0;
|
||||
border: none;
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #222;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@media print {
|
||||
@page {
|
||||
margin: 15mm;
|
||||
}
|
||||
|
||||
.cv-container {
|
||||
margin: 0;
|
||||
padding: 15mm;
|
||||
width: auto;
|
||||
font-size: 10pt;
|
||||
max-width: none;
|
||||
box-sizing: border-box;
|
||||
-webkit-print-color-adjust: exact;
|
||||
print-color-adjust: exact;
|
||||
}
|
||||
|
||||
.cv-header h1 {
|
||||
font-size: 20pt;
|
||||
}
|
||||
|
||||
.cv-header h3 {
|
||||
font-size: 12pt;
|
||||
}
|
||||
|
||||
.cv-section h4 {
|
||||
font-size: 10pt;
|
||||
border-bottom: 1pt solid #999;
|
||||
break-after: avoid;
|
||||
page-break-after: avoid;
|
||||
}
|
||||
|
||||
.item {
|
||||
break-inside: avoid;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.item-meta,
|
||||
.item-detail,
|
||||
.item-list {
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
.year-header {
|
||||
font-size: 10pt;
|
||||
break-after: avoid;
|
||||
page-break-after: avoid;
|
||||
}
|
||||
|
||||
hr {
|
||||
border-top: 1pt solid #999;
|
||||
}
|
||||
|
||||
.cv-entry,
|
||||
.year-group,
|
||||
.subsection {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -1,92 +0,0 @@
|
|||
<template>
|
||||
<div class="bg-zinc-100 rounded-lg m-5 grid grid-cols-2 gap-10 divide-x divide-solid divide-black py-4 mb-10">
|
||||
|
||||
<div class="px-5">
|
||||
<p class="text-lg">performances</p>
|
||||
|
||||
<div v-for="(item, index) in events">
|
||||
<Collapsible title='placeholder' :modelValue='index <= 10' class="leading-tight py-2 ml-3 text-sm">
|
||||
<template v-slot:title>
|
||||
<div class="gap-1 w-[95%] px-2">
|
||||
<div>
|
||||
{{ item.formatted_date }}: {{item.venue.city}}, {{item.venue.state}}
|
||||
<div class="ml-4 text-[#7F7F7F]">
|
||||
{{ item.venue.name }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<template v-slot:content>
|
||||
<div v-for="performance in item.program">
|
||||
<div class="italic text-sm ml-16 pt-1">{{performance.work}}</div>
|
||||
<div v-if="performance.ensemble" class="ml-20">
|
||||
{{ performance.ensemble }}
|
||||
</div>
|
||||
<div v-for="performer in performance.performers" class="ml-20">
|
||||
{{ performer.name }} -
|
||||
<span v-for="(instrument, index) in performer.instrument_tags">
|
||||
<span v-if="index !== 0">, </span>
|
||||
{{ instrument }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="italic text-sm ml-16 pt-1">{{item.legacy_program}}</div>
|
||||
<div class="ml-20">{{item.legacy_performers}}</div>
|
||||
</template>
|
||||
</Collapsible>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="px-5">
|
||||
<p class="text-lg">lectures</p>
|
||||
|
||||
<div class="leading-tight py-2 ml-3 text-sm" v-for="item in lectures">
|
||||
<div class="gap-1">
|
||||
<div>
|
||||
{{ item.formatted_date }}: {{item.location}}
|
||||
<div v-for="talk in item.talks" class="ml-4 text-[#7F7F7F]">
|
||||
{{ talk.title }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<script setup>
|
||||
const { data: events } = await useFetch('/api/events', {
|
||||
transform: (events) => {
|
||||
for (const event of events) {
|
||||
let date = new Date(event.start_date)
|
||||
event.formatted_date = ("0" + (date.getMonth() + 1)).slice(-2) + "." + ("0" + date.getDate()).slice(-2) + "." + date.getFullYear()
|
||||
}
|
||||
return events.sort((a,b) => new Date(b.start_date) - new Date(a.start_date))
|
||||
}
|
||||
})
|
||||
|
||||
const { data: lectures } = await useFetch('/api/talks', {
|
||||
transform: (events) => {
|
||||
for (const event of events) {
|
||||
let date = new Date(event.date)
|
||||
event.date = date
|
||||
event.formatted_date = ("0" + (date.getMonth() + 1)).slice(-2) + "." + ("0" + date.getDate()).slice(-2) + "." + date.getFullYear()
|
||||
if(typeof event.title === 'string' || event.title instanceof String) {event.talks = [{'title': event.title}]
|
||||
} else {
|
||||
let talks = []
|
||||
for(const talk of event.title){
|
||||
talks.push({"title": talk})
|
||||
}
|
||||
event.talks = talks
|
||||
}
|
||||
}
|
||||
return events.sort((a,b) => new Date(b.date) - new Date(a.date))
|
||||
}
|
||||
})
|
||||
|
||||
useHead({
|
||||
titleTemplate: 'Michael Winter - Events - Performances and Lectures'
|
||||
})
|
||||
</script>
|
||||
|
||||
|
|
@ -1,151 +0,0 @@
|
|||
<template>
|
||||
<div class="bg-zinc-100 rounded-lg m-5 grid grid-cols-3 gap-10 divide-x divide-solid divide-black py-4 mb-10">
|
||||
|
||||
<div class="px-5">
|
||||
<p class="text-lg">pieces</p>
|
||||
|
||||
<div class="py-2 ml-3" v-for="item in works">
|
||||
<p class="font-thin">{{ item.year }}</p>
|
||||
<div class="leading-tight py-1 ml-3" v-for="work in item.works">
|
||||
<div class="grid grid-cols-[65%,30%] gap-1 font-thin items-start">
|
||||
<div class="italic text-sm">{{ work.title }}</div>
|
||||
<div class="inline-flex mt-[-4px]">
|
||||
|
||||
<div>
|
||||
<IconButton :visible="work.score" type="score" :work="work" :link="work.score" class="inline-flex p-1"></IconButton>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<IconButton :visible="work.soundcloud_trackid" type="audio" :work="work" class="inline-flex p-1"></IconButton>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<IconButton :visible="work.vimeo_trackid" type="video" :work="work" class="inline-flex p-1"></IconButton>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<IconButton :visible="work.gallery" type="image" :work="work" class="inline-flex p-1"></IconButton>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="px-5">
|
||||
<p class="text-lg">writings</p>
|
||||
|
||||
<div class="leading-tight py-2 ml-3 text-sm" v-for="item in pubs">
|
||||
<div class="grid grid-cols-[95%,5%] gap-1 items-start">
|
||||
<div>
|
||||
<span v-html="item.entryTags.title"></span>
|
||||
<div class="ml-4 text-[#7F7F7F]">
|
||||
{{ item.entryTags.author }}
|
||||
<span v-if=item.entryTags.booktitle>{{ item.entryTags.booktitle}}. </span>
|
||||
<span v-if=item.entryTags.journal>{{item.entryTags.journal}}. </span>
|
||||
<span v-if=item.entryTags.editor>editors {{item.entryTags.editor}} </span>
|
||||
<span v-if=item.entryTags.volume>volume {{item.entryTags.volume}}.</span>
|
||||
<span v-if=item.entryTags.publisher>{{item.entryTags.publisher}}.</span>
|
||||
{{ item.entryTags.year }}.
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<IconButton :visible=item.entryTags.howpublished type="document" :link="item.entryTags.howpublished" class="inline-flex p-1 mt-[-6px]"></IconButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="px-5">
|
||||
<p class="text-lg">albums</p>
|
||||
<div class="flex flex-col items-center leading-tight py-4 text-sm" v-for="item in releases">
|
||||
<p class="leading-tight py-2">{{ item.title }}</p>
|
||||
<button @click="modalStore.setModalProps('image', 'aspect-auto', true, 'album_art', [{image: item.album_art}], '')">
|
||||
<nuxt-img :src="'/album_art/' + item.album_art"
|
||||
quality="50"/>
|
||||
</button>
|
||||
<div class="flex place-content-center place-items-center">
|
||||
<IconButton :visible="item.discogs_id" type="discogs" :link="'https://www.discogs.com/release/' + item.discogs_id" :newTab="true"></IconButton>
|
||||
<IconButton :visible="item.buy_link" type="buy" :link="item.buy_link" :newTab="true"></IconButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
import { useModalStore } from "@/stores/ModalStore"
|
||||
|
||||
const modalStore = useModalStore()
|
||||
|
||||
const groupBy = (x,f)=>x.reduce((a,b,i)=>((a[f(b,i,x)]||=[]).push(b),a),{});
|
||||
|
||||
const isValidUrl = urlString => {
|
||||
var pattern = /^((http|https|ftp):\/\/)/;
|
||||
return pattern.test(urlString)
|
||||
}
|
||||
|
||||
|
||||
const { data: images } = await useFetch('/api/images')
|
||||
|
||||
const { data: works } = await useFetch('/api/works', {
|
||||
transform: (works) => {
|
||||
for (const work of works) {
|
||||
if(work.score){
|
||||
work.score = "/scores/" + work.score
|
||||
}
|
||||
if(work.images){
|
||||
let gallery = [];
|
||||
for (const image of work.images){
|
||||
gallery.push({
|
||||
image: image.filename,
|
||||
})
|
||||
}
|
||||
work.gallery = gallery
|
||||
}
|
||||
}
|
||||
let priorityGroups = groupBy(works, work => work.priority)
|
||||
let groups = groupBy(priorityGroups["1"], work => new Date(work.date).getFullYear())
|
||||
groups = Object.keys(groups).map((year) => {
|
||||
return {
|
||||
year,
|
||||
works: groups[year].sort((a,b) => new Date(b.date) - new Date(a.date))
|
||||
};
|
||||
});
|
||||
groups.sort((a,b) => b.year - a.year)
|
||||
if (priorityGroups["2"]) {
|
||||
groups.push({year: "miscellany", works: priorityGroups["2"].sort((a,b) => new Date(b.date) - new Date(a.date))})
|
||||
}
|
||||
return groups
|
||||
}
|
||||
})
|
||||
|
||||
const { data: pubs } = await useFetch('/api/publications', {
|
||||
transform: (pubs) => {
|
||||
for (const pub of pubs) {
|
||||
if(pub.entryTags && pub.entryTags.howpublished && !(isValidUrl(pub.entryTags.howpublished))){
|
||||
pub.entryTags.howpublished = "/pubs/" + pub.entryTags.howpublished
|
||||
}
|
||||
}
|
||||
return pubs.sort((a,b) => (a.citationKey > b.citationKey) ? -1 : ((b.citationKey > a.citationKey) ? 1 : 0))
|
||||
}
|
||||
})
|
||||
|
||||
const { data: releases } = await useFetch('/api/releases', {
|
||||
transform: (releases) => {
|
||||
return releases.sort((a,b) => {
|
||||
const dateA = parseInt(a.date) || 0
|
||||
const dateB = parseInt(b.date) || 0
|
||||
return dateB - dateA
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
useHead({
|
||||
titleTemplate: 'Michael Winter - Home / Works - Pieces, Publications, and Albums'
|
||||
})
|
||||
|
||||
</script>
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
<template>
|
||||
<div class="flex min-h-full items-center justify-center text-center">
|
||||
<embed v-if="isPdf" :src="filePath" class="w-[85%] h-[88vh]"/>
|
||||
<NuxtImg v-else-if="isImage" :src="filePath" class="w-[85%]"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const route = useRoute()
|
||||
|
||||
const filePath = computed(() => {
|
||||
const filename = route.params.filename
|
||||
return '/scores/' + filename
|
||||
})
|
||||
|
||||
const isPdf = computed(() => {
|
||||
return route.params.filename?.endsWith('.pdf')
|
||||
})
|
||||
|
||||
const isImage = computed(() => {
|
||||
const fn = route.params.filename || ''
|
||||
return fn.endsWith('.jpg') || fn.endsWith('.jpeg') || fn.endsWith('.png')
|
||||
})
|
||||
|
||||
useHead({
|
||||
titleTemplate: 'Michael Winter - Scores - ' + route.params.filename
|
||||
})
|
||||
</script>
|
||||
|
|
@ -1,239 +0,0 @@
|
|||
<script setup>
|
||||
definePageMeta({
|
||||
layout: 'plain'
|
||||
})
|
||||
|
||||
const { data: resume } = await useFetch('/api/resume')
|
||||
const { data: works } = await useFetch('/api/works')
|
||||
const { data: events } = await useFetch('/api/events')
|
||||
|
||||
const worksByYear = computed(() => {
|
||||
if (!works.value) return []
|
||||
|
||||
const grouped = {}
|
||||
|
||||
for (const work of works.value) {
|
||||
const year = work.date ? new Date(work.date).getFullYear() : 'Unknown'
|
||||
if (!grouped[year]) {
|
||||
grouped[year] = []
|
||||
}
|
||||
|
||||
const workEvents = events.value?.filter(e => {
|
||||
if (!e.program) return false
|
||||
return e.program.some(p => p.work?.toLowerCase().includes(work.title.toLowerCase()))
|
||||
}) || []
|
||||
|
||||
grouped[year].push({
|
||||
...work,
|
||||
location: work.instrument_tags?.[0] || '',
|
||||
events: workEvents
|
||||
})
|
||||
}
|
||||
|
||||
return Object.keys(grouped)
|
||||
.sort((a, b) => b - a)
|
||||
.map(year => ({
|
||||
year,
|
||||
works: grouped[year].sort((a, b) => new Date(b.date) - new Date(a.date))
|
||||
}))
|
||||
})
|
||||
|
||||
function formatDate(dateStr) {
|
||||
if (!dateStr) return ''
|
||||
const date = new Date(dateStr)
|
||||
if (isNaN(date)) return dateStr
|
||||
return date.toLocaleDateString('en-US', { month: 'short', day: 'numeric' })
|
||||
}
|
||||
|
||||
useHead({
|
||||
titleTemplate: 'Michael Winter'
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="cv-container">
|
||||
<header class="cv-header">
|
||||
<h1>{{ resume?.basics?.name }}</h1>
|
||||
<h3>Works List with Presentation History</h3>
|
||||
<p class="contact">
|
||||
{{ resume?.basics?.email }} · {{ resume?.basics?.phone }} · {{ resume?.basics?.website }}
|
||||
</p>
|
||||
</header>
|
||||
|
||||
<hr />
|
||||
|
||||
<p class="intro">
|
||||
A chronological performance / exhibition history, scores, and recordings are available at<br>
|
||||
www.unboundedpress.org.<br>
|
||||
All scores are also published or forthcoming through Frog Peak at<br>
|
||||
www.frogpeak.org/fpartists/fpwinter.html.
|
||||
</p>
|
||||
|
||||
<!-- Works by Year -->
|
||||
<section v-for="yearGroup in worksByYear" :key="yearGroup.year" class="cv-section">
|
||||
<h4>{{ yearGroup.year }}</h4>
|
||||
|
||||
<div v-for="work in yearGroup.works" :key="work.id" class="work-entry">
|
||||
<div class="work-title"><em>{{ work.title }}</em></div>
|
||||
<div class="work-info" v-if="work.instrument_tags">
|
||||
<span v-for="(tag, idx) in work.instrument_tags" :key="tag">
|
||||
{{ tag }}{{ idx < work.instrument_tags.length - 1 ? ', ' : '' }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="work-events" v-if="work.events?.length">
|
||||
<div v-for="event in work.events" :key="event.id" class="event">
|
||||
{{ event.venue?.name }}; {{ event.venue?.city }}, {{ event.venue?.state }} — {{ formatDate(event.start_date) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
.cv-container {
|
||||
font-size: 12px;
|
||||
width: 175mm;
|
||||
margin: 40px auto;
|
||||
max-width: 100%;
|
||||
padding: 0 30px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
line-height: 1.5;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.cv-header {
|
||||
text-align: center;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.cv-header h1 {
|
||||
font-size: 28px;
|
||||
font-weight: 600;
|
||||
margin: 0 0 4px 0;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
|
||||
.cv-header h3 {
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
margin: 0 0 8px 0;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.cv-header .contact {
|
||||
font-size: 11px;
|
||||
color: #555;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.cv-section {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.cv-section h4 {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.8px;
|
||||
margin: 0 0 10px 0;
|
||||
padding-bottom: 4px;
|
||||
border-bottom: 1px solid #ccc;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.intro {
|
||||
font-size: 11px;
|
||||
color: #444;
|
||||
margin-bottom: 20px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.work-entry {
|
||||
margin-bottom: 10px;
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.work-title {
|
||||
font-size: 12px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.work-info {
|
||||
font-size: 11px;
|
||||
color: #444;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.work-events {
|
||||
font-size: 11px;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.event {
|
||||
padding-left: 12px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 16px 0;
|
||||
border: none;
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
|
||||
@media print {
|
||||
@page {
|
||||
margin: 15mm;
|
||||
}
|
||||
|
||||
.cv-container {
|
||||
margin: 0;
|
||||
padding: 15mm;
|
||||
width: auto;
|
||||
font-size: 10pt;
|
||||
max-width: none;
|
||||
box-sizing: border-box;
|
||||
-webkit-print-color-adjust: exact;
|
||||
print-color-adjust: exact;
|
||||
}
|
||||
|
||||
.cv-header h1 {
|
||||
font-size: 20pt;
|
||||
}
|
||||
|
||||
.cv-header h3 {
|
||||
font-size: 12pt;
|
||||
}
|
||||
|
||||
.cv-section h4 {
|
||||
font-size: 10pt;
|
||||
border-bottom: 1pt solid #999;
|
||||
break-after: avoid;
|
||||
page-break-after: avoid;
|
||||
}
|
||||
|
||||
.work-entry {
|
||||
break-inside: avoid;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
.work-title {
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
.work-info,
|
||||
.work-events {
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
hr {
|
||||
border-top: 1pt solid #999;
|
||||
}
|
||||
|
||||
.work-entry,
|
||||
.cv-section {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
import { defaultConfig, plugin } from '@formkit/vue'
|
||||
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.vueApp.use(plugin, defaultConfig)
|
||||
})
|
||||
|
Before Width: | Height: | Size: 832 KiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 506 KiB |
|
Before Width: | Height: | Size: 354 KiB |
|
Before Width: | Height: | Size: 491 KiB |
|
Before Width: | Height: | Size: 874 KiB |
|
Before Width: | Height: | Size: 1,010 KiB |
|
Before Width: | Height: | Size: 569 KiB |
|
Before Width: | Height: | Size: 369 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 367 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 266 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 2.2 MiB |
|
Before Width: | Height: | Size: 3.8 MiB |
|
Before Width: | Height: | Size: 1,003 KiB |
|
Before Width: | Height: | Size: 3.1 MiB |
|
Before Width: | Height: | Size: 3.5 MiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 239 KiB |
|
Before Width: | Height: | Size: 2.2 MiB |
|
Before Width: | Height: | Size: 2.2 MiB |
|
Before Width: | Height: | Size: 6.3 MiB |
|
Before Width: | Height: | Size: 4.1 MiB |
|
Before Width: | Height: | Size: 4 MiB |
|
Before Width: | Height: | Size: 3 MiB |
|
Before Width: | Height: | Size: 3.3 MiB |
|
Before Width: | Height: | Size: 2.5 MiB |
|
Before Width: | Height: | Size: 2.3 MiB |
|
Before Width: | Height: | Size: 4.5 MiB |