Skip to content

Commit 5af192e

Browse files
authored
Merge pull request #107 from fulldotdev/0.6
0.6
2 parents faa7951 + 1024adc commit 5af192e

File tree

420 files changed

+11709
-12248
lines changed

Some content is hidden

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

420 files changed

+11709
-12248
lines changed

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
URL=https://localhost:4321
2+
STRIPE_SECRET_KEY=
3+
STRIPE_RESTRICTED_KEY=

.prettierrc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ singleAttributePerLine: true
77
plugins:
88
- 'prettier-plugin-css-order'
99
- 'prettier-plugin-astro'
10+
- 'prettier-plugin-tailwindcss'
1011
- 'prettier-plugin-organize-imports' # Must be last
1112
- 'prettier-plugin-astro-organize-imports' # Must be last last
1213
overrides:

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@
2020
"files.associations": {
2121
"*.astro": "astro"
2222
},
23+
"typescript.tsdk": "node_modules/typescript/lib",
24+
"typescript.preferences.importModuleSpecifier": "non-relative"
2325
}

CONTRIBUTING.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,25 @@ Here lay a few resources we wrote to help you do it!
1515
│ ├── content/
1616
│ │ ├── pages/
1717
│ │ │ └── ...
18-
│ │ ├── settings/
18+
│ │ ├── presets/
1919
│ │ │ └── ...
2020
│ │ └── ...
2121
│ ├── css/
2222
│ │ └── ...
23+
│ ├── images/
24+
│ │ └── ...
2325
│ ├── integration/
2426
│ │ └── ...
2527
│ ├── layouts/
2628
│ │ └── ...
29+
│ ├── loaders/
30+
│ │ └── ...
2731
│ ├── pages/
2832
│ │ └── ...
2933
│ ├── schemas/
3034
│ │ └── ...
35+
│ ├── types/
36+
│ │ └── ...
3137
│ └── utils/
3238
│ └── ...
3339
├── public/
@@ -101,9 +107,9 @@ For a faster and easier review we advise you to use [conventional commits](https
101107
Have you used fulldev-ui to build a website? Add it to the showcase!
102108

103109
1. Fork this repository.
104-
2. Add a screenshot of your site to the `public/showcase/` directory.
105-
3. Add your site to the `showcase` array at the top of `src/content/pages/showcase.mdx`.
106-
4. Go to the forked repository on your Github and clicke the 'Contribute` button to make a Pull Request.
110+
2. Add a screenshot of your site to the `/src/images/showcase/` directory.
111+
3. Create a file which in `/src/content/pages/showcase/` for example `/src/content/pages/showcase/google.md`.
112+
4. Go to the forked repository on your Github and clicke the "Contribute" button to make a Pull Request.
107113

108114
## Community / Contact
109115

astro.config.ts

Lines changed: 14 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,25 @@
1-
import mdx from '@astrojs/mdx'
2-
import sitemap from '@astrojs/sitemap'
3-
// @ts-ignore
4-
import liveCode from 'astro-live-code'
5-
import pagefind from 'astro-pagefind'
1+
import svelte from '@astrojs/svelte'
62
import { defineConfig } from 'astro/config'
73
import integration from 'fulldev-ui/integration'
84

95
// https://astro.build/config
106
export default defineConfig({
11-
site: 'https://ui.full.dev',
7+
devToolbar: {
8+
enabled: false,
9+
},
1210
integrations: [
13-
sitemap(),
14-
mdx(),
15-
pagefind(),
16-
17-
liveCode({
18-
layout: '/src/components/experimental/Window.astro',
19-
}),
2011
integration({
12+
company: 'Fulldev UI',
13+
favicon: 'public/images/favicon.svg',
2114
css: '/src/css/custom.css',
22-
colors: {
23-
theme: 'dark',
24-
light: {
25-
background: '#fff',
26-
base: '#6F6D66',
27-
brand: '#F50',
28-
},
29-
dark: {
30-
background: '#111110',
31-
base: '#6F6D66',
32-
brand: '#F50',
33-
},
34-
},
15+
injectRoutes: false,
3516
}),
17+
svelte(),
3618
],
37-
redirects: {
38-
'/discord': 'https://discord.gg/vXZqMbadm8',
39-
'/segment/card': '/base/card',
40-
'/segment/section': '/base/section',
41-
'/segment/header': '/blocks/header',
42-
'/segment/footer': '/blocks/footer',
43-
},
19+
// redirects: {
20+
// '/overview/[...slug]': '/docs/[...slug]',
21+
// '/typography/[...slug]': '/docs/components/[...slug]',
22+
// '/structure/[...slug]': '/docs/structures/[...slug]',
23+
// '/blocks': '/docs/blocks/banner/',
24+
// },
4425
})

cloudcannon.config.yml

Lines changed: 204 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,204 @@
1+
paths:
2+
static: public
3+
uploads: public/images
4+
5+
collection_groups:
6+
- heading: Content
7+
collections:
8+
- pages
9+
- records
10+
- heading: Settings
11+
collections:
12+
- layouts
13+
14+
collections_config:
15+
pages:
16+
path: src/content/pages
17+
url: /[full_slug]/
18+
disable_add_folder: true
19+
_enabled_editors:
20+
- visual
21+
- content
22+
schemas:
23+
page:
24+
remove_extra_inputs: false
25+
remove_empty_inputs: true
26+
hide_extra_inputs: true
27+
path: schemas/page.md
28+
job:
29+
remove_extra_inputs: false
30+
remove_empty_inputs: true
31+
hide_extra_inputs: true
32+
path: schemas/job.md
33+
jobs:
34+
remove_extra_inputs: false
35+
remove_empty_inputs: true
36+
hide_extra_inputs: true
37+
path: schemas/jobs.md
38+
post:
39+
remove_extra_inputs: false
40+
remove_empty_inputs: true
41+
hide_extra_inputs: true
42+
path: schemas/post.md
43+
records:
44+
path: src/content/records
45+
name: Records
46+
disable_url: true
47+
disable_add_folder: true
48+
_enabled_editors:
49+
- data
50+
layouts:
51+
path: src/content/layouts
52+
name: Layouts
53+
icon: web
54+
disable_url: true
55+
disable_add: true
56+
disable_add_folder: true
57+
disable_file_actions: true
58+
_enabled_editors:
59+
- data
60+
_inputs:
61+
pages:
62+
type: multiselect
63+
label: Categorieën
64+
options:
65+
values: collections.pages
66+
categories:
67+
type: multiselect
68+
label: Categorieën
69+
options:
70+
values: collections.pages
71+
href:
72+
type: url
73+
label: Link
74+
rating:
75+
label: Rating
76+
type: range
77+
options:
78+
min: 0
79+
max: 5
80+
step: 0.1
81+
head:
82+
label: SEO / Settings
83+
head.title:
84+
label: SEO title
85+
comment: 50-60 characters
86+
head.description:
87+
label: SEO description
88+
comment: 50-120 characters
89+
head.image:
90+
type: image
91+
label: Image
92+
comment: Visible when you share a link of the page
93+
options:
94+
accepts_mime_types: image/jpeg,image/jpg,image/png,image/webp
95+
mime_type: image/png
96+
resize_style: contain
97+
width: 1200
98+
height: 640
99+
images:
100+
type: array
101+
cascade: true
102+
images[*]:
103+
type: image
104+
options:
105+
accepts_mime_types: image/jpeg,image/jpg,image/png,image/webp
106+
mime_type: image/webp
107+
resize_style: contain
108+
width: 1920
109+
height: 1920
110+
image:
111+
type: image
112+
label: Afbeelding
113+
options:
114+
accepts_mime_types: image/jpeg,image/jpg,image/png,image/webp
115+
mime_type: image/webp
116+
resize_style: contain
117+
width: 1920
118+
height: 1920
119+
list:
120+
type: array
121+
list[*]:
122+
type: text
123+
hidden:
124+
label: Hide
125+
type: switch
126+
soldout:
127+
label: Sold out
128+
type: switch
129+
draft:
130+
label: Draft
131+
type: switch
132+
order:
133+
label: Volgorde
134+
type: number
135+
paragraph:
136+
type: textarea
137+
label: Tekst
138+
text:
139+
type: textarea
140+
label: Tekst
141+
button.text:
142+
type: text
143+
options:
144+
type: array
145+
label: Opties
146+
options[*]:
147+
type: text
148+
variations:
149+
type: array
150+
label: Variations
151+
sizes:
152+
type: array
153+
label: Sizes
154+
sizes[*]:
155+
type: text
156+
logo:
157+
type: image
158+
cascade: true
159+
options:
160+
accepts_mime_types: image/jpeg,image/jpg,image/png,image/webp
161+
mime_type: image/webp
162+
resize_style: contain
163+
width: 260
164+
height: 32
165+
price:
166+
type: number
167+
content:
168+
type: html
169+
name:
170+
hidden: true
171+
id:
172+
hidden: true
173+
174+
_structures:
175+
head:
176+
remove_empty_inputs: true
177+
id_key: title
178+
values:
179+
- label: SEO / Settings
180+
value:
181+
title: null
182+
description: null
183+
image: null
184+
code: null
185+
_editables:
186+
content:
187+
allow_custom_markup: false
188+
remove_custom_markup: false
189+
bold: true
190+
bulletedlist: true
191+
format: p h1 h2 h3 h4 h5 h6
192+
image: true
193+
image_size_attributes: true
194+
italic: true
195+
link: true
196+
numberedlist: true
197+
redo: true
198+
table: true
199+
underline: true
200+
undo: true
201+
mime_type: image/webp
202+
resize_style: contain
203+
width: 1920
204+
height: 1920

0 commit comments

Comments
 (0)