A svelte program that is used to build the landing page for Pathivu
The web page is built on a structure that uses custom sections and each section uses multiple elements.
All files are Svelte based and they can be imported into another svelte page to be used as elements. For example
import ElementName from "./elements/ElementName.svelte"
This helps you use the element in the svelte file as elements or even sections. Each element has it's own properties that can be passed to make sure that no specific customization is needed. For Example
<ElementName propertyName="PropertyValue" />
-
Create buttons with ease, For Example
<ButtonHolder buttonText="Try Now" backgroundColor="#1E2F3E" textColor="#00A8B0" buttonImage="./images/right-arrow.svg" action="https://dashboard.pathivu.io" />
-
buttonText
-
backgroundColor
-
textColor
-
buttonImage
-
action
-
-
Create buttons with ease, For Example
<Paragraph content="We love the people who love us, come spread love <3" alignText="center" />
-
content
-
alignText
-
-
Create buttons with ease, For Example
<LargeHeading beforeMarkedValue="The only" markedValue="logging" afterMarkedValue="platform you need" alignText="left" />
-
beforeMarkedValue
-
markedValue
-
afterMarkedValue
-
alignText
-
-
Create buttons with ease, For Example
<InformationCard iconColor="#00A8B0" iconBackgroundColor="#1E2F3E" paragraphText="A couple of line about the feature will help the person understand better" headingText="Log tailing" imageURL="./images/log-tailing.svg" />
-
iconColor
-
markedValue
-
paragraphText
-
headingText
-
imageURL
-
Well it's fairly simple, clone the repository using the command
git clone [email protected]:pathivu/pathivu-landing-web.git
and cd into the repository folder
cd pathivu-landing-web
Now comes the svelte part, you start of with initialising all the files so that you can run the testing part.
npm install
Get started with development.
While developing just run, you will have auto refreshing sysetm deployed to localhost:5000
npm run dev
You can deploy on netlify by pointing to public folder and giving the command to run as npm run build.
Or if you want to take the local files to your server directly, just run
npm run build
and your files will be in the public folder, compiled.