Galaxy Configuration
Adding your API key to your env
Easily add your FutureThemes API key to your environment variables to unlock the full version of Galaxy!
Configuring Galaxy
Configuration options
siteName
string
This is the name of your site. This will get appended to the page title for each page
On each page your page title will now contain your site name:
logo
logo
allows you to specify your own logo to be used on your site.
You can specify just one logo:
Or you can specify a light and dark version.
navigation
navigation
allows you to specify all your navigation options through config.
You can specify your top nav, your footer, and also your mobile navigation menu!
nav
navigation.nav
is where you set your top navigation links.
label
string
This is the label of your menu item.
href
string
This is the href for your menu item.
mobile
navigation.mobile
is where you set your mobile navigation links.
mobile
expects an array of objects.
label
string
This is the label of your menu item.
href
string
This is the href for your menu item.
asButton
boolean
This option allows you to specify a menu item should appear as a button rather than a plain link.
head
HeadSchema[]
This option allows you to set tags in your site’s <head>
.
This is useful for analytics scripts, favicons and other icons too.
Or even add a favicon!
HeadSchema
footer
navigation.footer
is where you set your footer navigation links.
The footer
config is slightly different in it takes an object which specifies a “section” too.
So in this case, you’ll have two “section” in your footer nav, Pages
and Our Company
.
And underneath them you’ll have the links specified by key, value pair!
socials
Here you can specify links to your social accounts that will appear in the top nav and footer.
Available socials:
instagram
youtube
x
emailProvider
SendGrid
| EmailJS
Here you can specify whether you would like your contact form to send emails through SendGrid or EmailJS.
In order to use either email provider, you also must include several environment variables to connect to their services.
SendGrid
EmailJS
starSpeed
none
| slow
| normal
| fast
Sets the initial speed of the star field background of the site.
There’s four speeds:
none
- This stops the stars moving completely.slow
- Slow speednormal
- Normal speedfast
- Fast speed