Skip to content

Commit

Permalink
Merge pull request #1 from EngJurado/Move-to-Flask
Browse files Browse the repository at this point in the history
Move to flask
  • Loading branch information
EngJurado authored Jul 9, 2024
2 parents 049389e + 2cc48f2 commit 2452286
Show file tree
Hide file tree
Showing 72 changed files with 192 additions and 63,308 deletions.
28 changes: 0 additions & 28 deletions 404.html

This file was deleted.

79 changes: 63 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,86 @@
# Linktree

# My own social media reference landing page

![PythonAnywhere](https://img.shields.io/badge/pythonanywhere-%232F9FD7.svg?style=for-the-badge&logo=pythonanywhere&logoColor=151515)
![Flask](https://img.shields.io/badge/flask-%23000.svg?style=for-the-badge&logo=flask&logoColor=white)
![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54)
![HTML5](https://img.shields.io/badge/html5-%23E34F26.svg?style=for-the-badge&logo=html5&logoColor=white)
![CSS3](https://img.shields.io/badge/css3-%231572B6.svg?style=for-the-badge&logo=css3&logoColor=white)
![Bootstrap](https://img.shields.io/badge/bootstrap-%238511FA.svg?style=for-the-badge&logo=bootstrap&logoColor=white)

This is own social media reference landing page, it's deployed on GitHub Pages, and it use Bootstrap 5 and Font Awesome.

## Acknowledgements
This project is a personal social media reference landing page, designed to mimic the functionality of Linktree. It allows users to create a single page with links to their various social media profiles and other important URLs. This version is deployed on PythonAnywhere and utilizes Flask for the backend, Bootstrap for responsive design, and Font Awesome for icons.

- [Bootstrap](https://getbootstrap.com/)
- [Font Awesome](https://fontawesome.com/)
- [GitHub Pages](https://pages.github.com/)
## Getting Started

To get a local copy up and running follow these simple steps.

## Authors
### Prerequisites

- [@EngJurado](https://github.com/EngJurado)
Before you begin, ensure you have met the following requirements:
- Python 3.6 or later
- pip (Python package installer)

## Demo
### Installation

1. Clone the repository to your local machine:
```
git clone https://github.com/EngJurado/Linktree
```
2. Navigate to the project directory:
```
cd linktree
```
3. Install the required packages:
```
pip install -r requirements.txt
```
4. Run the application with the following command in the root directory:
```
flask --app app run --debug
```

[Click here to see the website.](https://engjurado.github.io/)
### Usage or Getting Started Instructions

## Features
- Modify the image in `/static/img` to personalize your page.
- Update `app.py` with your name, description, tags, and social links to customize your landing page.

- Instant social access with one tap!
- Mobile-Friendly Design
- Responsive Web Design
## Technologies Used

This project is built with:
- Flask==3.0.3
- Bootstrap==5.3.3
- Font Awesome==6.5.2
- Additional dependencies:
- asarPy==1.0.1
- blinker==1.8.2
- click==8.1.7
- itsdangerous==2.2.0
- Jinja2==3.1.4
- MarkupSafe==2.1.5
- Werkzeug==3.0.3

## Contributing

We welcome contributions! For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

## Authors

- **Carlos Jurado**

## Acknowledgments

- Flask, for the web framework.
- Bootstrap and Font Awesome, for the design and icons.
- Everyone who contributed to the libraries and frameworks used.

## Demo

[Click here to see the website.](http://engjurado.pythonanywhere.com/)

## Feedback

If you have any feedback, please reach out to me at [email protected]


## License

[![Licence](https://img.shields.io/github/license/Ileriayo/markdown-badges?style=for-the-badge)](./LICENSE)
41 changes: 41 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
from flask import Flask, render_template, url_for

app = Flask(__name__)

@app.route('/')
def index():
name = 'Carlos Jurado'
tags = 'Bioengineering | Brain modulation | Artificial Intelligence'
description = "Bioengineer with a passion for neuromodulation, machine learning, and data analysis. Currently pursuing a Master's degree in Artificial Intelligence. Experienced in providing clinical support for neuromodulation surgeries and programming neurostimulators. Skilled in patient education, surgical support, medical devices, and leadership."
links = [
{
'name': 'GitHub',
'url': 'https://github.com/EngJurado',
'icon': 'fa-github'
},
{
'name': 'LinkedIn',
'url': 'https://www.linkedin.com/in/engjurado/',
'icon': 'fa-linkedin'
},
{
'name': 'Telegram',
'url': 'https://telegram.me/engjurado',
'icon': 'fa-telegram'
},
{
'name': 'Twitter',
'url': 'https://twitter.com/EngJurado',
'icon': 'fa-twitter'
}
]
return render_template('index.html', name = name, tags = tags, description = description, links = links)

@app.route("/<path:error404>")
def error404(error404):
name = 'Error 404'
description = 'This page could not be found'
return render_template('404.html', name = name, description = description)

if __name__ == '__main__':
app.run()
Loading

0 comments on commit 2452286

Please sign in to comment.