Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #6

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## Details

- blablabla

## Branch name and dependency

- feature/xxx
- No dependency

## Note or Reference

- blablabla
50 changes: 50 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
## PR to close at the same time

- URL

## Changes

### List changes you made

1. Removed `blablabla` column
2.

### Explain why you made those changes

1. Because we no longer need the column with the new feature implemented in this PR
2.

## Checklist

- [ ] No conflict?
- [ ] Postman request added if new endpoint's implemented?
- If no, reason:
- [ ] Spec added for new feature?
- If no, reason:
- [ ] Spec passed?
- If no, reason:
- [ ] Lint your code?
- If no, reason:
- [ ] Tested in a shared environment?
- If no, reason:

## Environment to test

- [ ] local env
- [ ] testing
- [ ] staging

## Steps to reproduce

1.
2.

## Points to reviews

- things reviewers need to look into

## Evidence

### Before

### After
21 changes: 21 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Changes

### 🚀 Feature/Enhancement

-

### 🧯 Bug fix

-

### 💊 Refactoring

-

## Document

- [Some page in Confluence](https://namespace-inc.atlassian.net/wiki/spaces/NI/pages/xxxxxxx)

## Note

- Some note
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
node_modules/
node_modules/
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.7.0
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

62 changes: 24 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,37 @@
## [Landwind - Tailwind CSS Landing Page](https://demo.themesberg.com/landwind/)
# [Techbrain Landing Page](https://namespace-team.github.io/techbrain-website)

<a href="https://demo.themesberg.com/landwind/" rel="Tailwind CSS Landing Page">![Tailwind CSS Landing Page Demo - Flowbite](https://themesberg.s3.us-east-2.amazonaws.com/public/github/landwind/thumbnail.png)</a>
![Node.js Version](https://img.shields.io/badge/node-18.7.0-brightgreen)

Landwind is a free and open-source landing page built for SaaS and product websites based on the Tailwind CSS utility-first framework and the Flowbite Component Library featuring a hero section, customer logos, feature sections, testimonials, pricing cards, FAQ section, pre-footer CTA button and a footer.
# Requirements

Built with ❤️ by [Themesberg](https://themesberg.com) based on Tailwind CSS and Flowbite.
- [Node.js](https://nodejs.org/en/)

## Live preview
## Installation

Check out a live demo by clicking here:
1. Clone the repository:
```shell
git clone [email protected]:namespace-team/techbrain-website.git
```

🔗 [Landwind live preview](https://demo.themesberg.com/landwind/) (🌗 switch on dark mode using your computer preferences)
2. Run `yarn install` inside your terminal

## Getting started
3. Watch for changes in style:
```shell
yarn watch
```

Make sure that you have [Node.js](https://nodejs.org/en/), [Tailwind CSS](https://tailwindcss.com/docs/installation) and [Flowbite](https://flowbite.com/docs/getting-started/quickstart/) installed.
4. Start the server.
```shell
yarn start
```

1. Run `npm install` inside your terminal
5. Open your browser and navigate to http://127.0.0.1:3000.

2. Watch for files and compile Tailwind CSS + Flowbite:

```
npx tailwindcss -i ./input.css -o ./output.css --watch
```
## Compiling into HTML

3. To deploy you will only need the `index.html` file and the `output.css` styles.
To compile an EJS file into HTML, you can use the following command:

Alternatively you can also just directly copy this code into your own projects, whether you use Laravel, React, Vue.js or other frameworks.

## Figma design file

We have also built a free Figma design file that you can duplicate from the community website:

👉 [Landwind - Figma Landing Page](https://www.figma.com/community/file/1125744163617429490)

## Built with Tailwind CSS and Flowbite

This landing page was built using the following technologies:

- 🔗 [Tailwind CSS](https://tailwindcss.com/)
- 🔗 [Flowbite Library](https://flowbite.com/docs/getting-started/introduction/)
- 🔗 [Flowbite Blocks](https://flowbite.com/blocks/)

## About us

We build free and premium themes with technologies such as Bootstrap, React, Tailwind, Vue, Laravel and more over at [Themesberg](https://themesberg.com).

## License

This project is open source under the MIT license.
```shell
yarn run build
```
Binary file modified android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 0 additions & 9 deletions browserconfig.xml

This file was deleted.

28 changes: 28 additions & 0 deletions build.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
const ejs = require('ejs');
const fs = require('fs');
const path = require('path');

const htmlFilePath = path.join(__dirname, 'index.html');
const indexEjsFilePath = path.join(__dirname, 'views', 'ejs', 'index.ejs');

// Function to compile the index.ejs file
const compileIndexEjs = () => {
if (fs.existsSync(indexEjsFilePath)) {
const ejsContent = fs.readFileSync(indexEjsFilePath, 'utf-8');
fs.mkdirSync(path.dirname(htmlFilePath), { recursive: true });

var html = ejs.render(ejsContent, { filename: indexEjsFilePath });

html = html.replace(/"images/g, '"public/images');
html = html.replace('/css/output.css', 'public/css/output.css');
html = html.replace('/js', 'public/js');

fs.writeFileSync(htmlFilePath, html, 'utf-8');

console.log(`Compiled ${indexEjsFilePath} to ${htmlFilePath}`);
} else {
console.error('index.ejs file not found.');
}
};

compileIndexEjs();
Binary file modified favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified favicon.ico
Binary file not shown.
Loading