Skip to content

Commit

Permalink
Merge pull request #107 from fulldotdev/0.6
Browse files Browse the repository at this point in the history
0.6
  • Loading branch information
silveltman authored Dec 22, 2024
2 parents faa7951 + 1024adc commit 5af192e
Show file tree
Hide file tree
Showing 420 changed files with 11,709 additions and 12,248 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
URL=https://localhost:4321
STRIPE_SECRET_KEY=
STRIPE_RESTRICTED_KEY=
1 change: 1 addition & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ singleAttributePerLine: true
plugins:
- 'prettier-plugin-css-order'
- 'prettier-plugin-astro'
- 'prettier-plugin-tailwindcss'
- 'prettier-plugin-organize-imports' # Must be last
- 'prettier-plugin-astro-organize-imports' # Must be last last
overrides:
Expand Down
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@
"files.associations": {
"*.astro": "astro"
},
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.preferences.importModuleSpecifier": "non-relative"
}
14 changes: 10 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,25 @@ Here lay a few resources we wrote to help you do it!
│ ├── content/
│ │ ├── pages/
│ │ │ └── ...
│ │ ├── settings/
│ │ ├── presets/
│ │ │ └── ...
│ │ └── ...
│ ├── css/
│ │ └── ...
│ ├── images/
│ │ └── ...
│ ├── integration/
│ │ └── ...
│ ├── layouts/
│ │ └── ...
│ ├── loaders/
│ │ └── ...
│ ├── pages/
│ │ └── ...
│ ├── schemas/
│ │ └── ...
│ ├── types/
│ │ └── ...
│ └── utils/
│ └── ...
├── public/
Expand Down Expand Up @@ -101,9 +107,9 @@ For a faster and easier review we advise you to use [conventional commits](https
Have you used fulldev-ui to build a website? Add it to the showcase!

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

## Community / Contact

Expand Down
47 changes: 14 additions & 33 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,44 +1,25 @@
import mdx from '@astrojs/mdx'
import sitemap from '@astrojs/sitemap'
// @ts-ignore
import liveCode from 'astro-live-code'
import pagefind from 'astro-pagefind'
import svelte from '@astrojs/svelte'
import { defineConfig } from 'astro/config'
import integration from 'fulldev-ui/integration'

// https://astro.build/config
export default defineConfig({
site: 'https://ui.full.dev',
devToolbar: {
enabled: false,
},
integrations: [
sitemap(),
mdx(),
pagefind(),

liveCode({
layout: '/src/components/experimental/Window.astro',
}),
integration({
company: 'Fulldev UI',
favicon: 'public/images/favicon.svg',
css: '/src/css/custom.css',
colors: {
theme: 'dark',
light: {
background: '#fff',
base: '#6F6D66',
brand: '#F50',
},
dark: {
background: '#111110',
base: '#6F6D66',
brand: '#F50',
},
},
injectRoutes: false,
}),
svelte(),
],
redirects: {
'/discord': 'https://discord.gg/vXZqMbadm8',
'/segment/card': '/base/card',
'/segment/section': '/base/section',
'/segment/header': '/blocks/header',
'/segment/footer': '/blocks/footer',
},
// redirects: {
// '/overview/[...slug]': '/docs/[...slug]',
// '/typography/[...slug]': '/docs/components/[...slug]',
// '/structure/[...slug]': '/docs/structures/[...slug]',
// '/blocks': '/docs/blocks/banner/',
// },
})
204 changes: 204 additions & 0 deletions cloudcannon.config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
paths:
static: public
uploads: public/images

collection_groups:
- heading: Content
collections:
- pages
- records
- heading: Settings
collections:
- layouts

collections_config:
pages:
path: src/content/pages
url: /[full_slug]/
disable_add_folder: true
_enabled_editors:
- visual
- content
schemas:
page:
remove_extra_inputs: false
remove_empty_inputs: true
hide_extra_inputs: true
path: schemas/page.md
job:
remove_extra_inputs: false
remove_empty_inputs: true
hide_extra_inputs: true
path: schemas/job.md
jobs:
remove_extra_inputs: false
remove_empty_inputs: true
hide_extra_inputs: true
path: schemas/jobs.md
post:
remove_extra_inputs: false
remove_empty_inputs: true
hide_extra_inputs: true
path: schemas/post.md
records:
path: src/content/records
name: Records
disable_url: true
disable_add_folder: true
_enabled_editors:
- data
layouts:
path: src/content/layouts
name: Layouts
icon: web
disable_url: true
disable_add: true
disable_add_folder: true
disable_file_actions: true
_enabled_editors:
- data
_inputs:
pages:
type: multiselect
label: Categorieën
options:
values: collections.pages
categories:
type: multiselect
label: Categorieën
options:
values: collections.pages
href:
type: url
label: Link
rating:
label: Rating
type: range
options:
min: 0
max: 5
step: 0.1
head:
label: SEO / Settings
head.title:
label: SEO title
comment: 50-60 characters
head.description:
label: SEO description
comment: 50-120 characters
head.image:
type: image
label: Image
comment: Visible when you share a link of the page
options:
accepts_mime_types: image/jpeg,image/jpg,image/png,image/webp
mime_type: image/png
resize_style: contain
width: 1200
height: 640
images:
type: array
cascade: true
images[*]:
type: image
options:
accepts_mime_types: image/jpeg,image/jpg,image/png,image/webp
mime_type: image/webp
resize_style: contain
width: 1920
height: 1920
image:
type: image
label: Afbeelding
options:
accepts_mime_types: image/jpeg,image/jpg,image/png,image/webp
mime_type: image/webp
resize_style: contain
width: 1920
height: 1920
list:
type: array
list[*]:
type: text
hidden:
label: Hide
type: switch
soldout:
label: Sold out
type: switch
draft:
label: Draft
type: switch
order:
label: Volgorde
type: number
paragraph:
type: textarea
label: Tekst
text:
type: textarea
label: Tekst
button.text:
type: text
options:
type: array
label: Opties
options[*]:
type: text
variations:
type: array
label: Variations
sizes:
type: array
label: Sizes
sizes[*]:
type: text
logo:
type: image
cascade: true
options:
accepts_mime_types: image/jpeg,image/jpg,image/png,image/webp
mime_type: image/webp
resize_style: contain
width: 260
height: 32
price:
type: number
content:
type: html
name:
hidden: true
id:
hidden: true

_structures:
head:
remove_empty_inputs: true
id_key: title
values:
- label: SEO / Settings
value:
title: null
description: null
image: null
code: null
_editables:
content:
allow_custom_markup: false
remove_custom_markup: false
bold: true
bulletedlist: true
format: p h1 h2 h3 h4 h5 h6
image: true
image_size_attributes: true
italic: true
link: true
numberedlist: true
redo: true
table: true
underline: true
undo: true
mime_type: image/webp
resize_style: contain
width: 1920
height: 1920
Loading

0 comments on commit 5af192e

Please sign in to comment.