Skip to content

Commit 43be82e

Browse files
Add marketing site and docs to repo (#538)
* Remove original docs * Migrate over webext-bridge site for sample * Update Open Graph site name from 'Webext Bridge' to 'AmplitudeJS' * Remove build failure * Revert "Remove build failure" This reverts commit 74faf55. * Fixed icons * Config ready * Enhance typography configuration in Tailwind CSS and remove unused Anchor component. Updated typography styles for headings, lists, and code elements. Adjusted content rendering styles in documentation pages for improved layout and readability. * Updated to proper format * Update project ownership and URLs to reflect transition from 521 Dimensions to Server Side Up. Modified license, package.json, README, and various documentation links. Added new mobile menu component and improved layout for better responsiveness. * Ready for QA * Set Node version * Update .env.example with new site configuration, including NUXT_SITE_URL, NUXT_SITE_NAME, NUXT_SITE_ENV, and PLAUSIBLE_ENABLED settings for development environment. * Remove nuxt-headlessui dependency and update @headlessui/vue to version 1.7.23. Clean up app.vue and nuxt.config.ts files by removing unused code. --------- Co-authored-by: Dan Pastori <dan@521dimensions.com>
1 parent e8af228 commit 43be82e

File tree

179 files changed

+16842
-2120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+16842
-2120
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe
3434

3535
## Enforcement
3636

37-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at hello@521dimensions.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at hello@serversideup.net. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
3838

3939
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
4040

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ We also have a few guidelines on getting started and how to contribute:
1818
3. Run `npm run build` to process a build of your source code
1919

2020
# Submitting a pull request
21-
We ask that any pull requests be submitted to our `dev` branch, which you can do here: https://github.com/521dimensions/amplitudejs/pull/new/dev
21+
We ask that any pull requests be submitted to our `dev` branch, which you can do here: https://github.com/serversideup/amplitudejs/pull/new/dev
2222

2323
## Automated Tests
2424
AmplitudeJS ships with a full test suite written in Jest: [https://jestjs.io/](https://jestjs.io/) to ensure stable, production ready code. This process is automated by TravisCI on every commit we push. We tried to cover every scenario and even did some UI/UX tests. Like all of AmplitudeJS we welcome any critiques and contributes you may have for the tests.

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
.DS_Store
33
node_modules/
44
*.log
5-
Iconr
6-
icon*
75
.vscode
86
.sass-cache
97
logs/

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2021 521 Dimensions
3+
Copyright (c) 2025 Server Side Up
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

README.md

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
<p align="center">
2-
<a href="https://521dimensions.com/open-source/amplitudejs" target="_blank">
3-
<img src="https://521dimensions.com/img/open-source/amplitudejs/AmplitudeJS-NoSlogan.svg" width="600" alt="AmplitudeJS Logo">
2+
<a href="https://serversideup.net/open-source/amplitudejs" target="_blank">
3+
<img src="https://serversideup.net/open-source/amplitudejs/images/logos/AmplitudeJS-NoSlogan.svg" width="600" alt="AmplitudeJS Logo">
44
</a>
55
</p>
66
<p align="center">
7-
<a title="Documentation" href="https://521dimensions.com/open-source/amplitudejs/docs/"><strong>Documentation</strong></a>
7+
<a title="Documentation" href="https://serversideup.net/open-source/amplitudejs/docs/"><strong>Documentation</strong></a>
88
&#x2022;
9-
<a title="Examples" href="https://521dimensions.com/open-source/amplitudejs/docs/examples/"><strong>Examples</strong></a>
10-
&#x2022;
11-
<a title="Tutorials" href="https://serversideup.net/search/?tags=amplitudejs&type=all"><strong>Tutorials</strong></a>
9+
<a title="Examples" href="https://serversidieup.net/open-source/amplitudejs/examples/"><strong>Examples</strong></a>
1210
&#x2022;
1311
<a title="Support Us" href="https://github.com/sponsors/serversideup"><strong>Support Us</strong></a>
1412
&#x2022;
15-
<a title="Get Professional Help" href="https://serversideup.net/get-help/?quick_question=amplitudejs"><strong>Get Professional Help</strong></a>
13+
<a title="Get Professional Help" href="https://schedule.serversideup.net/team/serversideup/quick-chat-with-dan"><strong>Get Professional Help</strong></a>
1614
</p>
1715
<p align="center">
1816
<a href="https://github.com/serversideup/amplitudejs/actions" target="_blank"><img src="https://github.com/serversideup/amplitudejs/workflows/publish-production/badge.svg" alt="Build Status"></a>
@@ -21,19 +19,19 @@
2119
<a href="https://www.npmjs.com/package/amplitudejs" target="_blank"><img src="https://badgen.net/npm/dt/amplitudejs" alt="Downloads"></a>
2220
<a href="https://community.serversideup.net/c/get-help/amplitudejs/27" target="_blank"><img src="https://badgen.net/badge/icon/On%20Discourse?label=chat&color=cyan" alt="Chat"></a>
2321
<br />
24-
<a href="https://david-dm.org/521dimensions/amplitudejs" target="_blank"><img src="https://badgen.net/david/dep/521dimensions/amplitudejs" alt="david-dm"></a>
25-
<a href="https://raw.githubusercontent.com/521dimensions/amplitudejs/master/LICENSE" target="_blank"><img src="https://badgen.net/github/license/521dimensions/amplitudejs" alt="License"></a>
22+
<a href="https://david-dm.org/serversideup/amplitudejs" target="_blank"><img src="https://badgen.net/david/dep/serversideup/amplitudejs" alt="david-dm"></a>
23+
<a href="https://raw.githubusercontent.com/serversideup/amplitudejs/master/LICENSE" target="_blank"><img src="https://badgen.net/github/license/serversideup/amplitudejs" alt="License"></a>
2624
<a href="https://github.com/sponsors/serversideup"><img src="https://badgen.net/badge/icon/Support%20Us?label=Github%20Sponsors&color=orange" alt="Support us"></a>
2725
</p>
2826

29-
AmplitudeJS is a lightweight JavaScript library that allows you to control the design of your media controls in your webpage -- not the browser. No dependencies (jQuery not required). AmplitudeJS is available under the [MIT License](https://raw.githubusercontent.com/521dimensions/amplitudejs/master/LICENSE).
27+
AmplitudeJS is a lightweight JavaScript library that allows you to control the design of your media controls in your webpage -- not the browser. No dependencies (jQuery not required). AmplitudeJS is available under the [MIT License](https://raw.githubusercontent.com/serversideup/amplitudejs/master/LICENSE).
3028

3129
## Demo
3230
<p align="center">
33-
<a href="https://521dimensions.com/open-source/amplitudejs" target="_blank">
34-
<img src="https://521dimensions.com/img/open-source/amplitudejs/AmplitudeDemo.jpg" alt="MIT License" width="600">
31+
<a href="https://serversideup.net/open-source/amplitudejs" target="_blank">
32+
<img src="https://serversideup.net/open-source/amplitudejs/images/screenshots/AmplitudeDemo.jpg" alt="MIT License" width="600">
3533
</a><br />
36-
Click the image above to go to the demo site or <a href="https://521dimensions.com/open-source/amplitudejs" target="_blank">click here</a>.
34+
Click the image above to go to the demo site or <a href="https://serversideup.net/open-source/amplitudejs" target="_blank">click here</a>.
3735
</p>
3836

3937
## This Software is Community-run
@@ -43,7 +41,7 @@ Open-source software is not sustainable without proper financial support. Mainta
4341
## Sponsors
4442
These people believe in open-source. If you are interested in improving the project, <a href="https://opencollective.com/amplitudejs" target="_blank">become a sponsor</a>.
4543
### Platinum Sponsors
46-
<a href="https://soothingrelaxation.com/" target="_blank"><img width="250" src="https://521dimensions.com/img/open-source/amplitudejs/sponsors/soothing-relaxation.png"></a>
44+
<a href="https://soothingrelaxation.com/" target="_blank"><img width="250" src="https://serversideup.net/open-source/amplitudejs/images/logos/soothing-relaxation.png"></a>
4745

4846
### Silver Sponsors
4947
- [Monarch Air Group](https://monarchairgroup.com/)
@@ -75,20 +73,20 @@ These people believe in open-source. If you are interested in improving the proj
7573

7674
## Example Players
7775

78-
Looking for some cool examples to get started with? [View all of our example players &rarr;](https://521dimensions.com/open-source/amplitudejs/docs/examples/index.html)
76+
Looking for some cool examples to get started with? [View all of our example players &rarr;](https://serversideup.net/open-source/amplitudejs/examples)
7977

8078
#### View the source
8179
All of our example players have the code available on our ["AmplitudeJS Example Players" repository](https://github.com/serversideup/amplitudejs-player-examples). Feel free to submit a PR of your own example if you want! [See the source for our example players &rarr;](https://github.com/serversideup/amplitudejs-player-examples)
8280

8381
## Installation
84-
Installation is a breeze and very flexible on how you want to use it. [View the installation instructions &rarr;](https://521dimensions.com/open-source/amplitudejs/docs/installation/)
82+
Installation is a breeze and very flexible on how you want to use it. [View the installation instructions &rarr;](https://serversideup.net/open-source/amplitudejs/docs/installation/)
8583

8684

8785
## Documentation & Usage
88-
All of our documentation is located in the `/docs` folder, but we made an even easier and more beautiful way to fully experience AmplitudeJS. [View our documentation site &rarr;](https://521dimensions.com/open-source/amplitudejs/docs)
86+
All of our documentation is located in the `/docs` folder, but we made an even easier and more beautiful way to fully experience AmplitudeJS. [View our documentation site &rarr;](https://serversideup.net/open-source/amplitudejs/docs)
8987

9088
## Getting Help
91-
Feeling stuck? No worries! We have entire community built around helping eachother out. [Get help &rarr;](https://521dimensions.com/open-source/amplitudejs/docs/help-and-support/)
89+
Feeling stuck? No worries! We have entire community built around helping eachother out. [Get help &rarr;](https://serversideup.net/professional-support/)
9290

9391
## Roadmap
94-
We have all of our proposed features organized on our [roadmap](https://github.com/521dimensions/amplitudejs/projects/11). If you are interested in sponsoring a specific feature, just comment on that feature and we will get in touch with you soon!
92+
We have all of our proposed features organized on our [roadmap](https://github.com/serversideup/amplitudejs/projects/11). If you are interested in sponsoring a specific feature, just comment on that feature and we will get in touch with you soon!

docs/.env.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
NUXT_SITE_URL=https://localhost:3000
2+
NUXT_SITE_NAME="AmplitudeJS | A JavaScript library that allows you to control the design of your media controls in your webpage -- not the browser. No dependencies (jQuery not required) https://serversideup.net/open-source/amplitudejs"
3+
NUXT_SITE_ENV="development"
4+
PLAUSIBLE_ENABLED=false

docs/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Nuxt dev/build outputs
2+
.output
3+
.data
4+
.nuxt
5+
.nitro
6+
.cache
7+
dist
8+
9+
# Node dependencies
10+
node_modules
11+
12+
# Logs
13+
logs
14+
*.log
15+
16+
# Misc
17+
.DS_Store
18+
.fleet
19+
.idea
20+
21+
# Local env files
22+
.env
23+
.env.*
24+
!.env.example

docs/README.md

Lines changed: 82 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,82 @@
1-
---
2-
title: Overview - AmplitudeJS Documentation
3-
meta:
4-
- name: description
5-
content: Amplitude.js is the HTML5 audio player for the modern era. Using no dependencies, take control of the browser and design a web audio player the way you want it to look.
6-
- name: og:locale
7-
content: en_US
8-
- name: og:type
9-
content: website
10-
- name: og:title
11-
content: Amplitude.js The Open Source HTML5 Audio Player for the Modern Era
12-
- name: og:description
13-
content: Amplitude.js is the open source HTML5 audio player for the modern era. Using no dependencies, take control of the browser and design an audio player the way you want it to look.
14-
- name: og:url
15-
content: https://521dimensions.com/open-source/amplitudejs/docs/
16-
- name: og:site_name
17-
content: Amplitude.js
18-
- name: og:image
19-
content: https://521dimensions.com/img/open-source/amplitudejs/og-image-amplitudejs.png
20-
- name: og:image:width
21-
content: 1200
22-
- name: og:image:height
23-
content: 630
24-
- name: twitter:card
25-
content: summary_large_image
26-
- name: twitter:description
27-
content: Amplitude.js is the open source HTML5 audio player for the modern era. Using no dependencies, take control of the browser and design an audio player the way you want it to look. Available for free on Github.
28-
- name: twitter:title
29-
content: Amplitude.js The HTML Audio Player for the Modern Era
30-
- name: twitter:site
31-
content: "@521dimensions"
32-
- name: twitter:image
33-
content: https://521dimensions.com/img/open-source/amplitudejs/og-image-amplitudejs.png
34-
- name: creator
35-
content: "@521dimensions"
36-
---
37-
38-
# Overview
39-
<carbon-ads/>
40-
The concept of Amplitude.js is simple, allow designers to fully control the look
41-
and feel of their audio player through the web without having to understand
42-
advanced scripting. In HTML5, the audio tag allows users to add common audio
43-
formats to their web page. The problem is that the audio playback interface is
44-
controlled by the browser. Amplitude.js puts you in control of the design by
45-
simply applying a class and/or attributes to page elements. You can then style these
46-
elements through CSS and control your audio. Amplitude.js goes above and
47-
beyond by adding playlist capabilities (next, previous, shuffle), song meta
48-
data and visualizations. Amplitude.js is now mobile friendly as well. If it
49-
detects a request coming from a mobile device it will apply a touchstart event
50-
listener instead of a click to the appropriate elements.
1+
# Nuxt 3 Minimal Starter
2+
3+
Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
4+
5+
## Prepare environment
6+
Copy over the `.env.example` file to `.env` and fill in the necessary environment variables.
7+
8+
```bash
9+
cp .env.example .env
10+
```
11+
12+
## Setup
13+
14+
Make sure to install the dependencies:
15+
16+
```bash
17+
# npm
18+
npm install
19+
20+
# pnpm
21+
pnpm install
22+
23+
# yarn
24+
yarn install
25+
26+
# bun
27+
bun install
28+
```
29+
30+
## Development Server
31+
32+
Start the development server on `http://localhost:3000`:
33+
34+
```bash
35+
# npm
36+
npm run dev
37+
38+
# pnpm
39+
pnpm run dev
40+
41+
# yarn
42+
yarn dev
43+
44+
# bun
45+
bun run dev
46+
```
47+
48+
## Production
49+
50+
Build the application for production:
51+
52+
```bash
53+
# npm
54+
npm run build
55+
56+
# pnpm
57+
pnpm run build
58+
59+
# yarn
60+
yarn build
61+
62+
# bun
63+
bun run build
64+
```
65+
66+
Locally preview production build:
67+
68+
```bash
69+
# npm
70+
npm run preview
71+
72+
# pnpm
73+
pnpm run preview
74+
75+
# yarn
76+
yarn preview
77+
78+
# bun
79+
bun run preview
80+
```
81+
82+
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.

docs/app.config.ts

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
export default defineAppConfig({
2+
discord: {
3+
link: 'https://serversideup.net/discord/'
4+
},
5+
hireUs: {
6+
contact_link: 'mailto:hireus@serversideup.net?subject=Project%20Inquiry',
7+
stripe: {
8+
starter: 'https://buy.stripe.com/6oEcPmfBs1UjafS001',
9+
accelerator: 'https://buy.stripe.com/7sI4iQfBs9mLfAccMO'
10+
}
11+
},
12+
metrics: {
13+
repositories: 62,
14+
stars: 10,
15+
downloads: 7,
16+
subscribers: 7000,
17+
discord: '1,500+',
18+
newsletter: '2,000+'
19+
},
20+
products: {
21+
bugflow: {
22+
learn_more: 'https://bugflow.io',
23+
start_trial: 'https://app.bugflow.io/register'
24+
},
25+
spin_pro: {
26+
learn_more: 'https://getspin.pro',
27+
buy_now: 'https://store.serversideup.net/buy/9cf51bbc-2a86-4ea1-958b-c4d69e05cde6?checkout%5Bdiscount_code%5D=FIRST50'
28+
},
29+
browser_extensions_book: {
30+
learn_more: '/products/building-multi-platform-browser-extensions/',
31+
buy_now: 'https://store.serversideup.net/checkout/buy/5ec75643-2fc5-4366-ae67-213a217c4e54?checkout',
32+
essentials: {
33+
link: 'https://store.serversideup.net/checkout/buy/96e2d787-e797-4e13-9c8d-0aeb7b687844'
34+
},
35+
complete_package: {
36+
link: 'https://store.serversideup.net/checkout/buy/5ec75643-2fc5-4366-ae67-213a217c4e54?checkout'
37+
}
38+
},
39+
api_spa_book: {
40+
learn_more: '/products/ultimate-guide-to-building-apis-and-spas-with-laravel-and-nuxt3/',
41+
buy_now: 'https://serversideup.lemonsqueezy.com/checkout/buy/10d32965-4348-4502-a8cc-cf4895c4a841?checkout%5Bdiscount_code%5D=LAUNCHCOMPLETE',
42+
essentials: {
43+
link: 'https://serversideup.lemonsqueezy.com/checkout/buy/69a4e541-e74b-4c40-9cde-15fd9a13c6da?checkout%5Bdiscount_code%5D=LAUNCHESSENTIALS'
44+
},
45+
complete_package: {
46+
link: 'https://serversideup.lemonsqueezy.com/checkout/buy/10d32965-4348-4502-a8cc-cf4895c4a841?checkout%5Bdiscount_code%5D=LAUNCHCOMPLETE'
47+
}
48+
},
49+
docker_php: {
50+
learn_more: 'https://serversideup.net/open-source/docker-php/',
51+
repo: 'https://github.com/serversideup/docker-php'
52+
},
53+
spin: {
54+
learn_more: 'https://serversideup.net/open-source/spin/',
55+
repo: 'https://github.com/serversideup/spin'
56+
},
57+
financial_freedom: {
58+
learn_more: 'https://serversideup.net/open-source/financial-freedom/',
59+
repo: 'https://github.com/serversideup/financial-freedom'
60+
},
61+
amplitudejs: {
62+
learn_more: 'https://serversideup.net/open-source/amplitudejs/',
63+
repo: 'https://github.com/serversideup/amplitudejs'
64+
},
65+
webext_bridge: {
66+
learn_more: 'https://serversideup.net/open-source/webext-bridge/',
67+
repo: 'https://github.com/serversideup/webext-bridge'
68+
}
69+
},
70+
schedule: {
71+
dan: 'https://schedule.serversideup.net/team/serversideup/quick-chat-with-dan',
72+
jay: 'https://schedule.serversideup.net/team/serversideup/quick-chat-with-jay'
73+
}
74+
});

0 commit comments

Comments
 (0)